@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 3.61 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Get a MasterSite
*
* Uses Azure REST API version 2023-10-01-preview.
*
* Other available API versions: 2023-06-06, 2024-05-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native offazure [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getMasterSitesController(args: GetMasterSitesControllerArgs, opts?: pulumi.InvokeOptions): Promise<GetMasterSitesControllerResult>;
export interface GetMasterSitesControllerArgs {
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: string;
/**
* Site name
*/
siteName: string;
}
/**
* A MasterSite
*/
export interface GetMasterSitesControllerResult {
/**
* Gets or sets a value indicating whether multiple sites per site type are
* allowed.
*/
readonly allowMultipleSites?: boolean;
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* Gets or sets a value for customer storage account ARM id.
*/
readonly customerStorageAccountArmId?: string;
/**
* Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
*/
readonly id: string;
/**
* The geo-location where the resource lives
*/
readonly location: string;
/**
* The name of the resource
*/
readonly name: string;
/**
* Gets the nested sites under Master Site.
*/
readonly nestedSites: string[];
/**
* Gets the private endpoint connections.
*/
readonly privateEndpointConnections: outputs.offazure.PrivateEndpointConnectionResponse[];
/**
* provisioning state enum
*/
readonly provisioningState: string;
/**
* Gets or sets the state of public network access.
*/
readonly publicNetworkAccess?: string;
/**
* Gets or sets the sites that are a part of Master Site.
* The key
* should contain the Site ARM name.
*/
readonly sites?: string[];
/**
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
readonly systemData: outputs.offazure.SystemDataResponse;
/**
* Resource tags.
*/
readonly tags?: {
[key: string]: string;
};
/**
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*/
readonly type: string;
}
/**
* Get a MasterSite
*
* Uses Azure REST API version 2023-10-01-preview.
*
* Other available API versions: 2023-06-06, 2024-05-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native offazure [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getMasterSitesControllerOutput(args: GetMasterSitesControllerOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetMasterSitesControllerResult>;
export interface GetMasterSitesControllerOutputArgs {
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
/**
* Site name
*/
siteName: pulumi.Input<string>;
}