{"version":3,"sources":["../../../packages/core/azure/resources/subscription-data.ts"],"names":[],"mappings":"AAAA,oBAAY,iBAAiB;IACzB,OAAO,IAAA;IACP,QAAQ,IAAA;IACR,OAAO,IAAA;IACP,OAAO,IAAA;IACP,MAAM,IAAA;CACT;AAED,oBAAY,aAAa;IACrB,gBAAgB,IAAA;IAChB,GAAG,IAAA;IACH,EAAE,IAAA;CACL;AAED,MAAM,WAAW,oBAAoB;IACjC;;;OAGG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAE5B;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,aAAa,EAAE,aAAa,CAAC;CAChC;AAED,MAAM,WAAW,YAAY;IACzB;;;;OAIG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAE5B;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,KAAK,EAAE,iBAAiB,CAAC;IAEzB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,oBAAoB,EAAE,oBAAoB,CAAC;CAC9C;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACnC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,KAAK,EAAE,YAAY,EAAE,CAAC;CACzB;AAED;;GAEG;AACH,MAAM,WAAW,4BAA4B;IACzC;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,KAAK,CAAC,EAAE,sBAAsB,CAAC;CAClC","file":"subscription-data.d.ts","sourcesContent":["export enum SubscriptionState {\r\n    Deleted,\r\n    Disabled,\r\n    Enabled,\r\n    PastDue,\r\n    Warned\r\n}\r\n\r\nexport enum SpendingLimit {\r\n    CurrentPeriodOff,\r\n    Off,\r\n    On\r\n}\r\n\r\nexport interface SubscriptionPolicies {\r\n    /**\r\n     * The subscription location placement ID. The ID indicates which regions are visible for a subscription.\r\n     * For example, a subscription with a location placement Id of Public_2014-09-01 has access to Azure public regions.\r\n     */\r\n    locationPlacementId: string;\r\n\r\n    /**\r\n     * The subscription quota ID.\r\n     */\r\n    quotaId: string;\r\n\r\n    /**\r\n     * The subscription spending limit.\r\n     */\r\n    spendingLimit: SpendingLimit;\r\n}\r\n\r\nexport interface Subscription {\r\n    /**\r\n     * The authorization source of the request.\r\n     * Valid values are one or more combinations of Legacy, RoleBased, Bypassed, Direct and Management.\r\n     * For example, 'Legacy, RoleBased'.\r\n     */\r\n    authorizationSource: string;\r\n\r\n    /**\r\n     * The subscription display name.\r\n     */\r\n    displayName: string;\r\n\r\n    /**\r\n     * The fully qualified ID for the subscription. For example, /subscriptions/00000000-0000-0000-0000-000000000000.\r\n     */\r\n    id: string;\r\n\r\n    /**\r\n     * The subscription state. Possible values are Enabled, Warned, PastDue, Disabled, and Deleted.\r\n     */\r\n    state: SubscriptionState;\r\n\r\n    /**\r\n     * The subscription ID.\r\n     */\r\n    subscriptionId: string;\r\n\r\n    /**\r\n     * The subscription policies.\r\n     */\r\n    subscriptionPolicies: SubscriptionPolicies;\r\n}\r\n\r\n/**\r\n * Subscription list operation response.\r\n */\r\nexport interface SubscriptionListResult {\r\n    /**\r\n     * The URL to get the next set of results.\r\n     */\r\n    nextLink: string;\r\n\r\n    /**\r\n     * An array of subscriptions.\r\n     */\r\n    value: Subscription[];\r\n}\r\n\r\n/**\r\n * Custom response to list all subscriptions.\r\n */\r\nexport interface SubscriptionsOperationResult {\r\n    /**\r\n     * The http status code.\r\n     */\r\n    httpStatusCode: number;\r\n\r\n    /**\r\n     * The subscription list.\r\n     */\r\n    value?: SubscriptionListResult;\r\n}\r\n"]}