Interface HybridIdentityMetadatasClient
public interface HybridIdentityMetadatasClient
An instance of this class provides access to all the operations defined in HybridIdentityMetadatasClient.
-
Method Summary
Modifier and TypeMethodDescriptionImplements HybridIdentityMetadata PUT method.com.azure.core.http.rest.Response<HybridIdentityMetadataInner>
createWithResponse
(String resourceGroupName, String virtualMachineName, String metadataName, HybridIdentityMetadataInner body, com.azure.core.util.Context context) Implements HybridIdentityMetadata PUT method.void
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.com.azure.core.http.rest.Response<HybridIdentityMetadataInner>
getWithResponse
(String resourceGroupName, String virtualMachineName, String metadataName, com.azure.core.util.Context context) Gets HybridIdentityMetadata.com.azure.core.http.rest.PagedIterable<HybridIdentityMetadataInner>
Implements GET HybridIdentityMetadata in a vm.com.azure.core.http.rest.PagedIterable<HybridIdentityMetadataInner>
Implements GET HybridIdentityMetadata in a vm.
-
Method Details
-
create
HybridIdentityMetadataInner create(String resourceGroupName, String virtualMachineName, String metadataName) Implements HybridIdentityMetadata PUT method.Create Or Update HybridIdentityMetadata.
- 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.
-
createWithResponse
com.azure.core.http.rest.Response<HybridIdentityMetadataInner> createWithResponse(String resourceGroupName, String virtualMachineName, String metadataName, HybridIdentityMetadataInner body, com.azure.core.util.Context context) Implements HybridIdentityMetadata PUT method.Create Or Update HybridIdentityMetadata.
- Parameters:
resourceGroupName
- The Resource Group Name.virtualMachineName
- Name of the vm.metadataName
- Name of the hybridIdentityMetadata.body
- Request payload.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.
-
get
HybridIdentityMetadataInner 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<HybridIdentityMetadataInner> 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<HybridIdentityMetadataInner> 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<HybridIdentityMetadataInner> 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.
-