@kengachu-pulumi/azure-native-apimanagement
Version:
Pulumi Azure Native package for apimanagement
84 lines (83 loc) • 3.19 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as types from "./types";
/**
* Authorization Provider contract.
* Azure REST API version: 2022-08-01.
*
* Other available API versions: 2022-09-01-preview, 2023-03-01-preview.
*/
export declare class AuthorizationProvider extends pulumi.CustomResource {
/**
* Get an existing AuthorizationProvider resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): AuthorizationProvider;
/** @internal */
static readonly __pulumiType = "azure-native:apimanagement:AuthorizationProvider";
/**
* Returns true if the given object is an instance of AuthorizationProvider. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is AuthorizationProvider;
/**
* Authorization Provider name. Must be 1 to 300 characters long.
*/
readonly displayName: pulumi.Output<string | undefined>;
/**
* Identity provider name. Must be 1 to 300 characters long.
*/
readonly identityProvider: pulumi.Output<string | undefined>;
/**
* The name of the resource
*/
readonly name: pulumi.Output<string>;
/**
* OAuth2 settings
*/
readonly oauth2: pulumi.Output<types.outputs.AuthorizationProviderOAuth2SettingsResponse | undefined>;
/**
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*/
readonly type: pulumi.Output<string>;
/**
* Create a AuthorizationProvider resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args: AuthorizationProviderArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a AuthorizationProvider resource.
*/
export interface AuthorizationProviderArgs {
/**
* Identifier of the authorization provider.
*/
authorizationProviderId?: pulumi.Input<string>;
/**
* Authorization Provider name. Must be 1 to 300 characters long.
*/
displayName?: pulumi.Input<string>;
/**
* Identity provider name. Must be 1 to 300 characters long.
*/
identityProvider?: pulumi.Input<string>;
/**
* OAuth2 settings
*/
oauth2?: pulumi.Input<types.inputs.AuthorizationProviderOAuth2SettingsArgs>;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
/**
* The name of the API Management service.
*/
serviceName: pulumi.Input<string>;
}