@kengachu-pulumi/azure-native-apimanagement
Version:
Pulumi Azure Native package for apimanagement
86 lines (85 loc) • 2.5 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as types from "./types";
/**
* Lists policy resources that reference the policy fragment.
* Azure REST API version: 2022-09-01-preview.
*
* Other available API versions: 2023-03-01-preview.
*/
export declare function listWorkspacePolicyFragmentReferences(args: ListWorkspacePolicyFragmentReferencesArgs, opts?: pulumi.InvokeOptions): Promise<ListWorkspacePolicyFragmentReferencesResult>;
export interface ListWorkspacePolicyFragmentReferencesArgs {
/**
* A resource identifier.
*/
id: string;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: string;
/**
* The name of the API Management service.
*/
serviceName: string;
/**
* Number of records to skip.
*/
skip?: number;
/**
* Number of records to return.
*/
top?: number;
/**
* Workspace identifier. Must be unique in the current API Management service instance.
*/
workspaceId: string;
}
/**
* A collection of resources.
*/
export interface ListWorkspacePolicyFragmentReferencesResult {
/**
* Total record count number.
*/
readonly count?: number;
/**
* Next page link if any.
*/
readonly nextLink?: string;
/**
* A collection of resources.
*/
readonly value?: types.outputs.ResourceCollectionResponseValue[];
}
/**
* Lists policy resources that reference the policy fragment.
* Azure REST API version: 2022-09-01-preview.
*
* Other available API versions: 2023-03-01-preview.
*/
export declare function listWorkspacePolicyFragmentReferencesOutput(args: ListWorkspacePolicyFragmentReferencesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<ListWorkspacePolicyFragmentReferencesResult>;
export interface ListWorkspacePolicyFragmentReferencesOutputArgs {
/**
* A resource identifier.
*/
id: pulumi.Input<string>;
/**
* 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>;
/**
* Number of records to skip.
*/
skip?: pulumi.Input<number>;
/**
* Number of records to return.
*/
top?: pulumi.Input<number>;
/**
* Workspace identifier. Must be unique in the current API Management service instance.
*/
workspaceId: pulumi.Input<string>;
}