Interface DedicatedHsms


  • public interface DedicatedHsms
    Resource collection API of DedicatedHsms.
    • Method Detail

      • deleteByResourceGroup

        void deleteByResourceGroup​(String resourceGroupName,
                                   String name)
        Deletes the specified Azure Dedicated HSM.
        Parameters:
        resourceGroupName - The name of the Resource Group to which the dedicated HSM belongs.
        name - The name of the dedicated HSM to delete.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        ErrorException - 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 name,
                    com.azure.core.util.Context context)
        Deletes the specified Azure Dedicated HSM.
        Parameters:
        resourceGroupName - The name of the Resource Group to which the dedicated HSM belongs.
        name - The name of the dedicated HSM to delete.
        context - The context to associate with this operation.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        ErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getByResourceGroup

        DedicatedHsm getByResourceGroup​(String resourceGroupName,
                                        String name)
        Gets the specified Azure dedicated HSM.
        Parameters:
        resourceGroupName - The name of the Resource Group to which the dedicated hsm belongs.
        name - The name of the dedicated HSM.
        Returns:
        the specified Azure dedicated HSM.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        ErrorException - 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<DedicatedHsm> getByResourceGroupWithResponse​(String resourceGroupName,
                                                                                       String name,
                                                                                       com.azure.core.util.Context context)
        Gets the specified Azure dedicated HSM.
        Parameters:
        resourceGroupName - The name of the Resource Group to which the dedicated hsm belongs.
        name - The name of the dedicated HSM.
        context - The context to associate with this operation.
        Returns:
        the specified Azure dedicated HSM along with Response.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        ErrorException - 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<DedicatedHsm> listByResourceGroup​(String resourceGroupName)
        The List operation gets information about the dedicated hsms associated with the subscription and within the specified resource group.
        Parameters:
        resourceGroupName - The name of the Resource Group to which the dedicated HSM belongs.
        Returns:
        list of dedicated HSMs as paginated response with PagedIterable.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        ErrorException - 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<DedicatedHsm> listByResourceGroup​(String resourceGroupName,
                                                                                 Integer top,
                                                                                 com.azure.core.util.Context context)
        The List operation gets information about the dedicated hsms associated with the subscription and within the specified resource group.
        Parameters:
        resourceGroupName - The name of the Resource Group to which the dedicated HSM belongs.
        top - Maximum number of results to return.
        context - The context to associate with this operation.
        Returns:
        list of dedicated HSMs as paginated response with PagedIterable.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        ErrorException - 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<DedicatedHsm> list()
        The List operation gets information about the dedicated HSMs associated with the subscription.
        Returns:
        list of dedicated HSMs as paginated response with PagedIterable.
        Throws:
        ErrorException - 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<DedicatedHsm> list​(Integer top,
                                                                  com.azure.core.util.Context context)
        The List operation gets information about the dedicated HSMs associated with the subscription.
        Parameters:
        top - Maximum number of results to return.
        context - The context to associate with this operation.
        Returns:
        list of dedicated HSMs as paginated response with PagedIterable.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        ErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listOutboundNetworkDependenciesEndpoints

        com.azure.core.http.rest.PagedIterable<OutboundEnvironmentEndpoint> listOutboundNetworkDependenciesEndpoints​(String resourceGroupName,
                                                                                                                     String name)
        Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the specified dedicated hsm resource. The operation returns properties of each egress endpoint.
        Parameters:
        resourceGroupName - The name of the Resource Group to which the dedicated hsm belongs.
        name - The name of the dedicated HSM.
        Returns:
        a list of egress endpoints (network endpoints of all outbound dependencies) in the specified dedicated hsm resource as paginated response with PagedIterable.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        ErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listOutboundNetworkDependenciesEndpoints

        com.azure.core.http.rest.PagedIterable<OutboundEnvironmentEndpoint> listOutboundNetworkDependenciesEndpoints​(String resourceGroupName,
                                                                                                                     String name,
                                                                                                                     com.azure.core.util.Context context)
        Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the specified dedicated hsm resource. The operation returns properties of each egress endpoint.
        Parameters:
        resourceGroupName - The name of the Resource Group to which the dedicated hsm belongs.
        name - The name of the dedicated HSM.
        context - The context to associate with this operation.
        Returns:
        a list of egress endpoints (network endpoints of all outbound dependencies) in the specified dedicated hsm resource as paginated response with PagedIterable.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        ErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getById

        DedicatedHsm getById​(String id)
        Gets the specified Azure dedicated HSM.
        Parameters:
        id - the resource ID.
        Returns:
        the specified Azure dedicated HSM along with Response.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        ErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getByIdWithResponse

        com.azure.core.http.rest.Response<DedicatedHsm> getByIdWithResponse​(String id,
                                                                            com.azure.core.util.Context context)
        Gets the specified Azure dedicated HSM.
        Parameters:
        id - the resource ID.
        context - The context to associate with this operation.
        Returns:
        the specified Azure dedicated HSM along with Response.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        ErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • deleteById

        void deleteById​(String id)
        Deletes the specified Azure Dedicated HSM.
        Parameters:
        id - the resource ID.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        ErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • deleteByIdWithResponse

        void deleteByIdWithResponse​(String id,
                                    com.azure.core.util.Context context)
        Deletes the specified Azure Dedicated HSM.
        Parameters:
        id - the resource ID.
        context - The context to associate with this operation.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        ErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • define

        DedicatedHsm.DefinitionStages.Blank define​(String name)
        Begins definition for a new DedicatedHsm resource.
        Parameters:
        name - resource name.
        Returns:
        the first stage of the new DedicatedHsm definition.