Interface NetworkProfilesClient
-
- All Superinterfaces:
InnerSupportsDelete<Void>,InnerSupportsGet<NetworkProfileInner>,InnerSupportsListing<NetworkProfileInner>
public interface NetworkProfilesClient extends InnerSupportsGet<NetworkProfileInner>, InnerSupportsListing<NetworkProfileInner>, InnerSupportsDelete<Void>
An instance of this class provides access to all the operations defined in NetworkProfilesClient.
-
-
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<Void>,Void>beginDelete(String resourceGroupName, String networkProfileName)Deletes the specified network profile.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void>beginDelete(String resourceGroupName, String networkProfileName, com.azure.core.util.Context context)Deletes the specified network profile.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void>beginDeleteAsync(String resourceGroupName, String networkProfileName)Deletes the specified network profile.NetworkProfileInnercreateOrUpdate(String resourceGroupName, String networkProfileName, NetworkProfileInner parameters)Creates or updates a network profile.Mono<NetworkProfileInner>createOrUpdateAsync(String resourceGroupName, String networkProfileName, NetworkProfileInner parameters)Creates or updates a network profile.com.azure.core.http.rest.Response<NetworkProfileInner>createOrUpdateWithResponse(String resourceGroupName, String networkProfileName, NetworkProfileInner parameters, com.azure.core.util.Context context)Creates or updates a network profile.Mono<com.azure.core.http.rest.Response<NetworkProfileInner>>createOrUpdateWithResponseAsync(String resourceGroupName, String networkProfileName, NetworkProfileInner parameters)Creates or updates a network profile.voiddelete(String resourceGroupName, String networkProfileName)Deletes the specified network profile.voiddelete(String resourceGroupName, String networkProfileName, com.azure.core.util.Context context)Deletes the specified network profile.Mono<Void>deleteAsync(String resourceGroupName, String networkProfileName)Deletes the specified network profile.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>deleteWithResponseAsync(String resourceGroupName, String networkProfileName)Deletes the specified network profile.NetworkProfileInnergetByResourceGroup(String resourceGroupName, String networkProfileName)Gets the specified network profile in a specified resource group.Mono<NetworkProfileInner>getByResourceGroupAsync(String resourceGroupName, String networkProfileName)Gets the specified network profile in a specified resource group.Mono<NetworkProfileInner>getByResourceGroupAsync(String resourceGroupName, String networkProfileName, String expand)Gets the specified network profile in a specified resource group.com.azure.core.http.rest.Response<NetworkProfileInner>getByResourceGroupWithResponse(String resourceGroupName, String networkProfileName, String expand, com.azure.core.util.Context context)Gets the specified network profile in a specified resource group.Mono<com.azure.core.http.rest.Response<NetworkProfileInner>>getByResourceGroupWithResponseAsync(String resourceGroupName, String networkProfileName, String expand)Gets the specified network profile in a specified resource group.com.azure.core.http.rest.PagedIterable<NetworkProfileInner>list()Gets all the network profiles in a subscription.com.azure.core.http.rest.PagedIterable<NetworkProfileInner>list(com.azure.core.util.Context context)Gets all the network profiles in a subscription.com.azure.core.http.rest.PagedFlux<NetworkProfileInner>listAsync()Gets all the network profiles in a subscription.com.azure.core.http.rest.PagedIterable<NetworkProfileInner>listByResourceGroup(String resourceGroupName)Gets all network profiles in a resource group.com.azure.core.http.rest.PagedIterable<NetworkProfileInner>listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)Gets all network profiles in a resource group.com.azure.core.http.rest.PagedFlux<NetworkProfileInner>listByResourceGroupAsync(String resourceGroupName)Gets all network profiles in a resource group.NetworkProfileInnerupdateTags(String resourceGroupName, String networkProfileName, TagsObject parameters)Updates network profile tags.Mono<NetworkProfileInner>updateTagsAsync(String resourceGroupName, String networkProfileName, TagsObject parameters)Updates network profile tags.com.azure.core.http.rest.Response<NetworkProfileInner>updateTagsWithResponse(String resourceGroupName, String networkProfileName, TagsObject parameters, com.azure.core.util.Context context)Updates network profile tags.Mono<com.azure.core.http.rest.Response<NetworkProfileInner>>updateTagsWithResponseAsync(String resourceGroupName, String networkProfileName, TagsObject parameters)Updates network profile tags.
-
-
-
Method Detail
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String networkProfileName)
Deletes the specified network profile.- Parameters:
resourceGroupName- The name of the resource group.networkProfileName- The name of the NetworkProfile.- Returns:
- the
Responseon successful completion ofMono. - 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 networkProfileName)
Deletes the specified network profile.- Parameters:
resourceGroupName- The name of the resource group.networkProfileName- The name of the NetworkProfile.- Returns:
- the
PollerFluxfor polling of long-running 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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String networkProfileName)
Deletes the specified network profile.- Parameters:
resourceGroupName- The name of the resource group.networkProfileName- The name of the NetworkProfile.- Returns:
- the
SyncPollerfor polling of long-running 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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String networkProfileName, com.azure.core.util.Context context)
Deletes the specified network profile.- Parameters:
resourceGroupName- The name of the resource group.networkProfileName- The name of the NetworkProfile.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of long-running 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.
-
deleteAsync
Mono<Void> deleteAsync(String resourceGroupName, String networkProfileName)
Deletes the specified network profile.- Specified by:
deleteAsyncin interfaceInnerSupportsDelete<Void>- Parameters:
resourceGroupName- The name of the resource group.networkProfileName- The name of the NetworkProfile.- Returns:
- A
Monothat completes when a successful response is received. - 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 networkProfileName)
Deletes the specified network profile.- Parameters:
resourceGroupName- The name of the resource group.networkProfileName- The name of the NetworkProfile.- 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 networkProfileName, com.azure.core.util.Context context)
Deletes the specified network profile.- Parameters:
resourceGroupName- The name of the resource group.networkProfileName- The name of the NetworkProfile.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.
-
getByResourceGroupWithResponseAsync
Mono<com.azure.core.http.rest.Response<NetworkProfileInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String networkProfileName, String expand)
Gets the specified network profile in a specified resource group.- Parameters:
resourceGroupName- The name of the resource group.networkProfileName- The name of the public IP prefix.expand- Expands referenced resources.- Returns:
- the specified network profile in a specified resource group along with
Responseon successful completion ofMono. - 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<NetworkProfileInner> getByResourceGroupAsync(String resourceGroupName, String networkProfileName, String expand)
Gets the specified network profile in a specified resource group.- Parameters:
resourceGroupName- The name of the resource group.networkProfileName- The name of the public IP prefix.expand- Expands referenced resources.- Returns:
- the specified network profile in a specified resource group on successful completion of
Mono. - 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<NetworkProfileInner> getByResourceGroupAsync(String resourceGroupName, String networkProfileName)
Gets the specified network profile in a specified resource group.- Specified by:
getByResourceGroupAsyncin interfaceInnerSupportsGet<NetworkProfileInner>- Parameters:
resourceGroupName- The name of the resource group.networkProfileName- The name of the public IP prefix.- Returns:
- the specified network profile in a specified resource group on successful completion of
Mono. - 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
NetworkProfileInner getByResourceGroup(String resourceGroupName, String networkProfileName)
Gets the specified network profile in a specified resource group.- Specified by:
getByResourceGroupin interfaceInnerSupportsGet<NetworkProfileInner>- Parameters:
resourceGroupName- The name of the resource group.networkProfileName- The name of the public IP prefix.- Returns:
- the specified network profile in a specified 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<NetworkProfileInner> getByResourceGroupWithResponse(String resourceGroupName, String networkProfileName, String expand, com.azure.core.util.Context context)
Gets the specified network profile in a specified resource group.- Parameters:
resourceGroupName- The name of the resource group.networkProfileName- The name of the public IP prefix.expand- Expands referenced resources.context- The context to associate with this operation.- Returns:
- the specified network profile in a specified resource group along with
Response. - 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.
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<NetworkProfileInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String networkProfileName, NetworkProfileInner parameters)
Creates or updates a network profile.- Parameters:
resourceGroupName- The name of the resource group.networkProfileName- The name of the network profile.parameters- Parameters supplied to the create or update network profile operation.- Returns:
- network profile resource along with
Responseon successful completion ofMono. - 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.
-
createOrUpdateAsync
Mono<NetworkProfileInner> createOrUpdateAsync(String resourceGroupName, String networkProfileName, NetworkProfileInner parameters)
Creates or updates a network profile.- Parameters:
resourceGroupName- The name of the resource group.networkProfileName- The name of the network profile.parameters- Parameters supplied to the create or update network profile operation.- Returns:
- network profile resource on successful completion of
Mono. - 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.
-
createOrUpdate
NetworkProfileInner createOrUpdate(String resourceGroupName, String networkProfileName, NetworkProfileInner parameters)
Creates or updates a network profile.- Parameters:
resourceGroupName- The name of the resource group.networkProfileName- The name of the network profile.parameters- Parameters supplied to the create or update network profile operation.- Returns:
- network profile resource.
- 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.
-
createOrUpdateWithResponse
com.azure.core.http.rest.Response<NetworkProfileInner> createOrUpdateWithResponse(String resourceGroupName, String networkProfileName, NetworkProfileInner parameters, com.azure.core.util.Context context)
Creates or updates a network profile.- Parameters:
resourceGroupName- The name of the resource group.networkProfileName- The name of the network profile.parameters- Parameters supplied to the create or update network profile operation.context- The context to associate with this operation.- Returns:
- network profile resource along with
Response. - 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.
-
updateTagsWithResponseAsync
Mono<com.azure.core.http.rest.Response<NetworkProfileInner>> updateTagsWithResponseAsync(String resourceGroupName, String networkProfileName, TagsObject parameters)
Updates network profile tags.- Parameters:
resourceGroupName- The name of the resource group.networkProfileName- The name of the network profile.parameters- Parameters supplied to update network profile tags.- Returns:
- network profile resource along with
Responseon successful completion ofMono. - 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.
-
updateTagsAsync
Mono<NetworkProfileInner> updateTagsAsync(String resourceGroupName, String networkProfileName, TagsObject parameters)
Updates network profile tags.- Parameters:
resourceGroupName- The name of the resource group.networkProfileName- The name of the network profile.parameters- Parameters supplied to update network profile tags.- Returns:
- network profile resource on successful completion of
Mono. - 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.
-
updateTags
NetworkProfileInner updateTags(String resourceGroupName, String networkProfileName, TagsObject parameters)
Updates network profile tags.- Parameters:
resourceGroupName- The name of the resource group.networkProfileName- The name of the network profile.parameters- Parameters supplied to update network profile tags.- Returns:
- network profile resource.
- 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.
-
updateTagsWithResponse
com.azure.core.http.rest.Response<NetworkProfileInner> updateTagsWithResponse(String resourceGroupName, String networkProfileName, TagsObject parameters, com.azure.core.util.Context context)
Updates network profile tags.- Parameters:
resourceGroupName- The name of the resource group.networkProfileName- The name of the network profile.parameters- Parameters supplied to update network profile tags.context- The context to associate with this operation.- Returns:
- network profile resource along with
Response. - 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.
-
listAsync
com.azure.core.http.rest.PagedFlux<NetworkProfileInner> listAsync()
Gets all the network profiles in a subscription.- Specified by:
listAsyncin interfaceInnerSupportsListing<NetworkProfileInner>- Returns:
- all the network profiles in a subscription as paginated response with
PagedFlux. - 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<NetworkProfileInner> list()
Gets all the network profiles in a subscription.- Specified by:
listin interfaceInnerSupportsListing<NetworkProfileInner>- Returns:
- all the network profiles in a subscription as paginated response with
PagedIterable. - 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<NetworkProfileInner> list(com.azure.core.util.Context context)
Gets all the network profiles in a subscription.- Parameters:
context- The context to associate with this operation.- Returns:
- all the network profiles in a subscription as paginated response with
PagedIterable. - 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<NetworkProfileInner> listByResourceGroupAsync(String resourceGroupName)
Gets all network profiles in a resource group.- Specified by:
listByResourceGroupAsyncin interfaceInnerSupportsListing<NetworkProfileInner>- Parameters:
resourceGroupName- The name of the resource group.- Returns:
- all network profiles in a resource group as paginated response with
PagedFlux. - 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<NetworkProfileInner> listByResourceGroup(String resourceGroupName)
Gets all network profiles in a resource group.- Specified by:
listByResourceGroupin interfaceInnerSupportsListing<NetworkProfileInner>- Parameters:
resourceGroupName- The name of the resource group.- Returns:
- all network profiles in a resource group as paginated response with
PagedIterable. - 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<NetworkProfileInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
Gets all network profiles in a resource group.- Parameters:
resourceGroupName- The name of the resource group.context- The context to associate with this operation.- Returns:
- all network profiles in a resource group as paginated response with
PagedIterable. - 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.
-
-