com.azure.resourcemanager.storage.models.PublicEndpoints Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-storage Show documentation
Show all versions of azure-resourcemanager-storage Show documentation
This package contains Microsoft Azure Storage Management SDK.
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.resourcemanager.storage.models;
/**
* An instance of this class stores the The URIs associated with a storage account that are used to perform a retrieval
* of a public blob, queue or table object.
*/
public class PublicEndpoints {
private final Endpoints primary;
private final Endpoints secondary;
/**
* Creates an instance of PublicEndpoints with two access endpoints.
*
* @param primary the primary endpoint
* @param secondary the secondary endpoint
*/
public PublicEndpoints(Endpoints primary, Endpoints secondary) {
this.primary = primary;
this.secondary = secondary;
}
/**
* @return the URLs that are used to perform a retrieval of a public blob, queue or table object.Note that
* StandardZRS and PremiumLRS accounts only return the blob endpoint.
*/
public Endpoints primary() {
return primary;
}
/**
* @return the URLs that are used to perform a retrieval of a public blob, queue or table object from the secondary
* location of the storage account. Only available if the accountType is StandardRAGRS.
*/
public Endpoints secondary() {
return secondary;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy