Documentation ¶
Index ¶
- func PossibleValuesForBillingSource() []string
- type BillingSource
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type OrganizationProperties
- type OrganizationResource
- type OrganizationResourceOperationPredicate
- type OrganizationsClient
- func (c OrganizationsClient) List(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (result ListOperationResponse, err error)
- func (c OrganizationsClient) ListComplete(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (ListCompleteResult, error)
- func (c OrganizationsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions, ...) (result ListCompleteResult, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForBillingSource ¶
func PossibleValuesForBillingSource() []string
Types ¶
type BillingSource ¶
type BillingSource string
const ( BillingSourceAZURE BillingSource = "AZURE" BillingSourceNEWRELIC BillingSource = "NEWRELIC" )
func (*BillingSource) UnmarshalJSON ¶
func (s *BillingSource) UnmarshalJSON(bytes []byte) error
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []OrganizationResource
}
type ListOperationOptions ¶
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
func (ListOperationOptions) ToHeaders ¶
func (o ListOperationOptions) ToHeaders() *client.Headers
func (ListOperationOptions) ToOData ¶
func (o ListOperationOptions) ToOData() *odata.Query
func (ListOperationOptions) ToQuery ¶
func (o ListOperationOptions) ToQuery() *client.QueryParams
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]OrganizationResource }
type OrganizationProperties ¶
type OrganizationProperties struct { BillingSource *BillingSource `json:"billingSource,omitempty"` OrganizationId *string `json:"organizationId,omitempty"` OrganizationName *string `json:"organizationName,omitempty"` }
type OrganizationResource ¶
type OrganizationResource struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *OrganizationProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type OrganizationResourceOperationPredicate ¶
func (OrganizationResourceOperationPredicate) Matches ¶
func (p OrganizationResourceOperationPredicate) Matches(input OrganizationResource) bool
type OrganizationsClient ¶
type OrganizationsClient struct {
Client *resourcemanager.Client
}
func NewOrganizationsClientWithBaseURI ¶
func NewOrganizationsClientWithBaseURI(sdkApi sdkEnv.Api) (*OrganizationsClient, error)
func (OrganizationsClient) List ¶
func (c OrganizationsClient) List(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (OrganizationsClient) ListComplete ¶
func (c OrganizationsClient) ListComplete(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (OrganizationsClient) ListCompleteMatchingPredicate ¶
func (c OrganizationsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions, predicate OrganizationResourceOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
Click to show internal directories.
Click to hide internal directories.