import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js"; import * as msRest from "@azure/ms-rest-js"; export { BaseResource, CloudError }; /** * Location information. */ export interface Location { /** * The fully qualified ID of the location. For example, * /subscriptions/00000000-0000-0000-0000-000000000000/locations/westus. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly id?: string; /** * The subscription ID. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly subscriptionId?: string; /** * The location name. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly name?: string; /** * The display name of the location. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly displayName?: string; /** * The latitude of the location. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly latitude?: string; /** * The longitude of the location. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly longitude?: string; } /** * Subscription policies. */ export interface SubscriptionPolicies { /** * The subscription location placement ID. The ID indicates which regions are visible for a * subscription. For example, a subscription with a location placement Id of Public_2014-09-01 * has access to Azure public regions. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly locationPlacementId?: string; /** * The subscription quota ID. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly quotaId?: string; /** * The subscription spending limit. Possible values include: 'On', 'Off', 'CurrentPeriodOff' * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly spendingLimit?: SpendingLimit; } /** * Subscription information. */ export interface Subscription { /** * The fully qualified ID for the subscription. For example, * /subscriptions/00000000-0000-0000-0000-000000000000. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly id?: string; /** * The subscription ID. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly subscriptionId?: string; /** * The subscription display name. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly displayName?: string; /** * The subscription state. Possible values are Enabled, Warned, PastDue, Disabled, and Deleted. * Possible values include: 'Enabled', 'Warned', 'PastDue', 'Disabled', 'Deleted' * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly state?: SubscriptionState; /** * The subscription policies. */ subscriptionPolicies?: SubscriptionPolicies; /** * The authorization source of the request. Valid values are one or more combinations of Legacy, * RoleBased, Bypassed, Direct and Management. For example, 'Legacy, RoleBased'. */ authorizationSource?: string; } /** * Tenant Id information. */ export interface TenantIdDescription { /** * The fully qualified ID of the tenant. For example, * /tenants/00000000-0000-0000-0000-000000000000. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly id?: string; /** * The tenant ID. For example, 00000000-0000-0000-0000-000000000000. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly tenantId?: string; } /** * The object that represents the operation. */ export interface OperationDisplay { /** * Service provider: Microsoft.Resources */ provider?: string; /** * Resource on which the operation is performed: Profile, endpoint, etc. */ resource?: string; /** * Operation type: Read, write, delete, etc. */ operation?: string; /** * Description of the operation. */ description?: string; } /** * Microsoft.Resources operation */ export interface Operation { /** * Operation name: {provider}/{resource}/{operation} */ name?: string; /** * The object that represents the operation. */ display?: OperationDisplay; } /** * An interface representing SubscriptionClientOptions. */ export interface SubscriptionClientOptions extends AzureServiceClientOptions { baseUri?: string; } /** * @interface * Result of the request to list Microsoft.Resources operations. It contains a list of operations * and a URL link to get the next set of results. * @extends Array */ export interface OperationListResult extends Array { /** * URL to get the next set of operation list results if there are any. */ nextLink?: string; } /** * @interface * Location list operation response. * @extends Array */ export interface LocationListResult extends Array { } /** * @interface * Subscription list operation response. * @extends Array */ export interface SubscriptionListResult extends Array { /** * The URL to get the next set of results. */ nextLink: string; } /** * @interface * Tenant Ids information. * @extends Array */ export interface TenantListResult extends Array { /** * The URL to use for getting the next set of results. */ nextLink: string; } /** * Defines values for SubscriptionState. * Possible values include: 'Enabled', 'Warned', 'PastDue', 'Disabled', 'Deleted' * @readonly * @enum {string} */ export declare type SubscriptionState = 'Enabled' | 'Warned' | 'PastDue' | 'Disabled' | 'Deleted'; /** * Defines values for SpendingLimit. * Possible values include: 'On', 'Off', 'CurrentPeriodOff' * @readonly * @enum {string} */ export declare type SpendingLimit = 'On' | 'Off' | 'CurrentPeriodOff'; /** * Contains response data for the list operation. */ export declare type OperationsListResponse = OperationListResult & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { /** * The response body as text (string format) */ bodyAsText: string; /** * The response body as parsed JSON or XML */ parsedBody: OperationListResult; }; }; /** * Contains response data for the listNext operation. */ export declare type OperationsListNextResponse = OperationListResult & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { /** * The response body as text (string format) */ bodyAsText: string; /** * The response body as parsed JSON or XML */ parsedBody: OperationListResult; }; }; /** * Contains response data for the listLocations operation. */ export declare type SubscriptionsListLocationsResponse = LocationListResult & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { /** * The response body as text (string format) */ bodyAsText: string; /** * The response body as parsed JSON or XML */ parsedBody: LocationListResult; }; }; /** * Contains response data for the get operation. */ export declare type SubscriptionsGetResponse = Subscription & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { /** * The response body as text (string format) */ bodyAsText: string; /** * The response body as parsed JSON or XML */ parsedBody: Subscription; }; }; /** * Contains response data for the list operation. */ export declare type SubscriptionsListResponse = SubscriptionListResult & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { /** * The response body as text (string format) */ bodyAsText: string; /** * The response body as parsed JSON or XML */ parsedBody: SubscriptionListResult; }; }; /** * Contains response data for the listNext operation. */ export declare type SubscriptionsListNextResponse = SubscriptionListResult & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { /** * The response body as text (string format) */ bodyAsText: string; /** * The response body as parsed JSON or XML */ parsedBody: SubscriptionListResult; }; }; /** * Contains response data for the list operation. */ export declare type TenantsListResponse = TenantListResult & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { /** * The response body as text (string format) */ bodyAsText: string; /** * The response body as parsed JSON or XML */ parsedBody: TenantListResult; }; }; /** * Contains response data for the listNext operation. */ export declare type TenantsListNextResponse = TenantListResult & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { /** * The response body as text (string format) */ bodyAsText: string; /** * The response body as parsed JSON or XML */ parsedBody: TenantListResult; }; }; //# sourceMappingURL=index.d.ts.map