コード例 #1
0
ファイル: App.cs プロジェクト: maririos/azure-sdk-for-net
 /// <summary>
 /// Initializes a new instance of the App class.
 /// </summary>
 /// <param name="location">The resource location.</param>
 /// <param name="sku">A valid instance SKU.</param>
 /// <param name="id">The ARM resource identifier.</param>
 /// <param name="name">The ARM resource name.</param>
 /// <param name="type">The resource type.</param>
 /// <param name="tags">The resource tags.</param>
 /// <param name="applicationId">The ID of the application.</param>
 /// <param name="displayName">The display name of the
 /// application.</param>
 /// <param name="subdomain">The subdomain of the application.</param>
 /// <param name="template">The ID of the application template, which is
 /// a blueprint that defines the characteristics and behaviors of an
 /// application. Optional; if not specified, defaults to a blank
 /// blueprint and allows the application to be defined from
 /// scratch.</param>
 /// <param name="state">The current state of the application. Possible
 /// values include: 'created', 'suspended'</param>
 /// <param name="identity">The managed identities for the IoT Central
 /// application.</param>
 public App(string location, AppSkuInfo sku, string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), string applicationId = default(string), string displayName = default(string), string subdomain = default(string), string template = default(string), string state = default(string), SystemAssignedServiceIdentity identity = default(SystemAssignedServiceIdentity))
     : base(location, id, name, type, tags)
 {
     ApplicationId = applicationId;
     DisplayName   = displayName;
     Subdomain     = subdomain;
     Template      = template;
     State         = state;
     Sku           = sku;
     Identity      = identity;
     CustomInit();
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the AppPatch class.
 /// </summary>
 /// <param name="tags">Instance tags</param>
 /// <param name="sku">A valid instance SKU.</param>
 /// <param name="applicationId">The ID of the application.</param>
 /// <param name="displayName">The display name of the
 /// application.</param>
 /// <param name="subdomain">The subdomain of the application.</param>
 /// <param name="template">The ID of the application template, which is
 /// a blueprint that defines the characteristics and behaviors of an
 /// application. Optional; if not specified, defaults to a blank
 /// blueprint and allows the application to be defined from
 /// scratch.</param>
 /// <param name="state">The current state of the application. Possible
 /// values include: 'created', 'suspended'</param>
 /// <param name="identity">The managed identities for the IoT Central
 /// application.</param>
 public AppPatch(IDictionary <string, string> tags = default(IDictionary <string, string>), AppSkuInfo sku = default(AppSkuInfo), string applicationId = default(string), string displayName = default(string), string subdomain = default(string), string template = default(string), string state = default(string), SystemAssignedServiceIdentity identity = default(SystemAssignedServiceIdentity))
 {
     Tags          = tags;
     Sku           = sku;
     ApplicationId = applicationId;
     DisplayName   = displayName;
     Subdomain     = subdomain;
     Template      = template;
     State         = state;
     Identity      = identity;
     CustomInit();
 }