Interface HybridIdentityMetadatas
public interface HybridIdentityMetadatas
Resource collection API of HybridIdentityMetadatas.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new HybridIdentityMetadata resource.void
Deletes an HybridIdentityMetadata.void
deleteById
(String id) Deletes an HybridIdentityMetadata.com.azure.core.http.rest.Response<Void>
deleteByIdWithResponse
(String id, com.azure.core.util.Context context) Deletes an HybridIdentityMetadata.com.azure.core.http.rest.Response<Void>
deleteWithResponse
(String resourceGroupName, String virtualMachineName, String metadataName, com.azure.core.util.Context context) Deletes an HybridIdentityMetadata.Gets HybridIdentityMetadata.Gets HybridIdentityMetadata.com.azure.core.http.rest.Response<HybridIdentityMetadata>
getByIdWithResponse
(String id, com.azure.core.util.Context context) Gets HybridIdentityMetadata.com.azure.core.http.rest.Response<HybridIdentityMetadata>
getWithResponse
(String resourceGroupName, String virtualMachineName, String metadataName, com.azure.core.util.Context context) Gets HybridIdentityMetadata.com.azure.core.http.rest.PagedIterable<HybridIdentityMetadata>
Implements GET HybridIdentityMetadata in a vm.com.azure.core.http.rest.PagedIterable<HybridIdentityMetadata>
Implements GET HybridIdentityMetadata in a vm.
-
Method Details
-
get
HybridIdentityMetadata get(String resourceGroupName, String virtualMachineName, String metadataName) Gets HybridIdentityMetadata.Implements HybridIdentityMetadata GET method.
- Parameters:
resourceGroupName
- The Resource Group Name.virtualMachineName
- Name of the vm.metadataName
- Name of the HybridIdentityMetadata.- Returns:
- defines the HybridIdentityMetadata.
- 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<HybridIdentityMetadata> getWithResponse(String resourceGroupName, String virtualMachineName, String metadataName, com.azure.core.util.Context context) Gets HybridIdentityMetadata.Implements HybridIdentityMetadata GET method.
- Parameters:
resourceGroupName
- The Resource Group Name.virtualMachineName
- Name of the vm.metadataName
- Name of the HybridIdentityMetadata.context
- The context to associate with this operation.- Returns:
- defines the HybridIdentityMetadata 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.
-
delete
Deletes an HybridIdentityMetadata.Implements HybridIdentityMetadata DELETE method.
- Parameters:
resourceGroupName
- The Resource Group Name.virtualMachineName
- Name of the vm.metadataName
- Name of the HybridIdentityMetadata.- 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 virtualMachineName, String metadataName, com.azure.core.util.Context context) Deletes an HybridIdentityMetadata.Implements HybridIdentityMetadata DELETE method.
- Parameters:
resourceGroupName
- The Resource Group Name.virtualMachineName
- Name of the vm.metadataName
- Name of the HybridIdentityMetadata.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.
-
listByVm
com.azure.core.http.rest.PagedIterable<HybridIdentityMetadata> listByVm(String resourceGroupName, String virtualMachineName) Implements GET HybridIdentityMetadata in a vm.Returns the list of HybridIdentityMetadata of the given vm.
- Parameters:
resourceGroupName
- The Resource Group Name.virtualMachineName
- Name of the vm.- Returns:
- list of HybridIdentityMetadata 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.
-
listByVm
com.azure.core.http.rest.PagedIterable<HybridIdentityMetadata> listByVm(String resourceGroupName, String virtualMachineName, com.azure.core.util.Context context) Implements GET HybridIdentityMetadata in a vm.Returns the list of HybridIdentityMetadata of the given vm.
- Parameters:
resourceGroupName
- The Resource Group Name.virtualMachineName
- Name of the vm.context
- The context to associate with this operation.- Returns:
- list of HybridIdentityMetadata 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.
-
getById
Gets HybridIdentityMetadata.Implements HybridIdentityMetadata GET method.
- Parameters:
id
- the resource ID.- Returns:
- defines the HybridIdentityMetadata 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.
-
getByIdWithResponse
com.azure.core.http.rest.Response<HybridIdentityMetadata> getByIdWithResponse(String id, com.azure.core.util.Context context) Gets HybridIdentityMetadata.Implements HybridIdentityMetadata GET method.
- Parameters:
id
- the resource ID.context
- The context to associate with this operation.- Returns:
- defines the HybridIdentityMetadata 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.
-
deleteById
Deletes an HybridIdentityMetadata.Implements HybridIdentityMetadata DELETE method.
- Parameters:
id
- the resource ID.- 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.
-
deleteByIdWithResponse
com.azure.core.http.rest.Response<Void> deleteByIdWithResponse(String id, com.azure.core.util.Context context) Deletes an HybridIdentityMetadata.Implements HybridIdentityMetadata DELETE method.
- Parameters:
id
- the resource ID.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.
-
define
Begins definition for a new HybridIdentityMetadata resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new HybridIdentityMetadata definition.
-