예제 #1
0
 /// <summary>
 /// Initializes a new instance of the WorkspacePatch class.
 /// </summary>
 /// <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="etag">Resource Etag.</param>
 /// <param name="provisioningState">The provisioning state of the
 /// workspace. Possible values include: 'Creating', 'Succeeded',
 /// 'Failed', 'Canceled', 'Deleting', 'ProvisioningAccount',
 /// 'Updating'</param>
 /// <param name="customerId">This is a read-only property. Represents
 /// the ID associated with the workspace.</param>
 /// <param name="sku">The SKU of the workspace.</param>
 /// <param name="retentionInDays">The workspace data retention in days.
 /// -1 means Unlimited retention for the Unlimited Sku. 730 days is the
 /// maximum allowed for all other Skus. </param>
 /// <param name="publicNetworkAccessForIngestion">The network access
 /// type for accessing Log Analytics ingestion. Possible values
 /// include: 'Enabled', 'Disabled'</param>
 /// <param name="publicNetworkAccessForQuery">The network access type
 /// for accessing Log Analytics query. Possible values include:
 /// 'Enabled', 'Disabled'</param>
 /// <param name="privateLinkScopedResources">List of linked private
 /// link scope resources.</param>
 /// <param name="tags">Resource tags. Optional.</param>
 public WorkspacePatch(string id = default(string), string name = default(string), string type = default(string), string etag = default(string), string provisioningState = default(string), string customerId = default(string), WorkspaceSku sku = default(WorkspaceSku), int?retentionInDays = default(int?), string publicNetworkAccessForIngestion = default(string), string publicNetworkAccessForQuery = default(string), IList <PrivateLinkScopedResource> privateLinkScopedResources = default(IList <PrivateLinkScopedResource>), IDictionary <string, string> tags = default(IDictionary <string, string>))
     : base(id, name, type, etag)
 {
     ProvisioningState = provisioningState;
     CustomerId        = customerId;
     Sku             = sku;
     RetentionInDays = retentionInDays;
     PublicNetworkAccessForIngestion = publicNetworkAccessForIngestion;
     PublicNetworkAccessForQuery     = publicNetworkAccessForQuery;
     PrivateLinkScopedResources      = privateLinkScopedResources;
     Tags = tags;
     CustomInit();
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the Workspace class.
 /// </summary>
 /// <param name="location">The geo-location where the resource
 /// lives</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. E.g.
 /// "Microsoft.Compute/virtualMachines" or
 /// "Microsoft.Storage/storageAccounts"</param>
 /// <param name="tags">Resource tags.</param>
 /// <param name="provisioningState">The provisioning state of the
 /// workspace. Possible values include: 'Creating', 'Succeeded',
 /// 'Failed', 'Canceled', 'Deleting', 'ProvisioningAccount',
 /// 'Updating'</param>
 /// <param name="customerId">This is a read-only property. Represents
 /// the ID associated with the workspace.</param>
 /// <param name="sku">The SKU of the workspace.</param>
 /// <param name="retentionInDays">The workspace data retention in days.
 /// Allowed values are per pricing plan. See pricing tiers
 /// documentation for details.</param>
 /// <param name="workspaceCapping">The daily volume cap for
 /// ingestion.</param>
 /// <param name="createdDate">Workspace creation date.</param>
 /// <param name="modifiedDate">Workspace modification date.</param>
 /// <param name="publicNetworkAccessForIngestion">The network access
 /// type for accessing Log Analytics ingestion. Possible values
 /// include: 'Enabled', 'Disabled'</param>
 /// <param name="publicNetworkAccessForQuery">The network access type
 /// for accessing Log Analytics query. Possible values include:
 /// 'Enabled', 'Disabled'</param>
 /// <param name="forceCmkForQuery">Indicates whether customer managed
 /// storage is mandatory for query management.</param>
 /// <param name="privateLinkScopedResources">List of linked private
 /// link scope resources.</param>
 /// <param name="features">Workspace features.</param>
 /// <param name="eTag">The ETag of the workspace.</param>
 public Workspace(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), string provisioningState = default(string), string customerId = default(string), WorkspaceSku sku = default(WorkspaceSku), int?retentionInDays = default(int?), WorkspaceCapping workspaceCapping = default(WorkspaceCapping), string createdDate = default(string), string modifiedDate = default(string), string publicNetworkAccessForIngestion = default(string), string publicNetworkAccessForQuery = default(string), bool?forceCmkForQuery = default(bool?), IList <PrivateLinkScopedResource> privateLinkScopedResources = default(IList <PrivateLinkScopedResource>), WorkspaceFeatures features = default(WorkspaceFeatures), string eTag = default(string))
     : base(location, id, name, type, tags)
 {
     ProvisioningState = provisioningState;
     CustomerId        = customerId;
     Sku              = sku;
     RetentionInDays  = retentionInDays;
     WorkspaceCapping = workspaceCapping;
     CreatedDate      = createdDate;
     ModifiedDate     = modifiedDate;
     PublicNetworkAccessForIngestion = publicNetworkAccessForIngestion;
     PublicNetworkAccessForQuery     = publicNetworkAccessForQuery;
     ForceCmkForQuery           = forceCmkForQuery;
     PrivateLinkScopedResources = privateLinkScopedResources;
     Features = features;
     ETag     = eTag;
     CustomInit();
 }