@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2.64 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Get a AgriServiceResource
*
* Uses Azure REST API version 2024-06-01-preview.
*/
export declare function getAgriService(args: GetAgriServiceArgs, opts?: pulumi.InvokeOptions): Promise<GetAgriServiceResult>;
export interface GetAgriServiceArgs {
/**
* The name of the AgriService resource.
*/
agriServiceResourceName: string;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: string;
}
/**
* Schema of the AgriService resource from Microsoft.AgriculturePlatform resource provider.
*/
export interface GetAgriServiceResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
*/
readonly id: string;
/**
* The managed service identities assigned to this resource.
*/
readonly identity?: outputs.agricultureplatform.ManagedServiceIdentityResponse;
/**
* The geo-location where the resource lives
*/
readonly location: string;
/**
* The name of the resource
*/
readonly name: string;
/**
* The resource-specific properties for this resource.
*/
readonly properties: outputs.agricultureplatform.AgriServiceResourcePropertiesResponse;
/**
* The SKU (Stock Keeping Unit) assigned to this resource.
*/
readonly sku?: outputs.agricultureplatform.SkuResponse;
/**
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
readonly systemData: outputs.agricultureplatform.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 AgriServiceResource
*
* Uses Azure REST API version 2024-06-01-preview.
*/
export declare function getAgriServiceOutput(args: GetAgriServiceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAgriServiceResult>;
export interface GetAgriServiceOutputArgs {
/**
* The name of the AgriService resource.
*/
agriServiceResourceName: pulumi.Input<string>;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
}