Interface Certificates


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

      • list

        com.azure.core.http.rest.PagedIterable<Certificate> list​(String resourceGroupName,
                                                                 String managedEnvironmentName)
        Get the Certificates in a given managed environment.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        managedEnvironmentName - Name of the Managed Environment.
        Returns:
        the Certificates in a given managed environment as paginated response with PagedIterable.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - 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<Certificate> list​(String resourceGroupName,
                                                                 String managedEnvironmentName,
                                                                 com.azure.core.util.Context context)
        Get the Certificates in a given managed environment.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        managedEnvironmentName - Name of the Managed Environment.
        context - The context to associate with this operation.
        Returns:
        the Certificates in a given managed environment as paginated response with PagedIterable.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • get

        Certificate get​(String resourceGroupName,
                        String managedEnvironmentName,
                        String name)
        Get the specified Certificate.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        managedEnvironmentName - Name of the Managed Environment.
        name - Name of the Certificate.
        Returns:
        the specified Certificate.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - 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<Certificate> getWithResponse​(String resourceGroupName,
                                                                       String managedEnvironmentName,
                                                                       String name,
                                                                       com.azure.core.util.Context context)
        Get the specified Certificate.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        managedEnvironmentName - Name of the Managed Environment.
        name - Name of the Certificate.
        context - The context to associate with this operation.
        Returns:
        the specified Certificate along with Response.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - 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 managedEnvironmentName,
                    String name)
        Deletes the specified Certificate.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        managedEnvironmentName - Name of the Managed Environment.
        name - Name of the Certificate.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - 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 managedEnvironmentName,
                                                                   String name,
                                                                   com.azure.core.util.Context context)
        Deletes the specified Certificate.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        managedEnvironmentName - Name of the Managed Environment.
        name - Name of the Certificate.
        context - The context to associate with this operation.
        Returns:
        the Response.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - 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<Certificate> getByIdWithResponse​(String id,
                                                                           com.azure.core.util.Context context)
        Get the specified Certificate.
        Parameters:
        id - the resource ID.
        context - The context to associate with this operation.
        Returns:
        the specified Certificate along with Response.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • deleteByIdWithResponse

        com.azure.core.http.rest.Response<Void> deleteByIdWithResponse​(String id,
                                                                       com.azure.core.util.Context context)
        Deletes the specified Certificate.
        Parameters:
        id - the resource ID.
        context - The context to associate with this operation.
        Returns:
        the Response.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • define

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