swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector UserOrganization API schemes: - https tags: - name: UserOrganization paths: /subscriptions/{subscriptionId}/providers/Microsoft.Elastic/getElasticOrganizationToAzureSubscriptionMapping: post: tags: - UserOrganization summary: Microsoft Azure Get Elastic Organization To Azure Subscription Mapping Details For The Logged In User description: Get Elastic Organization To Azure Subscription Mapping details for the logged-in user. operationId: microsoftAzureOrganizationsGetelastictoazuresubscriptionmapping produces: - application/json parameters: - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter responses: '200': description: Success schema: $ref: '#/definitions/ElasticOrganizationToAzureSubscriptionMappingResponse' default: description: Default error response. schema: $ref: '#/definitions/ResourceProviderDefaultErrorResponse' x-ms-examples: Organizations_GetElasticToAzureSubscriptionMapping: $ref: ./examples/Organizations_GetElasticToAzureSubscriptionMapping.json definitions: ElasticOrganizationToAzureSubscriptionMappingResponse: description: The Azure Subscription ID to which the Organization of the logged in user belongs and gets billed into. type: object properties: properties: $ref: '#/definitions/ElasticOrganizationToAzureSubscriptionMappingResponseProperties' MarketplaceSaaSInfo: description: Marketplace SAAS Info of the resource. type: object properties: marketplaceSubscription: description: Marketplace Subscription type: object properties: id: description: Marketplace Subscription Id. This is a GUID-formatted string. type: string marketplaceName: description: 'Marketplace Subscription Details: SAAS Name' type: string marketplaceResourceId: description: 'Marketplace Subscription Details: Resource URI' type: string marketplaceStatus: description: 'Marketplace Subscription Details: SaaS Subscription Status' type: string billedAzureSubscriptionId: description: The Azure Subscription ID to which the Marketplace Subscription belongs and gets billed into. type: string subscribed: description: Flag specifying if the Marketplace status is subscribed or not. type: boolean ResourceProviderDefaultErrorResponse: description: RP default error response. type: object properties: error: description: Response body of Error readOnly: true $ref: '#/definitions/ErrorResponseBody' ElasticOrganizationToAzureSubscriptionMappingResponseProperties: description: The properties of Azure Subscription ID to which the Organization of the logged in user belongs and gets billed into. type: object properties: billedAzureSubscriptionId: description: The Azure Subscription ID to which the Organization belongs and gets billed into. This is empty for a new user OR a user without an Elastic Organization. type: string marketplaceSaasInfo: description: Marketplace SaaS Info of the resource. $ref: '#/definitions/MarketplaceSaaSInfo' readOnly: true elasticOrganizationId: description: The Elastic Organization Id. type: string elasticOrganizationName: description: The Elastic Organization Name. type: string ErrorResponseBody: description: Error response body. title: ErrorResponseBody type: object properties: code: description: Error code. type: string message: description: Error message. type: string target: description: Error target. type: string details: description: Error details. type: array x-ms-identifiers: [] items: $ref: '#/definitions/ErrorResponseBody' x-ms-parameterized-host: hostTemplate: '{endpoint}' useSchemePrefix: false parameters: - $ref: '#/parameters/Endpoint'