public interface SecurityRulesClient
| Modifier and Type | Method and Description |
|---|---|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SecurityRuleInner>,SecurityRuleInner> |
beginCreateOrUpdate(String resourceGroupName,
String networkSecurityGroupName,
String securityRuleName,
SecurityRuleInner securityRuleParameters)
Creates or updates a security rule in the specified network security group.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SecurityRuleInner>,SecurityRuleInner> |
beginCreateOrUpdate(String resourceGroupName,
String networkSecurityGroupName,
String securityRuleName,
SecurityRuleInner securityRuleParameters,
com.azure.core.util.Context context)
Creates or updates a security rule in the specified network security group.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<SecurityRuleInner>,SecurityRuleInner> |
beginCreateOrUpdateAsync(String resourceGroupName,
String networkSecurityGroupName,
String securityRuleName,
SecurityRuleInner securityRuleParameters)
Creates or updates a security rule in the specified network security group.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String networkSecurityGroupName,
String securityRuleName)
Deletes the specified network security rule.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String networkSecurityGroupName,
String securityRuleName,
com.azure.core.util.Context context)
Deletes the specified network security rule.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDeleteAsync(String resourceGroupName,
String networkSecurityGroupName,
String securityRuleName)
Deletes the specified network security rule.
|
SecurityRuleInner |
createOrUpdate(String resourceGroupName,
String networkSecurityGroupName,
String securityRuleName,
SecurityRuleInner securityRuleParameters)
Creates or updates a security rule in the specified network security group.
|
SecurityRuleInner |
createOrUpdate(String resourceGroupName,
String networkSecurityGroupName,
String securityRuleName,
SecurityRuleInner securityRuleParameters,
com.azure.core.util.Context context)
Creates or updates a security rule in the specified network security group.
|
Mono<SecurityRuleInner> |
createOrUpdateAsync(String resourceGroupName,
String networkSecurityGroupName,
String securityRuleName,
SecurityRuleInner securityRuleParameters)
Creates or updates a security rule in the specified network security group.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
createOrUpdateWithResponseAsync(String resourceGroupName,
String networkSecurityGroupName,
String securityRuleName,
SecurityRuleInner securityRuleParameters)
Creates or updates a security rule in the specified network security group.
|
void |
delete(String resourceGroupName,
String networkSecurityGroupName,
String securityRuleName)
Deletes the specified network security rule.
|
void |
delete(String resourceGroupName,
String networkSecurityGroupName,
String securityRuleName,
com.azure.core.util.Context context)
Deletes the specified network security rule.
|
Mono<Void> |
deleteAsync(String resourceGroupName,
String networkSecurityGroupName,
String securityRuleName)
Deletes the specified network security rule.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
deleteWithResponseAsync(String resourceGroupName,
String networkSecurityGroupName,
String securityRuleName)
Deletes the specified network security rule.
|
SecurityRuleInner |
get(String resourceGroupName,
String networkSecurityGroupName,
String securityRuleName)
Get the specified network security rule.
|
Mono<SecurityRuleInner> |
getAsync(String resourceGroupName,
String networkSecurityGroupName,
String securityRuleName)
Get the specified network security rule.
|
com.azure.core.http.rest.Response<SecurityRuleInner> |
getWithResponse(String resourceGroupName,
String networkSecurityGroupName,
String securityRuleName,
com.azure.core.util.Context context)
Get the specified network security rule.
|
Mono<com.azure.core.http.rest.Response<SecurityRuleInner>> |
getWithResponseAsync(String resourceGroupName,
String networkSecurityGroupName,
String securityRuleName)
Get the specified network security rule.
|
com.azure.core.http.rest.PagedIterable<SecurityRuleInner> |
list(String resourceGroupName,
String networkSecurityGroupName)
Gets all security rules in a network security group.
|
com.azure.core.http.rest.PagedIterable<SecurityRuleInner> |
list(String resourceGroupName,
String networkSecurityGroupName,
com.azure.core.util.Context context)
Gets all security rules in a network security group.
|
com.azure.core.http.rest.PagedFlux<SecurityRuleInner> |
listAsync(String resourceGroupName,
String networkSecurityGroupName)
Gets all security rules in a network security group.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String networkSecurityGroupName, String securityRuleName)
resourceGroupName - The name of the resource group.networkSecurityGroupName - The name of the network security group.securityRuleName - The name of the security rule.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.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String networkSecurityGroupName, String securityRuleName)
resourceGroupName - The name of the resource group.networkSecurityGroupName - The name of the network security group.securityRuleName - The name of the security rule.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String networkSecurityGroupName, String securityRuleName)
resourceGroupName - The name of the resource group.networkSecurityGroupName - The name of the network security group.securityRuleName - The name of the security rule.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String networkSecurityGroupName, String securityRuleName, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.networkSecurityGroupName - The name of the network security group.securityRuleName - The name of the security rule.context - The context to associate with this operation.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.Mono<Void> deleteAsync(String resourceGroupName, String networkSecurityGroupName, String securityRuleName)
resourceGroupName - The name of the resource group.networkSecurityGroupName - The name of the network security group.securityRuleName - The name of the security rule.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.void delete(String resourceGroupName, String networkSecurityGroupName, String securityRuleName)
resourceGroupName - The name of the resource group.networkSecurityGroupName - The name of the network security group.securityRuleName - The name of the security rule.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.void delete(String resourceGroupName, String networkSecurityGroupName, String securityRuleName, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.networkSecurityGroupName - The name of the network security group.securityRuleName - The name of the security rule.context - The context to associate with this operation.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.Mono<com.azure.core.http.rest.Response<SecurityRuleInner>> getWithResponseAsync(String resourceGroupName, String networkSecurityGroupName, String securityRuleName)
resourceGroupName - The name of the resource group.networkSecurityGroupName - The name of the network security group.securityRuleName - The name of the security rule.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.Mono<SecurityRuleInner> getAsync(String resourceGroupName, String networkSecurityGroupName, String securityRuleName)
resourceGroupName - The name of the resource group.networkSecurityGroupName - The name of the network security group.securityRuleName - The name of the security rule.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.SecurityRuleInner get(String resourceGroupName, String networkSecurityGroupName, String securityRuleName)
resourceGroupName - The name of the resource group.networkSecurityGroupName - The name of the network security group.securityRuleName - The name of the security rule.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.com.azure.core.http.rest.Response<SecurityRuleInner> getWithResponse(String resourceGroupName, String networkSecurityGroupName, String securityRuleName, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.networkSecurityGroupName - The name of the network security group.securityRuleName - The name of the security rule.context - The context to associate with this operation.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.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String networkSecurityGroupName, String securityRuleName, SecurityRuleInner securityRuleParameters)
resourceGroupName - The name of the resource group.networkSecurityGroupName - The name of the network security group.securityRuleName - The name of the security rule.securityRuleParameters - Parameters supplied to the create or update network security rule operation.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.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<SecurityRuleInner>,SecurityRuleInner> beginCreateOrUpdateAsync(String resourceGroupName, String networkSecurityGroupName, String securityRuleName, SecurityRuleInner securityRuleParameters)
resourceGroupName - The name of the resource group.networkSecurityGroupName - The name of the network security group.securityRuleName - The name of the security rule.securityRuleParameters - Parameters supplied to the create or update network security rule operation.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SecurityRuleInner>,SecurityRuleInner> beginCreateOrUpdate(String resourceGroupName, String networkSecurityGroupName, String securityRuleName, SecurityRuleInner securityRuleParameters)
resourceGroupName - The name of the resource group.networkSecurityGroupName - The name of the network security group.securityRuleName - The name of the security rule.securityRuleParameters - Parameters supplied to the create or update network security rule operation.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SecurityRuleInner>,SecurityRuleInner> beginCreateOrUpdate(String resourceGroupName, String networkSecurityGroupName, String securityRuleName, SecurityRuleInner securityRuleParameters, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.networkSecurityGroupName - The name of the network security group.securityRuleName - The name of the security rule.securityRuleParameters - Parameters supplied to the create or update network security rule operation.context - The context to associate with this operation.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.Mono<SecurityRuleInner> createOrUpdateAsync(String resourceGroupName, String networkSecurityGroupName, String securityRuleName, SecurityRuleInner securityRuleParameters)
resourceGroupName - The name of the resource group.networkSecurityGroupName - The name of the network security group.securityRuleName - The name of the security rule.securityRuleParameters - Parameters supplied to the create or update network security rule operation.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.SecurityRuleInner createOrUpdate(String resourceGroupName, String networkSecurityGroupName, String securityRuleName, SecurityRuleInner securityRuleParameters)
resourceGroupName - The name of the resource group.networkSecurityGroupName - The name of the network security group.securityRuleName - The name of the security rule.securityRuleParameters - Parameters supplied to the create or update network security rule operation.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.SecurityRuleInner createOrUpdate(String resourceGroupName, String networkSecurityGroupName, String securityRuleName, SecurityRuleInner securityRuleParameters, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.networkSecurityGroupName - The name of the network security group.securityRuleName - The name of the security rule.securityRuleParameters - Parameters supplied to the create or update network security rule operation.context - The context to associate with this operation.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.com.azure.core.http.rest.PagedFlux<SecurityRuleInner> listAsync(String resourceGroupName, String networkSecurityGroupName)
resourceGroupName - The name of the resource group.networkSecurityGroupName - The name of the network security group.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.com.azure.core.http.rest.PagedIterable<SecurityRuleInner> list(String resourceGroupName, String networkSecurityGroupName)
resourceGroupName - The name of the resource group.networkSecurityGroupName - The name of the network security group.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.com.azure.core.http.rest.PagedIterable<SecurityRuleInner> list(String resourceGroupName, String networkSecurityGroupName, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.networkSecurityGroupName - The name of the network security group.context - The context to associate with this operation.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.Copyright © 2021 Microsoft Corporation. All rights reserved.