@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2.19 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Gets the information about the network resource with the given name. The information include the description and other properties of the network.
*
* Uses Azure REST API version 2018-09-01-preview.
*/
export declare function getNetwork(args: GetNetworkArgs, opts?: pulumi.InvokeOptions): Promise<GetNetworkResult>;
export interface GetNetworkArgs {
/**
* The identity of the network.
*/
networkResourceName: string;
/**
* Azure resource group name
*/
resourceGroupName: string;
}
/**
* This type describes a network resource.
*/
export interface GetNetworkResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* Fully qualified identifier 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;
/**
* Describes properties of a network resource.
*/
readonly properties: outputs.servicefabricmesh.NetworkResourcePropertiesResponse;
/**
* Resource tags.
*/
readonly tags?: {
[key: string]: string;
};
/**
* The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
*/
readonly type: string;
}
/**
* Gets the information about the network resource with the given name. The information include the description and other properties of the network.
*
* Uses Azure REST API version 2018-09-01-preview.
*/
export declare function getNetworkOutput(args: GetNetworkOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetNetworkResult>;
export interface GetNetworkOutputArgs {
/**
* The identity of the network.
*/
networkResourceName: pulumi.Input<string>;
/**
* Azure resource group name
*/
resourceGroupName: pulumi.Input<string>;
}