コード例 #1
0
 /// <summary>
 /// Delete the custom domain of one lifecycle application.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group that contains the resource. You can obtain
 /// this value from the Azure Resource Manager API or the portal.
 /// </param>
 /// <param name='serviceName'>
 /// The name of the Service resource.
 /// </param>
 /// <param name='appName'>
 /// The name of the App resource.
 /// </param>
 /// <param name='domainName'>
 /// The name of the custom domain resource.
 /// </param>
 public static void Delete(this ICustomDomainsOperations operations, string resourceGroupName, string serviceName, string appName, string domainName)
 {
     operations.DeleteAsync(resourceGroupName, serviceName, appName, domainName).GetAwaiter().GetResult();
 }
コード例 #2
0
 /// <summary>
 /// Deletes an existing custom domain within an endpoint.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Name of the Resource group within the Azure subscription.
 /// </param>
 /// <param name='profileName'>
 /// Name of the CDN profile which is unique within the resource group.
 /// </param>
 /// <param name='endpointName'>
 /// Name of the endpoint under the profile which is unique globally.
 /// </param>
 /// <param name='customDomainName'>
 /// Name of the custom domain within an endpoint.
 /// </param>
 public static CustomDomain Delete(this ICustomDomainsOperations operations, string resourceGroupName, string profileName, string endpointName, string customDomainName)
 {
     return(operations.DeleteAsync(resourceGroupName, profileName, endpointName, customDomainName).GetAwaiter().GetResult());
 }