public class CertificateCloudCredentials extends SubscriptionCloudCredentials
| Constructor and Description |
|---|
CertificateCloudCredentials()
Instantiates a new certificate cloud credentials.
|
CertificateCloudCredentials(URI uri,
String subscriptionId,
com.microsoft.windowsazure.core.utils.KeyStoreCredential keyStoreCredential)
Instantiates a new certificate cloud credentials.
|
| Modifier and Type | Method and Description |
|---|---|
<T> void |
applyConfig(String profile,
Map<String,Object> properties) |
com.microsoft.windowsazure.core.utils.KeyStoreCredential |
getKeyStoreCredential()
Gets the key store credential.
|
String |
getSubscriptionId() |
URI |
getUri()
Gets the URI.
|
void |
setKeyStoreCredential(com.microsoft.windowsazure.core.utils.KeyStoreCredential keyStoreCredential)
Sets the key store credential.
|
void |
setSubscriptionId(String subscriptionId)
Sets the subscription id.
|
void |
setUri(URI uri)
Sets the URI.
|
public CertificateCloudCredentials()
@Inject
public CertificateCloudCredentials(@Named(value="management.uri")
URI uri,
@Named(value="management.subscription.id")
String subscriptionId,
com.microsoft.windowsazure.core.utils.KeyStoreCredential keyStoreCredential)
uri - the urisubscriptionId - the subscription idkeyStoreCredential - the key store credentialpublic String getSubscriptionId()
getSubscriptionId in class SubscriptionCloudCredentialspublic void setSubscriptionId(String subscriptionId)
subscriptionId - the new subscription idpublic com.microsoft.windowsazure.core.utils.KeyStoreCredential getKeyStoreCredential()
public void setKeyStoreCredential(com.microsoft.windowsazure.core.utils.KeyStoreCredential keyStoreCredential)
keyStoreCredential - the new key store credentialpublic URI getUri()
public void setUri(URI uri)
uri - the new URIpublic <T> void applyConfig(String profile, Map<String,Object> properties)
applyConfig in class CloudCredentials/**
* Copyright Microsoft Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/