CdnManagementClient class
- Extends
Constructors
Cdn |
|
Cdn |
Initializes a new instance of the CdnManagementClient class. |
Properties
Inherited Properties
pipeline | The pipeline used by this client to make requests |
Methods
check |
Check the availability of a resource name. This is needed for resources where name is globally unique, such as a afdx endpoint. |
check |
Check the availability of a resource name. This is needed for resources where name is globally unique, such as a CDN endpoint. |
check |
Check the availability of a resource name. This is needed for resources where name is globally unique, such as a CDN endpoint. |
validate |
Check if the probe path is a valid path and the file can be accessed. Probe path is the path to a file hosted on the origin server to help accelerate the delivery of dynamic content via the CDN endpoint. This path is relative to the origin path specified in the endpoint configuration. |
Inherited Methods
send |
Send an HTTP request that is populated using the provided OperationSpec. |
send |
Send the provided httpRequest. |
Constructor Details
CdnManagementClient(TokenCredential, CdnManagementClientOptionalParams)
new CdnManagementClient(credentials: TokenCredential, options?: CdnManagementClientOptionalParams)
Parameters
- credentials
- TokenCredential
CdnManagementClient(TokenCredential, string, CdnManagementClientOptionalParams)
Initializes a new instance of the CdnManagementClient class.
new CdnManagementClient(credentials: TokenCredential, subscriptionId: string, options?: CdnManagementClientOptionalParams)
Parameters
- credentials
- TokenCredential
Subscription credentials which uniquely identify client subscription.
- subscriptionId
-
string
Azure Subscription ID.
The parameter options
Property Details
$host
$host: string
Property Value
string
afdCustomDomains
afdEndpoints
afdOriginGroups
afdOrigins
afdProfiles
apiVersion
apiVersion: string
Property Value
string
customDomains
edgeNodes
endpoints
logAnalytics
managedRuleSets
operations
originGroups
origins
policies
profiles
resourceUsageOperations
routes
rules
ruleSets
secrets
securityPolicies
subscriptionId
subscriptionId?: string
Property Value
string
Inherited Property Details
pipeline
The pipeline used by this client to make requests
pipeline: Pipeline
Property Value
Inherited From coreClient.ServiceClient.pipeline
Method Details
checkEndpointNameAvailability(string, CheckEndpointNameAvailabilityInput, CheckEndpointNameAvailabilityOptionalParams)
Check the availability of a resource name. This is needed for resources where name is globally unique, such as a afdx endpoint.
function checkEndpointNameAvailability(resourceGroupName: string, checkEndpointNameAvailabilityInput: CheckEndpointNameAvailabilityInput, options?: CheckEndpointNameAvailabilityOptionalParams): Promise<CheckEndpointNameAvailabilityOutput>
Parameters
- resourceGroupName
-
string
Name of the Resource group within the Azure subscription.
- checkEndpointNameAvailabilityInput
- CheckEndpointNameAvailabilityInput
Input to check.
The options parameters.
Returns
Promise<CheckEndpointNameAvailabilityOutput>
checkNameAvailability(CheckNameAvailabilityInput, CheckNameAvailabilityOptionalParams)
Check the availability of a resource name. This is needed for resources where name is globally unique, such as a CDN endpoint.
function checkNameAvailability(checkNameAvailabilityInput: CheckNameAvailabilityInput, options?: CheckNameAvailabilityOptionalParams): Promise<CheckNameAvailabilityOutput>
Parameters
- checkNameAvailabilityInput
- CheckNameAvailabilityInput
Input to check.
The options parameters.
Returns
Promise<CheckNameAvailabilityOutput>
checkNameAvailabilityWithSubscription(CheckNameAvailabilityInput, CheckNameAvailabilityWithSubscriptionOptionalParams)
Check the availability of a resource name. This is needed for resources where name is globally unique, such as a CDN endpoint.
function checkNameAvailabilityWithSubscription(checkNameAvailabilityInput: CheckNameAvailabilityInput, options?: CheckNameAvailabilityWithSubscriptionOptionalParams): Promise<CheckNameAvailabilityOutput>
Parameters
- checkNameAvailabilityInput
- CheckNameAvailabilityInput
Input to check.
The options parameters.
Returns
Promise<CheckNameAvailabilityOutput>
validateProbe(ValidateProbeInput, ValidateProbeOptionalParams)
Check if the probe path is a valid path and the file can be accessed. Probe path is the path to a file hosted on the origin server to help accelerate the delivery of dynamic content via the CDN endpoint. This path is relative to the origin path specified in the endpoint configuration.
function validateProbe(validateProbeInput: ValidateProbeInput, options?: ValidateProbeOptionalParams): Promise<ValidateProbeOutput>
Parameters
- validateProbeInput
- ValidateProbeInput
Input to check.
- options
- ValidateProbeOptionalParams
The options parameters.
Returns
Promise<ValidateProbeOutput>
Inherited Method Details
sendOperationRequest<T>(OperationArguments, OperationSpec)
Send an HTTP request that is populated using the provided OperationSpec.
function sendOperationRequest<T>(operationArguments: OperationArguments, operationSpec: OperationSpec): Promise<T>
Parameters
- operationArguments
- OperationArguments
The arguments that the HTTP request's templated values will be populated from.
- operationSpec
- OperationSpec
The OperationSpec to use to populate the httpRequest.
Returns
Promise<T>
Inherited From coreClient.ServiceClient.sendOperationRequest
sendRequest(PipelineRequest)
Send the provided httpRequest.
function sendRequest(request: PipelineRequest): Promise<PipelineResponse>
Parameters
- request
- PipelineRequest
Returns
Promise<PipelineResponse>
Inherited From coreClient.ServiceClient.sendRequest