Exemple #1
0
 /// <summary>
 /// Initializes a new instance of the BlobInventoryPolicy class.
 /// </summary>
 /// <param name="policy">The storage account blob inventory policy
 /// object. It is composed of policy rules.</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="lastModifiedTime">Returns the last modified date and
 /// time of the blob inventory policy.</param>
 /// <param name="systemData"></param>
 public BlobInventoryPolicy(BlobInventoryPolicySchema policy, string id = default(string), string name = default(string), string type = default(string), System.DateTime?lastModifiedTime = default(System.DateTime?), SystemData systemData = default(SystemData))
     : base(id, name, type)
 {
     LastModifiedTime = lastModifiedTime;
     Policy           = policy;
     SystemData       = systemData;
     CustomInit();
 }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of the BlobInventoryPolicy class.
 /// </summary>
 public BlobInventoryPolicy()
 {
     Policy = new BlobInventoryPolicySchema();
     CustomInit();
 }