コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the SecurityPolicy class.
 /// </summary>
 /// <param name="id">Resource ID.</param>
 /// <param name="name">Resource name.</param>
 /// <param name="type">Resource type.</param>
 /// <param name="provisioningState">Provisioning status. Possible
 /// values include: 'Succeeded', 'Failed', 'Updating', 'Deleting',
 /// 'Creating'</param>
 /// <param name="deploymentStatus">Possible values include:
 /// 'NotStarted', 'InProgress', 'Succeeded', 'Failed'</param>
 /// <param name="parameters">object which contains security policy
 /// parameters</param>
 public SecurityPolicy(string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), string provisioningState = default(string), string deploymentStatus = default(string), SecurityPolicyParameters parameters = default(SecurityPolicyParameters))
     : base(id, name, type, systemData)
 {
     ProvisioningState = provisioningState;
     DeploymentStatus  = deploymentStatus;
     Parameters        = parameters;
     CustomInit();
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the SecurityPolicyProperties class.
 /// </summary>
 /// <param name="provisioningState">Provisioning status. Possible
 /// values include: 'Succeeded', 'Failed', 'Updating', 'Deleting',
 /// 'Creating'</param>
 /// <param name="deploymentStatus">Possible values include:
 /// 'NotStarted', 'InProgress', 'Succeeded', 'Failed'</param>
 /// <param name="parameters">object which contains security policy
 /// parameters</param>
 public SecurityPolicyProperties(string provisioningState = default(string), string deploymentStatus = default(string), SecurityPolicyParameters parameters = default(SecurityPolicyParameters))
     : base(provisioningState, deploymentStatus)
 {
     Parameters = parameters;
     CustomInit();
 }