MockableAttestationSubscriptionResource.GetDefaultAttestationProviderByLocation 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.
Get the default provider by location.
- Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.Attestation/locations/{location}/defaultProvider.
- Operation Id. : AttestationProvidersOperationGroup_GetDefaultByLocation.
- Default Api Version. : 2021-06-01.
public virtual Azure.Response<Azure.ResourceManager.Attestation.AttestationProviderResource> GetDefaultAttestationProviderByLocation(Azure.Core.AzureLocation location, System.Threading.CancellationToken cancellationToken = default);
abstract member GetDefaultAttestationProviderByLocation : Azure.Core.AzureLocation * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Attestation.AttestationProviderResource>
override this.GetDefaultAttestationProviderByLocation : Azure.Core.AzureLocation * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Attestation.AttestationProviderResource>
Public Overridable Function GetDefaultAttestationProviderByLocation (location As AzureLocation, Optional cancellationToken As CancellationToken = Nothing) As Response(Of AttestationProviderResource)
Parameters
- location
- AzureLocation
The name of the Azure region.
- cancellationToken
- CancellationToken
The cancellation token to use.