ArmPeeringModelFactory.PeeringServicePrefixData 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 PeeringServicePrefixData.
public static Azure.ResourceManager.Peering.PeeringServicePrefixData PeeringServicePrefixData(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, Azure.ResourceManager.Peering.Models.PeeringLearnedType? learnedType = default, string errorMessage = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Peering.Models.PeeringServicePrefixEvent> events = default, string peeringServicePrefixKey = default, Azure.ResourceManager.Peering.Models.PeeringProvisioningState? provisioningState = default);
static member PeeringServicePrefixData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<Azure.ResourceManager.Peering.Models.PeeringPrefixValidationState> * Nullable<Azure.ResourceManager.Peering.Models.PeeringLearnedType> * string * seq<Azure.ResourceManager.Peering.Models.PeeringServicePrefixEvent> * string * Nullable<Azure.ResourceManager.Peering.Models.PeeringProvisioningState> -> Azure.ResourceManager.Peering.PeeringServicePrefixData
Public Shared Function PeeringServicePrefixData (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 learnedType As Nullable(Of PeeringLearnedType) = Nothing, Optional errorMessage As String = Nothing, Optional events As IEnumerable(Of PeeringServicePrefixEvent) = Nothing, Optional peeringServicePrefixKey As String = Nothing, Optional provisioningState As Nullable(Of PeeringProvisioningState) = Nothing) As PeeringServicePrefixData
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 prefix from which your traffic originates.
- prefixValidationState
- Nullable<PeeringPrefixValidationState>
The prefix validation state.
- learnedType
- Nullable<PeeringLearnedType>
The prefix learned type.
- errorMessage
- String
The error message for validation state.
- events
- IEnumerable<PeeringServicePrefixEvent>
The list of events for peering service prefix.
- peeringServicePrefixKey
- String
The peering service prefix key.
- provisioningState
- Nullable<PeeringProvisioningState>
The provisioning state of the resource.
Returns
A new PeeringServicePrefixData instance for mocking.