public static Authenticated authenticate ( AzureTokenCredentials credentials ) { return new AuthenticatedImpl ( new RestClient . Builder ( ) . withBaseUrl ( credentials . environment ( ) , AzureEnvironment . Endpoint . RESOURCE_MANAGER ) . withCredentials ( credentials ) . withSerializerAdapter ( new AzureJacksonAdapter ( ) ) . withResponseBuilderFactory ( new AzureResponseBuilder . Factory ( ) ) . build ( ) ) ; }
Creates an instance of Azure . Authenticated that exposes subscription tenant and authorization API entry points .