HybridComputeExtensions.GetHybridComputeExtensionValue Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets an Extension Metadata based on location, publisher, extensionType and version <item> Mocking. To mock this method, please mock GetHybridComputeExtensionValue(AzureLocation, String, String, String, CancellationToken) instead. </item>
public static Azure.Response<Azure.ResourceManager.HybridCompute.HybridComputeExtensionValueResource> GetHybridComputeExtensionValue(this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, string publisher, string extensionType, string version, System.Threading.CancellationToken cancellationToken = default);
static member GetHybridComputeExtensionValue : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * string * string * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.HybridCompute.HybridComputeExtensionValueResource>
<Extension()>
Public Function GetHybridComputeExtensionValue (subscriptionResource As SubscriptionResource, location As AzureLocation, publisher As String, extensionType As String, version As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of HybridComputeExtensionValueResource)
Parameters
- subscriptionResource
- SubscriptionResource
The SubscriptionResource the method will execute against.
- location
- AzureLocation
The location for the resource.
- publisher
- String
The publisher for the resource.
- extensionType
- String
The extensionType for the resource.
- version
- String
The version of the Extension being received.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
publisher, extensionType or version is an empty string, and was expected to be non-empty.
subscriptionResource is null.