ArmApiManagementModelFactory.PolicyRestrictionContractData Method
Definition
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.
Initializes a new instance of PolicyRestrictionContractData.
public static Azure.ResourceManager.ApiManagement.PolicyRestrictionContractData PolicyRestrictionContractData(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string scope = default, Azure.ResourceManager.ApiManagement.Models.PolicyRestrictionRequireBase? requireBase = default);
static member PolicyRestrictionContractData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<Azure.ResourceManager.ApiManagement.Models.PolicyRestrictionRequireBase> -> Azure.ResourceManager.ApiManagement.PolicyRestrictionContractData
Public Shared Function PolicyRestrictionContractData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional scope As String = Nothing, Optional requireBase As Nullable(Of PolicyRestrictionRequireBase) = Nothing) As PolicyRestrictionContractData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- scope
- String
Path to the policy document.
- requireBase
- Nullable<PolicyRestrictionRequireBase>
Indicates if base policy should be enforced for the policy document.
Returns
A new PolicyRestrictionContractData instance for mocking.