Interface ProfilesClient
-
- All Superinterfaces:
InnerSupportsDelete<Void>,InnerSupportsGet<ProfileInner>,InnerSupportsListing<ProfileInner>
public interface ProfilesClient extends InnerSupportsGet<ProfileInner>, InnerSupportsListing<ProfileInner>, InnerSupportsDelete<Void>
An instance of this class provides access to all the operations defined in ProfilesClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ProfileInner>,ProfileInner>beginCreate(String resourceGroupName, String profileName, ProfileInner profile)Creates a new CDN profile with a profile name under the specified subscription and resource group.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ProfileInner>,ProfileInner>beginCreate(String resourceGroupName, String profileName, ProfileInner profile, com.azure.core.util.Context context)Creates a new CDN profile with a profile name under the specified subscription and resource group.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ProfileInner>,ProfileInner>beginCreateAsync(String resourceGroupName, String profileName, ProfileInner profile)Creates a new CDN profile with a profile name under the specified subscription and resource group.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void>beginDelete(String resourceGroupName, String profileName)Deletes an existing CDN profile with the specified parameters.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void>beginDelete(String resourceGroupName, String profileName, com.azure.core.util.Context context)Deletes an existing CDN profile with the specified parameters.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void>beginDeleteAsync(String resourceGroupName, String profileName)Deletes an existing CDN profile with the specified parameters.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ProfileInner>,ProfileInner>beginUpdate(String resourceGroupName, String profileName, Map<String,String> tags)Updates an existing CDN profile with the specified profile name under the specified subscription and resource group.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ProfileInner>,ProfileInner>beginUpdate(String resourceGroupName, String profileName, Map<String,String> tags, com.azure.core.util.Context context)Updates an existing CDN profile with the specified profile name under the specified subscription and resource group.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ProfileInner>,ProfileInner>beginUpdateAsync(String resourceGroupName, String profileName, Map<String,String> tags)Updates an existing CDN profile with the specified profile name under the specified subscription and resource group.ProfileInnercreate(String resourceGroupName, String profileName, ProfileInner profile)Creates a new CDN profile with a profile name under the specified subscription and resource group.ProfileInnercreate(String resourceGroupName, String profileName, ProfileInner profile, com.azure.core.util.Context context)Creates a new CDN profile with a profile name under the specified subscription and resource group.Mono<ProfileInner>createAsync(String resourceGroupName, String profileName, ProfileInner profile)Creates a new CDN profile with a profile name under the specified subscription and resource group.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>createWithResponseAsync(String resourceGroupName, String profileName, ProfileInner profile)Creates a new CDN profile with a profile name under the specified subscription and resource group.voiddelete(String resourceGroupName, String profileName)Deletes an existing CDN profile with the specified parameters.voiddelete(String resourceGroupName, String profileName, com.azure.core.util.Context context)Deletes an existing CDN profile with the specified parameters.Mono<Void>deleteAsync(String resourceGroupName, String profileName)Deletes an existing CDN profile with the specified parameters.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>deleteWithResponseAsync(String resourceGroupName, String profileName)Deletes an existing CDN profile with the specified parameters.SsoUriInnergenerateSsoUri(String resourceGroupName, String profileName)Generates a dynamic SSO URI used to sign in to the CDN supplemental portal.Mono<SsoUriInner>generateSsoUriAsync(String resourceGroupName, String profileName)Generates a dynamic SSO URI used to sign in to the CDN supplemental portal.com.azure.core.http.rest.Response<SsoUriInner>generateSsoUriWithResponse(String resourceGroupName, String profileName, com.azure.core.util.Context context)Generates a dynamic SSO URI used to sign in to the CDN supplemental portal.Mono<com.azure.core.http.rest.Response<SsoUriInner>>generateSsoUriWithResponseAsync(String resourceGroupName, String profileName)Generates a dynamic SSO URI used to sign in to the CDN supplemental portal.ProfileInnergetByResourceGroup(String resourceGroupName, String profileName)Gets a CDN profile with the specified profile name under the specified subscription and resource group.Mono<ProfileInner>getByResourceGroupAsync(String resourceGroupName, String profileName)Gets a CDN profile with the specified profile name under the specified subscription and resource group.com.azure.core.http.rest.Response<ProfileInner>getByResourceGroupWithResponse(String resourceGroupName, String profileName, com.azure.core.util.Context context)Gets a CDN profile with the specified profile name under the specified subscription and resource group.Mono<com.azure.core.http.rest.Response<ProfileInner>>getByResourceGroupWithResponseAsync(String resourceGroupName, String profileName)Gets a CDN profile with the specified profile name under the specified subscription and resource group.com.azure.core.http.rest.PagedIterable<ProfileInner>list()Lists all of the CDN profiles within an Azure subscription.com.azure.core.http.rest.PagedIterable<ProfileInner>list(com.azure.core.util.Context context)Lists all of the CDN profiles within an Azure subscription.com.azure.core.http.rest.PagedFlux<ProfileInner>listAsync()Lists all of the CDN profiles within an Azure subscription.com.azure.core.http.rest.PagedIterable<ProfileInner>listByResourceGroup(String resourceGroupName)Lists all of the CDN profiles within a resource group.com.azure.core.http.rest.PagedIterable<ProfileInner>listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)Lists all of the CDN profiles within a resource group.com.azure.core.http.rest.PagedFlux<ProfileInner>listByResourceGroupAsync(String resourceGroupName)Lists all of the CDN profiles within a resource group.com.azure.core.http.rest.PagedIterable<ResourceUsageInner>listResourceUsage(String resourceGroupName, String profileName)Checks the quota and actual usage of endpoints under the given CDN profile.com.azure.core.http.rest.PagedIterable<ResourceUsageInner>listResourceUsage(String resourceGroupName, String profileName, com.azure.core.util.Context context)Checks the quota and actual usage of endpoints under the given CDN profile.com.azure.core.http.rest.PagedFlux<ResourceUsageInner>listResourceUsageAsync(String resourceGroupName, String profileName)Checks the quota and actual usage of endpoints under the given CDN profile.SupportedOptimizationTypesListResultInnerlistSupportedOptimizationTypes(String resourceGroupName, String profileName)Gets the supported optimization types for the current profile.Mono<SupportedOptimizationTypesListResultInner>listSupportedOptimizationTypesAsync(String resourceGroupName, String profileName)Gets the supported optimization types for the current profile.com.azure.core.http.rest.Response<SupportedOptimizationTypesListResultInner>listSupportedOptimizationTypesWithResponse(String resourceGroupName, String profileName, com.azure.core.util.Context context)Gets the supported optimization types for the current profile.Mono<com.azure.core.http.rest.Response<SupportedOptimizationTypesListResultInner>>listSupportedOptimizationTypesWithResponseAsync(String resourceGroupName, String profileName)Gets the supported optimization types for the current profile.ProfileInnerupdate(String resourceGroupName, String profileName)Updates an existing CDN profile with the specified profile name under the specified subscription and resource group.ProfileInnerupdate(String resourceGroupName, String profileName, Map<String,String> tags)Updates an existing CDN profile with the specified profile name under the specified subscription and resource group.ProfileInnerupdate(String resourceGroupName, String profileName, Map<String,String> tags, com.azure.core.util.Context context)Updates an existing CDN profile with the specified profile name under the specified subscription and resource group.Mono<ProfileInner>updateAsync(String resourceGroupName, String profileName)Updates an existing CDN profile with the specified profile name under the specified subscription and resource group.Mono<ProfileInner>updateAsync(String resourceGroupName, String profileName, Map<String,String> tags)Updates an existing CDN profile with the specified profile name under the specified subscription and resource group.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>updateWithResponseAsync(String resourceGroupName, String profileName, Map<String,String> tags)Updates an existing CDN profile with the specified profile name under the specified subscription and resource group.
-
-
-
Method Detail
-
listAsync
com.azure.core.http.rest.PagedFlux<ProfileInner> listAsync()
Lists all of the CDN profiles within an Azure subscription.- Specified by:
listAsyncin interfaceInnerSupportsListing<ProfileInner>- Returns:
- result of the request to list profiles.
- Throws:
com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<ProfileInner> list()
Lists all of the CDN profiles within an Azure subscription.- Specified by:
listin interfaceInnerSupportsListing<ProfileInner>- Returns:
- result of the request to list profiles.
- Throws:
com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<ProfileInner> list(com.azure.core.util.Context context)
Lists all of the CDN profiles within an Azure subscription.- Parameters:
context- The context to associate with this operation.- Returns:
- result of the request to list profiles.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByResourceGroupAsync
com.azure.core.http.rest.PagedFlux<ProfileInner> listByResourceGroupAsync(String resourceGroupName)
Lists all of the CDN profiles within a resource group.- Specified by:
listByResourceGroupAsyncin interfaceInnerSupportsListing<ProfileInner>- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.- Returns:
- result of the request to list profiles.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<ProfileInner> listByResourceGroup(String resourceGroupName)
Lists all of the CDN profiles within a resource group.- Specified by:
listByResourceGroupin interfaceInnerSupportsListing<ProfileInner>- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.- Returns:
- result of the request to list profiles.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<ProfileInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
Lists all of the CDN profiles within a resource group.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.context- The context to associate with this operation.- Returns:
- result of the request to list profiles.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroupWithResponseAsync
Mono<com.azure.core.http.rest.Response<ProfileInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String profileName)
Gets a CDN profile with the specified profile name under the specified subscription and resource group.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the CDN profile which is unique within the resource group.- Returns:
- a CDN profile with the specified profile name under the specified subscription and resource group.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroupAsync
Mono<ProfileInner> getByResourceGroupAsync(String resourceGroupName, String profileName)
Gets a CDN profile with the specified profile name under the specified subscription and resource group.- Specified by:
getByResourceGroupAsyncin interfaceInnerSupportsGet<ProfileInner>- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the CDN profile which is unique within the resource group.- Returns:
- a CDN profile with the specified profile name under the specified subscription and resource group.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroup
ProfileInner getByResourceGroup(String resourceGroupName, String profileName)
Gets a CDN profile with the specified profile name under the specified subscription and resource group.- Specified by:
getByResourceGroupin interfaceInnerSupportsGet<ProfileInner>- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the CDN profile which is unique within the resource group.- Returns:
- a CDN profile with the specified profile name under the specified subscription and resource group.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<ProfileInner> getByResourceGroupWithResponse(String resourceGroupName, String profileName, com.azure.core.util.Context context)
Gets a CDN profile with the specified profile name under the specified subscription and resource group.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the CDN profile which is unique within the resource group.context- The context to associate with this operation.- Returns:
- a CDN profile with the specified profile name under the specified subscription and resource group.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createWithResponseAsync(String resourceGroupName, String profileName, ProfileInner profile)
Creates a new CDN profile with a profile name under the specified subscription and resource group.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the CDN profile which is unique within the resource group.profile- Profile properties needed to create a new profile.- Returns:
- cDN profile is a logical grouping of endpoints that share the same settings, such as CDN provider and pricing tier.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ProfileInner>,ProfileInner> beginCreateAsync(String resourceGroupName, String profileName, ProfileInner profile)
Creates a new CDN profile with a profile name under the specified subscription and resource group.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the CDN profile which is unique within the resource group.profile- Profile properties needed to create a new profile.- Returns:
- cDN profile is a logical grouping of endpoints that share the same settings, such as CDN provider and pricing tier.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ProfileInner>,ProfileInner> beginCreate(String resourceGroupName, String profileName, ProfileInner profile)
Creates a new CDN profile with a profile name under the specified subscription and resource group.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the CDN profile which is unique within the resource group.profile- Profile properties needed to create a new profile.- Returns:
- cDN profile is a logical grouping of endpoints that share the same settings, such as CDN provider and pricing tier.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ProfileInner>,ProfileInner> beginCreate(String resourceGroupName, String profileName, ProfileInner profile, com.azure.core.util.Context context)
Creates a new CDN profile with a profile name under the specified subscription and resource group.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the CDN profile which is unique within the resource group.profile- Profile properties needed to create a new profile.context- The context to associate with this operation.- Returns:
- cDN profile is a logical grouping of endpoints that share the same settings, such as CDN provider and pricing tier.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createAsync
Mono<ProfileInner> createAsync(String resourceGroupName, String profileName, ProfileInner profile)
Creates a new CDN profile with a profile name under the specified subscription and resource group.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the CDN profile which is unique within the resource group.profile- Profile properties needed to create a new profile.- Returns:
- cDN profile is a logical grouping of endpoints that share the same settings, such as CDN provider and pricing tier.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
create
ProfileInner create(String resourceGroupName, String profileName, ProfileInner profile)
Creates a new CDN profile with a profile name under the specified subscription and resource group.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the CDN profile which is unique within the resource group.profile- Profile properties needed to create a new profile.- Returns:
- cDN profile is a logical grouping of endpoints that share the same settings, such as CDN provider and pricing tier.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
create
ProfileInner create(String resourceGroupName, String profileName, ProfileInner profile, com.azure.core.util.Context context)
Creates a new CDN profile with a profile name under the specified subscription and resource group.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the CDN profile which is unique within the resource group.profile- Profile properties needed to create a new profile.context- The context to associate with this operation.- Returns:
- cDN profile is a logical grouping of endpoints that share the same settings, such as CDN provider and pricing tier.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
updateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String profileName, Map<String,String> tags)
Updates an existing CDN profile with the specified profile name under the specified subscription and resource group.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the CDN profile which is unique within the resource group.tags- Profile tags.- Returns:
- cDN profile is a logical grouping of endpoints that share the same settings, such as CDN provider and pricing tier.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginUpdateAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ProfileInner>,ProfileInner> beginUpdateAsync(String resourceGroupName, String profileName, Map<String,String> tags)
Updates an existing CDN profile with the specified profile name under the specified subscription and resource group.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the CDN profile which is unique within the resource group.tags- Profile tags.- Returns:
- cDN profile is a logical grouping of endpoints that share the same settings, such as CDN provider and pricing tier.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ProfileInner>,ProfileInner> beginUpdate(String resourceGroupName, String profileName, Map<String,String> tags)
Updates an existing CDN profile with the specified profile name under the specified subscription and resource group.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the CDN profile which is unique within the resource group.tags- Profile tags.- Returns:
- cDN profile is a logical grouping of endpoints that share the same settings, such as CDN provider and pricing tier.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ProfileInner>,ProfileInner> beginUpdate(String resourceGroupName, String profileName, Map<String,String> tags, com.azure.core.util.Context context)
Updates an existing CDN profile with the specified profile name under the specified subscription and resource group.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the CDN profile which is unique within the resource group.tags- Profile tags.context- The context to associate with this operation.- Returns:
- cDN profile is a logical grouping of endpoints that share the same settings, such as CDN provider and pricing tier.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
updateAsync
Mono<ProfileInner> updateAsync(String resourceGroupName, String profileName, Map<String,String> tags)
Updates an existing CDN profile with the specified profile name under the specified subscription and resource group.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the CDN profile which is unique within the resource group.tags- Profile tags.- Returns:
- cDN profile is a logical grouping of endpoints that share the same settings, such as CDN provider and pricing tier.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
updateAsync
Mono<ProfileInner> updateAsync(String resourceGroupName, String profileName)
Updates an existing CDN profile with the specified profile name under the specified subscription and resource group.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the CDN profile which is unique within the resource group.- Returns:
- cDN profile is a logical grouping of endpoints that share the same settings, such as CDN provider and pricing tier.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
update
ProfileInner update(String resourceGroupName, String profileName, Map<String,String> tags)
Updates an existing CDN profile with the specified profile name under the specified subscription and resource group.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the CDN profile which is unique within the resource group.tags- Profile tags.- Returns:
- cDN profile is a logical grouping of endpoints that share the same settings, such as CDN provider and pricing tier.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
update
ProfileInner update(String resourceGroupName, String profileName)
Updates an existing CDN profile with the specified profile name under the specified subscription and resource group.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the CDN profile which is unique within the resource group.- Returns:
- cDN profile is a logical grouping of endpoints that share the same settings, such as CDN provider and pricing tier.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
update
ProfileInner update(String resourceGroupName, String profileName, Map<String,String> tags, com.azure.core.util.Context context)
Updates an existing CDN profile with the specified profile name under the specified subscription and resource group.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the CDN profile which is unique within the resource group.tags- Profile tags.context- The context to associate with this operation.- Returns:
- cDN profile is a logical grouping of endpoints that share the same settings, such as CDN provider and pricing tier.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String profileName)
Deletes an existing CDN profile with the specified parameters. Deleting a profile will result in the deletion of all of the sub-resources including endpoints, origins and custom domains.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the CDN profile which is unique within the resource group.- Returns:
- the completion.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDeleteAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String profileName)
Deletes an existing CDN profile with the specified parameters. Deleting a profile will result in the deletion of all of the sub-resources including endpoints, origins and custom domains.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the CDN profile which is unique within the resource group.- Returns:
- the completion.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String profileName)
Deletes an existing CDN profile with the specified parameters. Deleting a profile will result in the deletion of all of the sub-resources including endpoints, origins and custom domains.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the CDN profile which is unique within the resource group.- Returns:
- the completion.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String profileName, com.azure.core.util.Context context)
Deletes an existing CDN profile with the specified parameters. Deleting a profile will result in the deletion of all of the sub-resources including endpoints, origins and custom domains.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the CDN profile which is unique within the resource group.context- The context to associate with this operation.- Returns:
- the completion.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteAsync
Mono<Void> deleteAsync(String resourceGroupName, String profileName)
Deletes an existing CDN profile with the specified parameters. Deleting a profile will result in the deletion of all of the sub-resources including endpoints, origins and custom domains.- Specified by:
deleteAsyncin interfaceInnerSupportsDelete<Void>- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the CDN profile which is unique within the resource group.- Returns:
- the completion.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
delete
void delete(String resourceGroupName, String profileName)
Deletes an existing CDN profile with the specified parameters. Deleting a profile will result in the deletion of all of the sub-resources including endpoints, origins and custom domains.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the CDN profile which is unique within the resource group.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
delete
void delete(String resourceGroupName, String profileName, com.azure.core.util.Context context)
Deletes an existing CDN profile with the specified parameters. Deleting a profile will result in the deletion of all of the sub-resources including endpoints, origins and custom domains.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the CDN profile which is unique within the resource group.context- The context to associate with this operation.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
generateSsoUriWithResponseAsync
Mono<com.azure.core.http.rest.Response<SsoUriInner>> generateSsoUriWithResponseAsync(String resourceGroupName, String profileName)
Generates a dynamic SSO URI used to sign in to the CDN supplemental portal. Supplemental portal is used to configure advanced feature capabilities that are not yet available in the Azure portal, such as core reports in a standard profile; rules engine, advanced HTTP reports, and real-time stats and alerts in a premium profile. The SSO URI changes approximately every 10 minutes.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the CDN profile which is unique within the resource group.- Returns:
- the URI required to login to the supplemental portal from the Azure portal.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
generateSsoUriAsync
Mono<SsoUriInner> generateSsoUriAsync(String resourceGroupName, String profileName)
Generates a dynamic SSO URI used to sign in to the CDN supplemental portal. Supplemental portal is used to configure advanced feature capabilities that are not yet available in the Azure portal, such as core reports in a standard profile; rules engine, advanced HTTP reports, and real-time stats and alerts in a premium profile. The SSO URI changes approximately every 10 minutes.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the CDN profile which is unique within the resource group.- Returns:
- the URI required to login to the supplemental portal from the Azure portal.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
generateSsoUri
SsoUriInner generateSsoUri(String resourceGroupName, String profileName)
Generates a dynamic SSO URI used to sign in to the CDN supplemental portal. Supplemental portal is used to configure advanced feature capabilities that are not yet available in the Azure portal, such as core reports in a standard profile; rules engine, advanced HTTP reports, and real-time stats and alerts in a premium profile. The SSO URI changes approximately every 10 minutes.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the CDN profile which is unique within the resource group.- Returns:
- the URI required to login to the supplemental portal from the Azure portal.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
generateSsoUriWithResponse
com.azure.core.http.rest.Response<SsoUriInner> generateSsoUriWithResponse(String resourceGroupName, String profileName, com.azure.core.util.Context context)
Generates a dynamic SSO URI used to sign in to the CDN supplemental portal. Supplemental portal is used to configure advanced feature capabilities that are not yet available in the Azure portal, such as core reports in a standard profile; rules engine, advanced HTTP reports, and real-time stats and alerts in a premium profile. The SSO URI changes approximately every 10 minutes.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the CDN profile which is unique within the resource group.context- The context to associate with this operation.- Returns:
- the URI required to login to the supplemental portal from the Azure portal.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listSupportedOptimizationTypesWithResponseAsync
Mono<com.azure.core.http.rest.Response<SupportedOptimizationTypesListResultInner>> listSupportedOptimizationTypesWithResponseAsync(String resourceGroupName, String profileName)
Gets the supported optimization types for the current profile. A user can create an endpoint with an optimization type from the listed values.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the CDN profile which is unique within the resource group.- Returns:
- the supported optimization types for the current profile.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listSupportedOptimizationTypesAsync
Mono<SupportedOptimizationTypesListResultInner> listSupportedOptimizationTypesAsync(String resourceGroupName, String profileName)
Gets the supported optimization types for the current profile. A user can create an endpoint with an optimization type from the listed values.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the CDN profile which is unique within the resource group.- Returns:
- the supported optimization types for the current profile.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listSupportedOptimizationTypes
SupportedOptimizationTypesListResultInner listSupportedOptimizationTypes(String resourceGroupName, String profileName)
Gets the supported optimization types for the current profile. A user can create an endpoint with an optimization type from the listed values.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the CDN profile which is unique within the resource group.- Returns:
- the supported optimization types for the current profile.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listSupportedOptimizationTypesWithResponse
com.azure.core.http.rest.Response<SupportedOptimizationTypesListResultInner> listSupportedOptimizationTypesWithResponse(String resourceGroupName, String profileName, com.azure.core.util.Context context)
Gets the supported optimization types for the current profile. A user can create an endpoint with an optimization type from the listed values.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the CDN profile which is unique within the resource group.context- The context to associate with this operation.- Returns:
- the supported optimization types for the current profile.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listResourceUsageAsync
com.azure.core.http.rest.PagedFlux<ResourceUsageInner> listResourceUsageAsync(String resourceGroupName, String profileName)
Checks the quota and actual usage of endpoints under the given CDN profile.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the CDN profile which is unique within the resource group.- Returns:
- output of check resource usage API.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listResourceUsage
com.azure.core.http.rest.PagedIterable<ResourceUsageInner> listResourceUsage(String resourceGroupName, String profileName)
Checks the quota and actual usage of endpoints under the given CDN profile.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the CDN profile which is unique within the resource group.- Returns:
- output of check resource usage API.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listResourceUsage
com.azure.core.http.rest.PagedIterable<ResourceUsageInner> listResourceUsage(String resourceGroupName, String profileName, com.azure.core.util.Context context)
Checks the quota and actual usage of endpoints under the given CDN profile.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.profileName- Name of the CDN profile which is unique within the resource group.context- The context to associate with this operation.- Returns:
- output of check resource usage API.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
-