Versions in this module Expand all Collapse all v0 v0.20241126.2320 Nov 26, 2024 v0.20241126.1723 Nov 26, 2024 Changes in this version + func ValidateBillingAccountID(input interface{}, key string) (warnings []string, errors []error) + func ValidateDepartmentID(input interface{}, key string) (warnings []string, errors []error) + type BillingAccountId struct + BillingAccountName string + func NewBillingAccountID(billingAccountName string) BillingAccountId + func ParseBillingAccountID(input string) (*BillingAccountId, error) + func ParseBillingAccountIDInsensitively(input string) (*BillingAccountId, error) + func (id *BillingAccountId) FromParseResult(input resourceids.ParseResult) error + func (id BillingAccountId) ID() string + func (id BillingAccountId) Segments() []resourceids.Segment + func (id BillingAccountId) String() string + type Department struct + Id *string + Name *string + Properties *DepartmentProperties + Type *string + type DepartmentId struct + BillingAccountName string + DepartmentName string + func NewDepartmentID(billingAccountName string, departmentName string) DepartmentId + func ParseDepartmentID(input string) (*DepartmentId, error) + func ParseDepartmentIDInsensitively(input string) (*DepartmentId, error) + func (id *DepartmentId) FromParseResult(input resourceids.ParseResult) error + func (id DepartmentId) ID() string + func (id DepartmentId) Segments() []resourceids.Segment + func (id DepartmentId) String() string + type DepartmentOperationPredicate struct + Id *string + Name *string + Type *string + func (p DepartmentOperationPredicate) Matches(input Department) bool + type DepartmentProperties struct + CostCenter *string + DepartmentName *string + EnrollmentAccounts *[]EnrollmentAccount + Status *string + type DepartmentsClient struct + Client *resourcemanager.Client + func NewDepartmentsClientWithBaseURI(sdkApi sdkEnv.Api) (*DepartmentsClient, error) + func (c DepartmentsClient) Get(ctx context.Context, id DepartmentId, options GetOperationOptions) (result GetOperationResponse, err error) + func (c DepartmentsClient) ListByBillingAccountName(ctx context.Context, id BillingAccountId, ...) (result ListByBillingAccountNameOperationResponse, err error) + func (c DepartmentsClient) ListByBillingAccountNameComplete(ctx context.Context, id BillingAccountId, ...) (ListByBillingAccountNameCompleteResult, error) + func (c DepartmentsClient) ListByBillingAccountNameCompleteMatchingPredicate(ctx context.Context, id BillingAccountId, ...) (result ListByBillingAccountNameCompleteResult, err error) + type EnrollmentAccount struct + Id *string + Name *string + Properties *EnrollmentAccountProperties + Type *string + type EnrollmentAccountProperties struct + AccountName *string + AccountOwner *string + CostCenter *string + Department *Department + EndDate *string + StartDate *string + Status *string + func (o *EnrollmentAccountProperties) GetEndDateAsTime() (*time.Time, error) + func (o *EnrollmentAccountProperties) GetStartDateAsTime() (*time.Time, error) + func (o *EnrollmentAccountProperties) SetEndDateAsTime(input time.Time) + func (o *EnrollmentAccountProperties) SetStartDateAsTime(input time.Time) + type GetOperationOptions struct + Expand *string + Filter *string + func DefaultGetOperationOptions() GetOperationOptions + func (o GetOperationOptions) ToHeaders() *client.Headers + func (o GetOperationOptions) ToOData() *odata.Query + func (o GetOperationOptions) ToQuery() *client.QueryParams + type GetOperationResponse struct + HttpResponse *http.Response + Model *Department + OData *odata.OData + type ListByBillingAccountNameCompleteResult struct + Items []Department + LatestHttpResponse *http.Response + type ListByBillingAccountNameCustomPager struct + NextLink *odata.Link + func (p *ListByBillingAccountNameCustomPager) NextPageLink() *odata.Link + type ListByBillingAccountNameOperationOptions struct + Expand *string + Filter *string + func DefaultListByBillingAccountNameOperationOptions() ListByBillingAccountNameOperationOptions + func (o ListByBillingAccountNameOperationOptions) ToHeaders() *client.Headers + func (o ListByBillingAccountNameOperationOptions) ToOData() *odata.Query + func (o ListByBillingAccountNameOperationOptions) ToQuery() *client.QueryParams + type ListByBillingAccountNameOperationResponse struct + HttpResponse *http.Response + Model *[]Department + OData *odata.OData