ArmPeeringModelFactory.PeeringRegisteredPrefixData 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 PeeringRegisteredPrefixData.
public static Azure.ResourceManager.Peering.PeeringRegisteredPrefixData PeeringRegisteredPrefixData(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string prefix = default, Azure.ResourceManager.Peering.Models.PeeringPrefixValidationState? prefixValidationState = default, string peeringServicePrefixKey = default, string errorMessage = default, Azure.ResourceManager.Peering.Models.PeeringProvisioningState? provisioningState = default);
static member PeeringRegisteredPrefixData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<Azure.ResourceManager.Peering.Models.PeeringPrefixValidationState> * string * string * Nullable<Azure.ResourceManager.Peering.Models.PeeringProvisioningState> -> Azure.ResourceManager.Peering.PeeringRegisteredPrefixData
Public Shared Function PeeringRegisteredPrefixData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional prefix As String = Nothing, Optional prefixValidationState As Nullable(Of PeeringPrefixValidationState) = Nothing, Optional peeringServicePrefixKey As String = Nothing, Optional errorMessage As String = Nothing, Optional provisioningState As Nullable(Of PeeringProvisioningState) = Nothing) As PeeringRegisteredPrefixData
Parameters
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
- name
- String
The name of the resource.
- resourceType
- ResourceType
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
- systemData
- SystemData
Azure Resource Manager metadata containing createdBy and modifiedBy information.
- prefix
- String
The customer's prefix from which traffic originates.
- prefixValidationState
- Nullable<PeeringPrefixValidationState>
The prefix validation state.
- peeringServicePrefixKey
- String
The peering service prefix key that is to be shared with the customer.
- errorMessage
- String
The error message associated with the validation state, if any.
- provisioningState
- Nullable<PeeringProvisioningState>
The provisioning state of the resource.
Returns
A new PeeringRegisteredPrefixData instance for mocking.