@kengachu-pulumi/azure-native-apimanagement
Version:
Pulumi Azure Native package for apimanagement
144 lines (143 loc) • 5.39 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as types from "./types";
/**
* Gets an API Management service resource description.
*/
export declare function getApiManagementService(args: GetApiManagementServiceArgs, opts?: pulumi.InvokeOptions): Promise<GetApiManagementServiceResult>;
export interface GetApiManagementServiceArgs {
/**
* The name of the resource group.
*/
resourceGroupName: string;
/**
* The name of the API Management service.
*/
serviceName: string;
}
/**
* A single API Management service resource in List or Get response.
*/
export interface GetApiManagementServiceResult {
/**
* Additional datacenter locations of the API Management service.
*/
readonly additionalLocations?: types.outputs.AdditionalLocationResponse[];
/**
* List of Certificates that need to be installed in the API Management service. Max supported certificates that can be installed is 10.
*/
readonly certificates?: types.outputs.CertificateConfigurationResponse[];
/**
* Creation UTC date of the API Management service.The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.
*/
readonly createdAtUtc: string;
/**
* Custom properties of the API Management service. Setting `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TripleDes168` will disable the cipher TLS_RSA_WITH_3DES_EDE_CBC_SHA for all TLS(1.0, 1.1 and 1.2). Setting `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11` can be used to disable just TLS 1.1 and setting `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10` can be used to disable TLS 1.0 on an API Management service.
*/
readonly customProperties?: {
[key: string]: string;
};
/**
* ETag of the resource.
*/
readonly etag: string;
/**
* Gateway URL of the API Management service in the Default Region.
*/
readonly gatewayRegionalUrl: string;
/**
* Gateway URL of the API Management service.
*/
readonly gatewayUrl: string;
/**
* Custom hostname configuration of the API Management service.
*/
readonly hostnameConfigurations?: types.outputs.HostnameConfigurationResponse[];
/**
* Resource ID.
*/
readonly id: string;
/**
* Managed service identity of the Api Management service.
*/
readonly identity?: types.outputs.ApiManagementServiceIdentityResponse;
/**
* Resource location.
*/
readonly location: string;
/**
* Management API endpoint URL of the API Management service.
*/
readonly managementApiUrl: string;
/**
* Resource name.
*/
readonly name: string;
/**
* Email address from which the notification will be sent.
*/
readonly notificationSenderEmail?: string;
/**
* Publisher portal endpoint Url of the API Management service.
*/
readonly portalUrl: string;
/**
* The current provisioning state of the API Management service which can be one of the following: Created/Activating/Succeeded/Updating/Failed/Stopped/Terminating/TerminationFailed/Deleted.
*/
readonly provisioningState: string;
/**
* Publisher email.
*/
readonly publisherEmail: string;
/**
* Publisher name.
*/
readonly publisherName: string;
/**
* SCM endpoint URL of the API Management service.
*/
readonly scmUrl: string;
/**
* SKU properties of the API Management service.
*/
readonly sku: types.outputs.ApiManagementServiceSkuPropertiesResponse;
/**
* Static IP addresses of the API Management service virtual machines. Available only for Standard and Premium SKU.
*/
readonly staticIps: string[];
/**
* Resource tags.
*/
readonly tags?: {
[key: string]: string;
};
/**
* The provisioning state of the API Management service, which is targeted by the long running operation started on the service.
*/
readonly targetProvisioningState: string;
/**
* Resource type for API Management resource is set to Microsoft.ApiManagement.
*/
readonly type: string;
/**
* Virtual network configuration of the API Management service.
*/
readonly virtualNetworkConfiguration?: types.outputs.VirtualNetworkConfigurationResponse;
/**
* The type of VPN in which API Management service needs to be configured in. None (Default Value) means the API Management service is not part of any Virtual Network, External means the API Management deployment is set up inside a Virtual Network having an Internet Facing Endpoint, and Internal means that API Management deployment is setup inside a Virtual Network having an Intranet Facing Endpoint only.
*/
readonly virtualNetworkType?: string;
}
/**
* Gets an API Management service resource description.
*/
export declare function getApiManagementServiceOutput(args: GetApiManagementServiceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetApiManagementServiceResult>;
export interface GetApiManagementServiceOutputArgs {
/**
* The name of the resource group.
*/
resourceGroupName: pulumi.Input<string>;
/**
* The name of the API Management service.
*/
serviceName: pulumi.Input<string>;
}