Class AzureBootstrapGatewayProvider
A BootstrapGatewayProvider implementation that can be used with Connect(string, BootstrapGatewayProvider) to connect to ScaleOut hosts running in an Microsoft Azure environment.
public class AzureBootstrapGatewayProvider : BootstrapGatewayProvider
- Inheritance
-
AzureBootstrapGatewayProvider
- Inherited Members
Remarks
If an AzureBootstrapGatewayProvider instance is supplied to Connect(string, BootstrapGatewayProvider), the following exceptions may be thrown during the initial connection or during cache operations when the library is trying to reconnect to instances of the ScaleOut service:
Exception | Description |
---|---|
Scaleout.Client.Azure.AdapterException |
No Azure instances were found with the ScaleOut store name supplied to the AzureBootstrapGatewayProvider's constructor,
or a ScaleOut-related Azure VMSS contains invalid metadata in its __soss_metadata tag.
|
Scaleout.Client.Azure.TagMissingException |
ScaleOut-related Azure VMSS is missing tag metadata (the __soss_metadata tag)
that is required for a client connections. This tag is set
automatically by the ArmTemplate file that was used to deploy
the ScaleOut service.
|
Microsoft.Identity.Client.MsalServiceException. | When we're unable to get authenticated with Microsoft Entra (Azure Active Directory). |
Constructors
- AzureBootstrapGatewayProvider(ArmClient, string, GatewayType, ILogger)
Constructs an AzureBootstrapGatewayProvider using an existing Azure ArmClient instance.
- AzureBootstrapGatewayProvider(string, string, X509Certificate2, string, GatewayType, ILogger)
Constructor.
Methods
- GetAsync()
Returns a collection of Bootstrap gateway specifications for ScaleOut hosts running in an Microsoft Azure environment.