Interface StaticMembersClient
public interface StaticMembersClient
An instance of this class provides access to all the operations defined in StaticMembersClient.
-
Method Summary
Modifier and TypeMethodDescriptioncreateOrUpdate(String resourceGroupName, String networkManagerName, String networkGroupName, String staticMemberName, StaticMemberInner parameters) Creates or updates a static member.createOrUpdateAsync(String resourceGroupName, String networkManagerName, String networkGroupName, String staticMemberName, StaticMemberInner parameters) Creates or updates a static member.com.azure.core.http.rest.Response<StaticMemberInner> createOrUpdateWithResponse(String resourceGroupName, String networkManagerName, String networkGroupName, String staticMemberName, StaticMemberInner parameters, com.azure.core.util.Context context) Creates or updates a static member.Mono<com.azure.core.http.rest.Response<StaticMemberInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String networkManagerName, String networkGroupName, String staticMemberName, StaticMemberInner parameters) Creates or updates a static member.voiddelete(String resourceGroupName, String networkManagerName, String networkGroupName, String staticMemberName) Deletes a static member.deleteAsync(String resourceGroupName, String networkManagerName, String networkGroupName, String staticMemberName) Deletes a static member.com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String networkManagerName, String networkGroupName, String staticMemberName, com.azure.core.util.Context context) Deletes a static member.deleteWithResponseAsync(String resourceGroupName, String networkManagerName, String networkGroupName, String staticMemberName) Deletes a static member.get(String resourceGroupName, String networkManagerName, String networkGroupName, String staticMemberName) Gets the specified static member.getAsync(String resourceGroupName, String networkManagerName, String networkGroupName, String staticMemberName) Gets the specified static member.com.azure.core.http.rest.Response<StaticMemberInner> getWithResponse(String resourceGroupName, String networkManagerName, String networkGroupName, String staticMemberName, com.azure.core.util.Context context) Gets the specified static member.Mono<com.azure.core.http.rest.Response<StaticMemberInner>> getWithResponseAsync(String resourceGroupName, String networkManagerName, String networkGroupName, String staticMemberName) Gets the specified static member.com.azure.core.http.rest.PagedIterable<StaticMemberInner> Lists the specified static member.com.azure.core.http.rest.PagedIterable<StaticMemberInner> list(String resourceGroupName, String networkManagerName, String networkGroupName, Integer top, String skipToken, com.azure.core.util.Context context) Lists the specified static member.com.azure.core.http.rest.PagedFlux<StaticMemberInner> Lists the specified static member.com.azure.core.http.rest.PagedFlux<StaticMemberInner> listAsync(String resourceGroupName, String networkManagerName, String networkGroupName, Integer top, String skipToken) Lists the specified static member.
-
Method Details
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<StaticMemberInner>> getWithResponseAsync(String resourceGroupName, String networkManagerName, String networkGroupName, String staticMemberName) Gets the specified static member.- Parameters:
resourceGroupName- The name of the resource group.networkManagerName- The name of the network manager.networkGroupName- The name of the network group.staticMemberName- The name of the static member.- Returns:
- the specified static member 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.
-
getAsync
Mono<StaticMemberInner> getAsync(String resourceGroupName, String networkManagerName, String networkGroupName, String staticMemberName) Gets the specified static member.- Parameters:
resourceGroupName- The name of the resource group.networkManagerName- The name of the network manager.networkGroupName- The name of the network group.staticMemberName- The name of the static member.- Returns:
- the specified static member 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.
-
getWithResponse
com.azure.core.http.rest.Response<StaticMemberInner> getWithResponse(String resourceGroupName, String networkManagerName, String networkGroupName, String staticMemberName, com.azure.core.util.Context context) Gets the specified static member.- Parameters:
resourceGroupName- The name of the resource group.networkManagerName- The name of the network manager.networkGroupName- The name of the network group.staticMemberName- The name of the static member.context- The context to associate with this operation.- Returns:
- the specified static member 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.
-
get
StaticMemberInner get(String resourceGroupName, String networkManagerName, String networkGroupName, String staticMemberName) Gets the specified static member.- Parameters:
resourceGroupName- The name of the resource group.networkManagerName- The name of the network manager.networkGroupName- The name of the network group.staticMemberName- The name of the static member.- Returns:
- the specified static member.
- 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<StaticMemberInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String networkManagerName, String networkGroupName, String staticMemberName, StaticMemberInner parameters) Creates or updates a static member.- Parameters:
resourceGroupName- The name of the resource group.networkManagerName- The name of the network manager.networkGroupName- The name of the network group.staticMemberName- The name of the static member.parameters- Parameters supplied to the specify the static member to create.- Returns:
- staticMember Item 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<StaticMemberInner> createOrUpdateAsync(String resourceGroupName, String networkManagerName, String networkGroupName, String staticMemberName, StaticMemberInner parameters) Creates or updates a static member.- Parameters:
resourceGroupName- The name of the resource group.networkManagerName- The name of the network manager.networkGroupName- The name of the network group.staticMemberName- The name of the static member.parameters- Parameters supplied to the specify the static member to create.- Returns:
- staticMember Item 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.
-
createOrUpdateWithResponse
com.azure.core.http.rest.Response<StaticMemberInner> createOrUpdateWithResponse(String resourceGroupName, String networkManagerName, String networkGroupName, String staticMemberName, StaticMemberInner parameters, com.azure.core.util.Context context) Creates or updates a static member.- Parameters:
resourceGroupName- The name of the resource group.networkManagerName- The name of the network manager.networkGroupName- The name of the network group.staticMemberName- The name of the static member.parameters- Parameters supplied to the specify the static member to create.context- The context to associate with this operation.- Returns:
- staticMember Item 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.
-
createOrUpdate
StaticMemberInner createOrUpdate(String resourceGroupName, String networkManagerName, String networkGroupName, String staticMemberName, StaticMemberInner parameters) Creates or updates a static member.- Parameters:
resourceGroupName- The name of the resource group.networkManagerName- The name of the network manager.networkGroupName- The name of the network group.staticMemberName- The name of the static member.parameters- Parameters supplied to the specify the static member to create.- Returns:
- staticMember Item.
- 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<Void>> deleteWithResponseAsync(String resourceGroupName, String networkManagerName, String networkGroupName, String staticMemberName) Deletes a static member.- Parameters:
resourceGroupName- The name of the resource group.networkManagerName- The name of the network manager.networkGroupName- The name of the network group.staticMemberName- The name of the static member.- 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.
-
deleteAsync
Mono<Void> deleteAsync(String resourceGroupName, String networkManagerName, String networkGroupName, String staticMemberName) Deletes a static member.- Parameters:
resourceGroupName- The name of the resource group.networkManagerName- The name of the network manager.networkGroupName- The name of the network group.staticMemberName- The name of the static member.- 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.
-
deleteWithResponse
com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String networkManagerName, String networkGroupName, String staticMemberName, com.azure.core.util.Context context) Deletes a static member.- Parameters:
resourceGroupName- The name of the resource group.networkManagerName- The name of the network manager.networkGroupName- The name of the network group.staticMemberName- The name of the static member.context- The context to associate with this operation.- Returns:
- the
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.
-
delete
void delete(String resourceGroupName, String networkManagerName, String networkGroupName, String staticMemberName) Deletes a static member.- Parameters:
resourceGroupName- The name of the resource group.networkManagerName- The name of the network manager.networkGroupName- The name of the network group.staticMemberName- The name of the static member.- 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<StaticMemberInner> listAsync(String resourceGroupName, String networkManagerName, String networkGroupName, Integer top, String skipToken) Lists the specified static member.- Parameters:
resourceGroupName- The name of the resource group.networkManagerName- The name of the network manager.networkGroupName- The name of the network group.top- An optional query parameter which specifies the maximum number of records to be returned by the server.skipToken- SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls.- Returns:
- result of the request to list StaticMember 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.
-
listAsync
com.azure.core.http.rest.PagedFlux<StaticMemberInner> listAsync(String resourceGroupName, String networkManagerName, String networkGroupName) Lists the specified static member.- Parameters:
resourceGroupName- The name of the resource group.networkManagerName- The name of the network manager.networkGroupName- The name of the network group.- Returns:
- result of the request to list StaticMember 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.
-
list
com.azure.core.http.rest.PagedIterable<StaticMemberInner> list(String resourceGroupName, String networkManagerName, String networkGroupName) Lists the specified static member.- Parameters:
resourceGroupName- The name of the resource group.networkManagerName- The name of the network manager.networkGroupName- The name of the network group.- Returns:
- result of the request to list StaticMember 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.
-
list
com.azure.core.http.rest.PagedIterable<StaticMemberInner> list(String resourceGroupName, String networkManagerName, String networkGroupName, Integer top, String skipToken, com.azure.core.util.Context context) Lists the specified static member.- Parameters:
resourceGroupName- The name of the resource group.networkManagerName- The name of the network manager.networkGroupName- The name of the network group.top- An optional query parameter which specifies the maximum number of records to be returned by the server.skipToken- SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls.context- The context to associate with this operation.- Returns:
- result of the request to list StaticMember 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.
-