コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the LiveEvent class.
 /// </summary>
 /// <param name="input">The Live Event input.</param>
 /// <param name="id">Fully qualified resource ID for the
 /// resource.</param>
 /// <param name="name">The name of the resource.</param>
 /// <param name="type">The type of the resource.</param>
 /// <param name="tags">Resource tags.</param>
 /// <param name="location">The Azure Region of the resource.</param>
 /// <param name="description">The Live Event description.</param>
 /// <param name="preview">The Live Event preview.</param>
 /// <param name="encoding">The Live Event encoding.</param>
 /// <param name="provisioningState">The provisioning state of the Live
 /// Event.</param>
 /// <param name="resourceState">The resource state of the Live Event.
 /// Possible values include: 'Stopped', 'Starting', 'Running',
 /// 'Stopping', 'Deleting'</param>
 /// <param name="crossSiteAccessPolicies">The Live Event access
 /// policies.</param>
 /// <param name="vanityUrl">Specifies whether to use a vanity url with
 /// the Live Event.  This value is specified at creation time and
 /// cannot be updated.</param>
 /// <param name="streamOptions">The options to use for the LiveEvent.
 /// This value is specified at creation time and cannot be
 /// updated.</param>
 /// <param name="created">The exact time the Live Event was
 /// created.</param>
 /// <param name="lastModified">The exact time the Live Event was last
 /// modified.</param>
 public LiveEvent(LiveEventInput input, string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), string location = default(string), string description = default(string), LiveEventPreview preview = default(LiveEventPreview), LiveEventEncoding encoding = default(LiveEventEncoding), string provisioningState = default(string), LiveEventResourceState?resourceState = default(LiveEventResourceState?), CrossSiteAccessPolicies crossSiteAccessPolicies = default(CrossSiteAccessPolicies), bool?vanityUrl = default(bool?), IList <StreamOptionsFlag?> streamOptions = default(IList <StreamOptionsFlag?>), System.DateTime?created = default(System.DateTime?), System.DateTime?lastModified = default(System.DateTime?))
     : base(id, name, type, tags, location)
 {
     Description             = description;
     Input                   = input;
     Preview                 = preview;
     Encoding                = encoding;
     ProvisioningState       = provisioningState;
     ResourceState           = resourceState;
     CrossSiteAccessPolicies = crossSiteAccessPolicies;
     VanityUrl               = vanityUrl;
     StreamOptions           = streamOptions;
     Created                 = created;
     LastModified            = lastModified;
     CustomInit();
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the LiveEvent class.
 /// </summary>
 /// <param name="location">The geo-location where the resource
 /// lives</param>
 /// <param name="input">Live event input settings. It defines how the
 /// live event receives input from a contribution encoder.</param>
 /// <param name="id">Fully qualified resource Id for the resource. Ex -
 /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}</param>
 /// <param name="name">The name of the resource</param>
 /// <param name="type">The type of the resource. Ex-
 /// Microsoft.Compute/virtualMachines or
 /// Microsoft.Storage/storageAccounts.</param>
 /// <param name="tags">Resource tags.</param>
 /// <param name="description">A description for the live event.</param>
 /// <param name="preview">Live event preview settings. Preview allows
 /// live event producers to preview the live streaming content without
 /// creating any live output.</param>
 /// <param name="encoding">Encoding settings for the live event. It
 /// configures whether a live encoder is used for the live event and
 /// settings for the live encoder if it is used.</param>
 /// <param name="transcriptions">Live transcription settings for the
 /// live event. See https://go.microsoft.com/fwlink/?linkid=2133742 for
 /// more information about the live transcription feature.</param>
 /// <param name="provisioningState">The provisioning state of the live
 /// event.</param>
 /// <param name="resourceState">The resource state of the live event.
 /// See https://go.microsoft.com/fwlink/?linkid=2139012 for more
 /// information. Possible values include: 'Stopped', 'Allocating',
 /// 'StandBy', 'Starting', 'Running', 'Stopping', 'Deleting'</param>
 /// <param name="crossSiteAccessPolicies">Live event cross site access
 /// policies.</param>
 /// <param name="useStaticHostname">Specifies whether a static hostname
 /// would be assigned to the live event preview and ingest endpoints.
 /// This value can only be updated if the live event is in Standby
 /// state</param>
 /// <param name="hostnamePrefix">When useStaticHostname is set to true,
 /// the hostnamePrefix specifies the first part of the hostname
 /// assigned to the live event preview and ingest endpoints. The final
 /// hostname would be a combination of this prefix, the media service
 /// account name and a short code for the Azure Media Services data
 /// center.</param>
 /// <param name="streamOptions">The options to use for the LiveEvent.
 /// This value is specified at creation time and cannot be updated. The
 /// valid values for the array entry values are 'Default' and
 /// 'LowLatency'.</param>
 /// <param name="created">The creation time for the live event</param>
 /// <param name="lastModified">The last modified time of the live
 /// event.</param>
 public LiveEvent(string location, LiveEventInput input, string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), string description = default(string), LiveEventPreview preview = default(LiveEventPreview), LiveEventEncoding encoding = default(LiveEventEncoding), IList <LiveEventTranscription> transcriptions = default(IList <LiveEventTranscription>), string provisioningState = default(string), LiveEventResourceState?resourceState = default(LiveEventResourceState?), CrossSiteAccessPolicies crossSiteAccessPolicies = default(CrossSiteAccessPolicies), bool?useStaticHostname = default(bool?), string hostnamePrefix = default(string), IList <StreamOptionsFlag?> streamOptions = default(IList <StreamOptionsFlag?>), System.DateTime?created = default(System.DateTime?), System.DateTime?lastModified = default(System.DateTime?))
     : base(location, id, name, type, tags)
 {
     Description             = description;
     Input                   = input;
     Preview                 = preview;
     Encoding                = encoding;
     Transcriptions          = transcriptions;
     ProvisioningState       = provisioningState;
     ResourceState           = resourceState;
     CrossSiteAccessPolicies = crossSiteAccessPolicies;
     UseStaticHostname       = useStaticHostname;
     HostnamePrefix          = hostnamePrefix;
     StreamOptions           = streamOptions;
     Created                 = created;
     LastModified            = lastModified;
     CustomInit();
 }
コード例 #3
0
 /// <summary>
 /// Initializes a new instance of the StreamingEndpoint class.
 /// </summary>
 /// <param name="location">The geo-location where the resource
 /// lives</param>
 /// <param name="scaleUnits">The number of scale units. Use the Scale
 /// operation to adjust this value.</param>
 /// <param name="id">Fully qualified resource Id for the resource. Ex -
 /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}</param>
 /// <param name="name">The name of the resource</param>
 /// <param name="type">The type of the resource. Ex-
 /// Microsoft.Compute/virtualMachines or
 /// Microsoft.Storage/storageAccounts.</param>
 /// <param name="tags">Resource tags.</param>
 /// <param name="description">The streaming endpoint
 /// description.</param>
 /// <param name="availabilitySetName">This feature is deprecated, do
 /// not set a value for this property.</param>
 /// <param name="accessControl">The access control definition of the
 /// streaming endpoint.</param>
 /// <param name="maxCacheAge">Max cache age</param>
 /// <param name="customHostNames">The custom host names of the
 /// streaming endpoint</param>
 /// <param name="hostName">The streaming endpoint host name.</param>
 /// <param name="cdnEnabled">The CDN enabled flag.</param>
 /// <param name="cdnProvider">The CDN provider name.</param>
 /// <param name="cdnProfile">The CDN profile name.</param>
 /// <param name="provisioningState">The provisioning state of the
 /// streaming endpoint.</param>
 /// <param name="resourceState">The resource state of the streaming
 /// endpoint. Possible values include: 'Stopped', 'Starting',
 /// 'Running', 'Stopping', 'Deleting', 'Scaling'</param>
 /// <param name="crossSiteAccessPolicies">The streaming endpoint access
 /// policies.</param>
 /// <param name="freeTrialEndTime">The free trial expiration
 /// time.</param>
 /// <param name="created">The exact time the streaming endpoint was
 /// created.</param>
 /// <param name="lastModified">The exact time the streaming endpoint
 /// was last modified.</param>
 public StreamingEndpoint(string location, int scaleUnits, string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), string description = default(string), string availabilitySetName = default(string), StreamingEndpointAccessControl accessControl = default(StreamingEndpointAccessControl), long?maxCacheAge = default(long?), IList <string> customHostNames = default(IList <string>), string hostName = default(string), bool?cdnEnabled = default(bool?), string cdnProvider = default(string), string cdnProfile = default(string), string provisioningState = default(string), StreamingEndpointResourceState?resourceState = default(StreamingEndpointResourceState?), CrossSiteAccessPolicies crossSiteAccessPolicies = default(CrossSiteAccessPolicies), System.DateTime?freeTrialEndTime = default(System.DateTime?), System.DateTime?created = default(System.DateTime?), System.DateTime?lastModified = default(System.DateTime?))
     : base(location, id, name, type, tags)
 {
     Description             = description;
     ScaleUnits              = scaleUnits;
     AvailabilitySetName     = availabilitySetName;
     AccessControl           = accessControl;
     MaxCacheAge             = maxCacheAge;
     CustomHostNames         = customHostNames;
     HostName                = hostName;
     CdnEnabled              = cdnEnabled;
     CdnProvider             = cdnProvider;
     CdnProfile              = cdnProfile;
     ProvisioningState       = provisioningState;
     ResourceState           = resourceState;
     CrossSiteAccessPolicies = crossSiteAccessPolicies;
     FreeTrialEndTime        = freeTrialEndTime;
     Created      = created;
     LastModified = lastModified;
     CustomInit();
 }