Documentation ¶
Index ¶
- Constants
- type Subscription
- type SubscriptionClient
- type SubscriptionListResult
- type SubscriptionsClient
- func (client SubscriptionsClient) Get(subscriptionId string) (result Subscription, ae autorest.Error)
- func (client SubscriptionsClient) GetRequestPreparer() autorest.Preparer
- func (client SubscriptionsClient) List() (result SubscriptionListResult, ae autorest.Error)
- func (client SubscriptionsClient) ListRequestPreparer() autorest.Preparer
- func (client SubscriptionsClient) NewGetRequest(subscriptionId string) (*http.Request, error)
- func (client SubscriptionsClient) NewListRequest() (*http.Request, error)
- type TenantIdDescription
- type TenantListResult
- type TenantsClient
Constants ¶
View Source
const ( ApiVersion = "2014-04-01-preview" DefaultBaseUri = "https://management.azure.com" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Subscription ¶
type Subscription struct { autorest.Response `json:"-"` Id string `json:"id,omitempty"` SubscriptionId string `json:"subscriptionId,omitempty"` DisplayName string `json:"displayName,omitempty"` State string `json:"state,omitempty"` }
Subscription information.
type SubscriptionClient ¶
func New ¶
func New(subscriptionId string) SubscriptionClient
func NewWithBaseUri ¶
func NewWithBaseUri(baseUri string, subscriptionId string) SubscriptionClient
type SubscriptionListResult ¶
type SubscriptionListResult struct { autorest.Response `json:"-"` Value []Subscription `json:"value,omitempty"` NextLink string `json:"nextLink,omitempty"` }
Subscription list operation response.
type SubscriptionsClient ¶
type SubscriptionsClient struct {
SubscriptionClient
}
Subscriptions Client
func NewSubscriptionsClient ¶
func NewSubscriptionsClient(subscriptionId string) SubscriptionsClient
func NewSubscriptionsClientWithBaseUri ¶
func NewSubscriptionsClientWithBaseUri(baseUri string, subscriptionId string) SubscriptionsClient
func (SubscriptionsClient) Get ¶
func (client SubscriptionsClient) Get(subscriptionId string) (result Subscription, ae autorest.Error)
Get gets details about particular subscription.
subscriptionId is id of the subscription.
func (SubscriptionsClient) GetRequestPreparer ¶
func (client SubscriptionsClient) GetRequestPreparer() autorest.Preparer
Create a Preparer by which to prepare the Get request.
func (SubscriptionsClient) List ¶
func (client SubscriptionsClient) List() (result SubscriptionListResult, ae autorest.Error)
List gets a list of the subscriptionIds.
func (SubscriptionsClient) ListRequestPreparer ¶
func (client SubscriptionsClient) ListRequestPreparer() autorest.Preparer
Create a Preparer by which to prepare the List request.
func (SubscriptionsClient) NewGetRequest ¶
func (client SubscriptionsClient) NewGetRequest(subscriptionId string) (*http.Request, error)
Create the Get request.
func (SubscriptionsClient) NewListRequest ¶
func (client SubscriptionsClient) NewListRequest() (*http.Request, error)
Create the List request.
type TenantIdDescription ¶
type TenantIdDescription struct { Id string `json:"id,omitempty"` TenantId string `json:"tenantId,omitempty"` }
Tenant Id information
type TenantListResult ¶
type TenantListResult struct { autorest.Response `json:"-"` Value []TenantIdDescription `json:"value,omitempty"` NextLink string `json:"nextLink,omitempty"` }
Tenant Ids information.
type TenantsClient ¶
type TenantsClient struct {
SubscriptionClient
}
Tenants Client
func NewTenantsClient ¶
func NewTenantsClient(subscriptionId string) TenantsClient
func NewTenantsClientWithBaseUri ¶
func NewTenantsClientWithBaseUri(baseUri string, subscriptionId string) TenantsClient
func (TenantsClient) List ¶
func (client TenantsClient) List() (result TenantListResult, ae autorest.Error)
List gets a list of the tenantIds.
func (TenantsClient) ListRequestPreparer ¶
func (client TenantsClient) ListRequestPreparer() autorest.Preparer
Create a Preparer by which to prepare the List request.
func (TenantsClient) NewListRequest ¶
func (client TenantsClient) NewListRequest() (*http.Request, error)
Create the List request.
Click to show internal directories.
Click to hide internal directories.