swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector Plan API schemes: - https tags: - name: Plan paths: /subscriptions/{subscriptionId}/providers/NewRelic.Observability/plans: get: tags: - Plan operationId: microsoftAzurePlansList description: List plans data parameters: - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter - $ref: '#/parameters/AccountIdParameter' - $ref: '#/parameters/OrganizationIdParameter' responses: '200': description: ARM operation completed successfully. schema: $ref: '#/definitions/PlanDataListResponse' default: description: An unexpected error response. schema: $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse x-ms-pageable: nextLinkName: nextLink x-ms-examples: Plans_List_MaximumSet_Gen: $ref: ./examples/Plans_List_MaximumSet_Gen.json Plans_List_MinimumSet_Gen: $ref: ./examples/Plans_List_MinimumSet_Gen.json summary: Microsoft Azure Get Subscriptions Subscriptionid Providers Newrelic Observability Plans definitions: AccountCreationSource: type: string description: Source of Account creation enum: - LIFTR - NEWRELIC x-ms-enum: name: AccountCreationSource modelAsString: true values: - name: LIFTR value: LIFTR description: Account is created from LIFTR - name: NEWRELIC value: NEWRELIC description: Account is created from NEWRELIC PlanDataResource: type: object properties: properties: $ref: '#/definitions/PlanDataProperties' description: The resource-specific properties for this resource. x-ms-client-flatten: true x-ms-mutability: - read - create description: The details of a PlanData resource. allOf: - $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource PlanDataProperties: type: object properties: planData: $ref: '#/definitions/PlanData' description: Plan details orgCreationSource: $ref: '#/definitions/OrgCreationSource' description: Source of org creation accountCreationSource: $ref: '#/definitions/AccountCreationSource' description: Source of account creation description: Plan details UsageType: type: string description: Different usage type like PAYG/COMMITTED enum: - PAYG - COMMITTED x-ms-enum: name: UsageType modelAsString: true values: - name: PAYG value: PAYG description: Usage type is PAYG - name: COMMITTED value: COMMITTED description: Usage type is COMMITTED PlanDataListResponse: type: object properties: value: type: array items: $ref: '#/definitions/PlanDataResource' x-cadl-name: PlanDataResource[] description: The PlanDataResource items on this page nextLink: type: string format: uri description: The link to the next page of items x-cadl-name: Rest.ResourceLocation description: Response of get all plan data Operation. required: - value OrgCreationSource: type: string description: Source of Org creation enum: - LIFTR - NEWRELIC x-ms-enum: name: OrgCreationSource modelAsString: true values: - name: LIFTR value: LIFTR description: Org is created from LIFTR - name: NEWRELIC value: NEWRELIC description: Org is created from NEWRELIC PlanData: type: object properties: usageType: $ref: '#/definitions/UsageType' description: Different usage type like PAYG/COMMITTED. this could be enum billingCycle: $ref: '#/definitions/BillingCycle' description: Different billing cycles like MONTHLY/WEEKLY. this could be enum planDetails: type: string description: plan id as published by NewRelic effectiveDate: type: string format: date-time description: date when plan was applied description: Plan data of NewRelic Monitor resource BillingCycle: type: string description: Different usage type like YEARLY/MONTHLY enum: - YEARLY - MONTHLY - WEEKLY x-ms-enum: name: BillingCycle modelAsString: true values: - name: YEARLY value: YEARLY description: Billing cycle is YEARLY - name: MONTHLY value: MONTHLY description: Billing cycle is MONTHLY - name: WEEKLY value: WEEKLY description: Billing cycle is WEEKLY parameters: OrganizationIdParameter: name: organizationId in: query required: false description: Organization Id. type: string x-ms-parameter-location: method AccountIdParameter: name: accountId in: query required: false description: Account Id. type: string x-ms-parameter-location: method x-ms-parameterized-host: hostTemplate: '{endpoint}' useSchemePrefix: false parameters: - $ref: '#/parameters/Endpoint'