ArmCdnModelFactory.CdnProfileAgentData Method

Definition

public static Azure.ResourceManager.Cdn.CdnProfileAgentData CdnProfileAgentData(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Cdn.Models.CdnResourceReference> customDomains = default, Azure.ResourceManager.Cdn.Models.CdnProfileAgentProvisioningState? provisioningState = default, Azure.Core.ResourceIdentifier webAgentId = default);
static member CdnProfileAgentData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * seq<Azure.ResourceManager.Cdn.Models.CdnResourceReference> * Nullable<Azure.ResourceManager.Cdn.Models.CdnProfileAgentProvisioningState> * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Cdn.CdnProfileAgentData
Public Shared Function CdnProfileAgentData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional customDomains As IEnumerable(Of CdnResourceReference) = Nothing, Optional provisioningState As Nullable(Of CdnProfileAgentProvisioningState) = Nothing, Optional webAgentId As ResourceIdentifier = Nothing) As CdnProfileAgentData

Parameters

id
ResourceIdentifier

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.

customDomains
IEnumerable<CdnResourceReference>

List of custom domains associated with this agent link.

provisioningState
Nullable<CdnProfileAgentProvisioningState>

Provisioning status of the profile agent association.

webAgentId
ResourceIdentifier

Resource ID.

Returns

A new CdnProfileAgentData instance for mocking.

Applies to