v2

latestSwagger 2.0raw.githubusercontent.com2019-06-18132945.8 KB
Views

Gets the view for the defined scope by view name.

get/{scope}/providers/Microsoft.CostManagement/views/{viewName}

Path parameters

scopestring required

The scope associated with view operations. This includes 'subscriptions/{subscriptionId}' for subscription scope, 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for BillingProfile scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}' for InvoiceSection scope, 'providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope, 'providers/Microsoft.CostManagement/externalBillingAccounts/{externalBillingAccountName}' for External Billing Account scope and 'providers/Microsoft.CostManagement/externalSubscriptions/{externalSubscriptionName}' for External Subscription scope.

viewNamestring required

View name

Query parameters

api-versionstring required

Version of the API to be used with the client request. The current version is 2019-04-01-preview

Response

OK. The request has succeeded.

idstring

Resource Id.

namestring

Resource name.

typestring

Resource type.

eTagstring

eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not.