PolicyContract Constructors
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
PolicyContract() |
Initializes a new instance of the PolicyContract class. |
PolicyContract(String, String, String, String, String) |
Initializes a new instance of the PolicyContract class. |
Initializes a new instance of the PolicyContract class.
public PolicyContract ();
Public Sub New ()
Applies to
Initializes a new instance of the PolicyContract class.
public PolicyContract (string value, string id = default, string name = default, string type = default, string format = default);
new Microsoft.Azure.Management.ApiManagement.Models.PolicyContract : string * string * string * string * string -> Microsoft.Azure.Management.ApiManagement.Models.PolicyContract
Public Sub New (value As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional format As String = Nothing)
Parameters
- value
- String
Contents of the Policy as defined by the format.
- id
- String
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name
- String
The name of the resource
- type
- String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- format
- String
Format of the policyContent. Possible values include: 'xml', 'xml-link', 'rawxml', 'rawxml-link'
Applies to
Azure SDK for .NET-feedback
Azure SDK for .NET is een open source project. Selecteer een koppeling om feedback te geven: