public class ProviderRegistrationPolicy extends Object implements com.azure.core.http.policy.HttpPipelinePolicy
| Constructor and Description |
|---|
ProviderRegistrationPolicy()
Initialize a provider registration policy to automatically register the provider.
|
ProviderRegistrationPolicy(Providers providers)
Initialize a provider registration policy to automatically register the provider.
|
ProviderRegistrationPolicy(ResourceManager resourceManager)
Initialize a provider registration policy to automatically register the provider.
|
| Modifier and Type | Method and Description |
|---|---|
Providers |
getProviders() |
Mono<com.azure.core.http.HttpResponse> |
process(com.azure.core.http.HttpPipelineCallContext context,
com.azure.core.http.HttpPipelineNextPolicy next) |
void |
setProviders(Providers providers)
Sets the providers endpoint after initialized
|
public ProviderRegistrationPolicy()
public ProviderRegistrationPolicy(ResourceManager resourceManager)
resourceManager - the Resource Manager that provider providers endpointpublic ProviderRegistrationPolicy(Providers providers)
providers - the providers endpointpublic void setProviders(Providers providers)
providers - the providers endpointpublic Providers getProviders()
public Mono<com.azure.core.http.HttpResponse> process(com.azure.core.http.HttpPipelineCallContext context, com.azure.core.http.HttpPipelineNextPolicy next)
process in interface com.azure.core.http.policy.HttpPipelinePolicyCopyright © 2021 Microsoft Corporation. All rights reserved.