billingroleassignments

package
v0.20240304.1112406 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 4, 2024 License: MPL-2.0 Imports: 9 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/resource-manager/billing/2019-10-01-preview/billingroleassignments Documentation

The billingroleassignments SDK allows for interaction with the Azure Resource Manager Service billing (API Version 2019-10-01-preview).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-sdk/resource-manager/billing/2019-10-01-preview/billingroleassignments"

Client Initialization

client := billingroleassignments.NewBillingRoleAssignmentsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: BillingRoleAssignmentsClient.AddByBillingAccount

ctx := context.TODO()
id := billingroleassignments.NewBillingAccountID("billingAccountValue")

payload := billingroleassignments.BillingRoleAssignmentPayload{
	// ...
}


// alternatively `client.AddByBillingAccount(ctx, id, payload)` can be used to do batched pagination
items, err := client.AddByBillingAccountComplete(ctx, id, payload)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: BillingRoleAssignmentsClient.AddByBillingProfile

ctx := context.TODO()
id := billingroleassignments.NewBillingProfileID("billingAccountValue", "billingProfileValue")

payload := billingroleassignments.BillingRoleAssignmentPayload{
	// ...
}


// alternatively `client.AddByBillingProfile(ctx, id, payload)` can be used to do batched pagination
items, err := client.AddByBillingProfileComplete(ctx, id, payload)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: BillingRoleAssignmentsClient.AddByInvoiceSection

ctx := context.TODO()
id := billingroleassignments.NewInvoiceSectionID("billingAccountValue", "billingProfileValue", "invoiceSectionValue")

payload := billingroleassignments.BillingRoleAssignmentPayload{
	// ...
}


// alternatively `client.AddByInvoiceSection(ctx, id, payload)` can be used to do batched pagination
items, err := client.AddByInvoiceSectionComplete(ctx, id, payload)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: BillingRoleAssignmentsClient.DeleteByBillingAccount

ctx := context.TODO()
id := billingroleassignments.NewBillingRoleAssignmentID("billingAccountValue", "billingRoleAssignmentValue")

read, err := client.DeleteByBillingAccount(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: BillingRoleAssignmentsClient.DeleteByBillingProfile

ctx := context.TODO()
id := billingroleassignments.NewBillingProfileBillingRoleAssignmentID("billingAccountValue", "billingProfileValue", "billingRoleAssignmentValue")

read, err := client.DeleteByBillingProfile(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: BillingRoleAssignmentsClient.DeleteByDepartment

ctx := context.TODO()
id := billingroleassignments.NewDepartmentBillingRoleAssignmentID("billingAccountValue", "departmentValue", "billingRoleAssignmentValue")

read, err := client.DeleteByDepartment(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: BillingRoleAssignmentsClient.DeleteByEnrollmentAccount

ctx := context.TODO()
id := billingroleassignments.NewEnrollmentAccountBillingRoleAssignmentID("billingAccountValue", "enrollmentAccountValue", "billingRoleAssignmentValue")

read, err := client.DeleteByEnrollmentAccount(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: BillingRoleAssignmentsClient.DeleteByInvoiceSection

ctx := context.TODO()
id := billingroleassignments.NewInvoiceSectionBillingRoleAssignmentID("billingAccountValue", "billingProfileValue", "invoiceSectionValue", "billingRoleAssignmentValue")

read, err := client.DeleteByInvoiceSection(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: BillingRoleAssignmentsClient.EnrollmentAccountRoleAssignmentsPut

ctx := context.TODO()
id := billingroleassignments.NewEnrollmentAccountBillingRoleAssignmentID("billingAccountValue", "enrollmentAccountValue", "billingRoleAssignmentValue")

payload := billingroleassignments.BillingRoleAssignment{
	// ...
}


read, err := client.EnrollmentAccountRoleAssignmentsPut(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: BillingRoleAssignmentsClient.EnrollmentDepartmentRoleAssignmentsPut

ctx := context.TODO()
id := billingroleassignments.NewDepartmentBillingRoleAssignmentID("billingAccountValue", "departmentValue", "billingRoleAssignmentValue")

payload := billingroleassignments.BillingRoleAssignment{
	// ...
}


read, err := client.EnrollmentDepartmentRoleAssignmentsPut(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: BillingRoleAssignmentsClient.GetByBillingAccount

ctx := context.TODO()
id := billingroleassignments.NewBillingRoleAssignmentID("billingAccountValue", "billingRoleAssignmentValue")

read, err := client.GetByBillingAccount(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: BillingRoleAssignmentsClient.GetByBillingProfile

ctx := context.TODO()
id := billingroleassignments.NewBillingProfileBillingRoleAssignmentID("billingAccountValue", "billingProfileValue", "billingRoleAssignmentValue")

read, err := client.GetByBillingProfile(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: BillingRoleAssignmentsClient.GetByDepartment

ctx := context.TODO()
id := billingroleassignments.NewDepartmentBillingRoleAssignmentID("billingAccountValue", "departmentValue", "billingRoleAssignmentValue")

read, err := client.GetByDepartment(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: BillingRoleAssignmentsClient.GetByEnrollmentAccount

ctx := context.TODO()
id := billingroleassignments.NewEnrollmentAccountBillingRoleAssignmentID("billingAccountValue", "enrollmentAccountValue", "billingRoleAssignmentValue")

read, err := client.GetByEnrollmentAccount(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: BillingRoleAssignmentsClient.GetByInvoiceSection

ctx := context.TODO()
id := billingroleassignments.NewInvoiceSectionBillingRoleAssignmentID("billingAccountValue", "billingProfileValue", "invoiceSectionValue", "billingRoleAssignmentValue")

read, err := client.GetByInvoiceSection(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: BillingRoleAssignmentsClient.ListByBillingAccount

ctx := context.TODO()
id := billingroleassignments.NewBillingAccountID("billingAccountValue")

// alternatively `client.ListByBillingAccount(ctx, id)` can be used to do batched pagination
items, err := client.ListByBillingAccountComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: BillingRoleAssignmentsClient.ListByBillingProfile

ctx := context.TODO()
id := billingroleassignments.NewBillingProfileID("billingAccountValue", "billingProfileValue")

// alternatively `client.ListByBillingProfile(ctx, id)` can be used to do batched pagination
items, err := client.ListByBillingProfileComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: BillingRoleAssignmentsClient.ListByDepartment

ctx := context.TODO()
id := billingroleassignments.NewDepartmentID("billingAccountValue", "departmentValue")

// alternatively `client.ListByDepartment(ctx, id)` can be used to do batched pagination
items, err := client.ListByDepartmentComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: BillingRoleAssignmentsClient.ListByEnrollmentAccount

ctx := context.TODO()
id := billingroleassignments.NewEnrollmentAccountID("billingAccountValue", "enrollmentAccountValue")

// alternatively `client.ListByEnrollmentAccount(ctx, id)` can be used to do batched pagination
items, err := client.ListByEnrollmentAccountComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: BillingRoleAssignmentsClient.ListByInvoiceSection

ctx := context.TODO()
id := billingroleassignments.NewInvoiceSectionID("billingAccountValue", "billingProfileValue", "invoiceSectionValue")

// alternatively `client.ListByInvoiceSection(ctx, id)` can be used to do batched pagination
items, err := client.ListByInvoiceSectionComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: BillingRoleAssignmentsClient.RoleAssignmentsPut

ctx := context.TODO()
id := billingroleassignments.NewBillingRoleAssignmentID("billingAccountValue", "billingRoleAssignmentValue")

payload := billingroleassignments.BillingRoleAssignment{
	// ...
}


read, err := client.RoleAssignmentsPut(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateBillingAccountID

func ValidateBillingAccountID(input interface{}, key string) (warnings []string, errors []error)

ValidateBillingAccountID checks that 'input' can be parsed as a Billing Account ID

func ValidateBillingProfileBillingRoleAssignmentID

func ValidateBillingProfileBillingRoleAssignmentID(input interface{}, key string) (warnings []string, errors []error)

ValidateBillingProfileBillingRoleAssignmentID checks that 'input' can be parsed as a Billing Profile Billing Role Assignment ID

func ValidateBillingProfileID

func ValidateBillingProfileID(input interface{}, key string) (warnings []string, errors []error)

ValidateBillingProfileID checks that 'input' can be parsed as a Billing Profile ID

func ValidateBillingRoleAssignmentID

func ValidateBillingRoleAssignmentID(input interface{}, key string) (warnings []string, errors []error)

ValidateBillingRoleAssignmentID checks that 'input' can be parsed as a Billing Role Assignment ID

func ValidateDepartmentBillingRoleAssignmentID

func ValidateDepartmentBillingRoleAssignmentID(input interface{}, key string) (warnings []string, errors []error)

ValidateDepartmentBillingRoleAssignmentID checks that 'input' can be parsed as a Department Billing Role Assignment ID

func ValidateDepartmentID

func ValidateDepartmentID(input interface{}, key string) (warnings []string, errors []error)

ValidateDepartmentID checks that 'input' can be parsed as a Department ID

func ValidateEnrollmentAccountBillingRoleAssignmentID

func ValidateEnrollmentAccountBillingRoleAssignmentID(input interface{}, key string) (warnings []string, errors []error)

ValidateEnrollmentAccountBillingRoleAssignmentID checks that 'input' can be parsed as a Enrollment Account Billing Role Assignment ID

func ValidateEnrollmentAccountID

func ValidateEnrollmentAccountID(input interface{}, key string) (warnings []string, errors []error)

ValidateEnrollmentAccountID checks that 'input' can be parsed as a Enrollment Account ID

func ValidateInvoiceSectionBillingRoleAssignmentID

func ValidateInvoiceSectionBillingRoleAssignmentID(input interface{}, key string) (warnings []string, errors []error)

ValidateInvoiceSectionBillingRoleAssignmentID checks that 'input' can be parsed as a Invoice Section Billing Role Assignment ID

func ValidateInvoiceSectionID

func ValidateInvoiceSectionID(input interface{}, key string) (warnings []string, errors []error)

ValidateInvoiceSectionID checks that 'input' can be parsed as a Invoice Section ID

Types

type AddByBillingAccountCompleteResult added in v0.20240227.1172434

type AddByBillingAccountCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []BillingRoleAssignment
}

type AddByBillingAccountOperationResponse

type AddByBillingAccountOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]BillingRoleAssignment
}

type AddByBillingProfileCompleteResult added in v0.20240227.1172434

type AddByBillingProfileCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []BillingRoleAssignment
}

type AddByBillingProfileOperationResponse

type AddByBillingProfileOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]BillingRoleAssignment
}

type AddByInvoiceSectionCompleteResult added in v0.20240227.1172434

type AddByInvoiceSectionCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []BillingRoleAssignment
}

type AddByInvoiceSectionOperationResponse

type AddByInvoiceSectionOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]BillingRoleAssignment
}

type BillingAccountId

type BillingAccountId struct {
	BillingAccountName string
}

BillingAccountId is a struct representing the Resource ID for a Billing Account

func NewBillingAccountID

func NewBillingAccountID(billingAccountName string) BillingAccountId

NewBillingAccountID returns a new BillingAccountId struct

func ParseBillingAccountID

func ParseBillingAccountID(input string) (*BillingAccountId, error)

ParseBillingAccountID parses 'input' into a BillingAccountId

func ParseBillingAccountIDInsensitively

func ParseBillingAccountIDInsensitively(input string) (*BillingAccountId, error)

ParseBillingAccountIDInsensitively parses 'input' case-insensitively into a BillingAccountId note: this method should only be used for API response data and not user input

func (*BillingAccountId) FromParseResult

func (id *BillingAccountId) FromParseResult(input resourceids.ParseResult) error

func (BillingAccountId) ID

func (id BillingAccountId) ID() string

ID returns the formatted Billing Account ID

func (BillingAccountId) Segments

func (id BillingAccountId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Billing Account ID

func (BillingAccountId) String

func (id BillingAccountId) String() string

String returns a human-readable description of this Billing Account ID

type BillingProfileBillingRoleAssignmentId

type BillingProfileBillingRoleAssignmentId struct {
	BillingAccountName        string
	BillingProfileName        string
	BillingRoleAssignmentName string
}

BillingProfileBillingRoleAssignmentId is a struct representing the Resource ID for a Billing Profile Billing Role Assignment

func NewBillingProfileBillingRoleAssignmentID

func NewBillingProfileBillingRoleAssignmentID(billingAccountName string, billingProfileName string, billingRoleAssignmentName string) BillingProfileBillingRoleAssignmentId

NewBillingProfileBillingRoleAssignmentID returns a new BillingProfileBillingRoleAssignmentId struct

func ParseBillingProfileBillingRoleAssignmentID

func ParseBillingProfileBillingRoleAssignmentID(input string) (*BillingProfileBillingRoleAssignmentId, error)

ParseBillingProfileBillingRoleAssignmentID parses 'input' into a BillingProfileBillingRoleAssignmentId

func ParseBillingProfileBillingRoleAssignmentIDInsensitively

func ParseBillingProfileBillingRoleAssignmentIDInsensitively(input string) (*BillingProfileBillingRoleAssignmentId, error)

ParseBillingProfileBillingRoleAssignmentIDInsensitively parses 'input' case-insensitively into a BillingProfileBillingRoleAssignmentId note: this method should only be used for API response data and not user input

func (*BillingProfileBillingRoleAssignmentId) FromParseResult

func (BillingProfileBillingRoleAssignmentId) ID

ID returns the formatted Billing Profile Billing Role Assignment ID

func (BillingProfileBillingRoleAssignmentId) Segments

Segments returns a slice of Resource ID Segments which comprise this Billing Profile Billing Role Assignment ID

func (BillingProfileBillingRoleAssignmentId) String

String returns a human-readable description of this Billing Profile Billing Role Assignment ID

type BillingProfileId

type BillingProfileId struct {
	BillingAccountName string
	BillingProfileName string
}

BillingProfileId is a struct representing the Resource ID for a Billing Profile

func NewBillingProfileID

func NewBillingProfileID(billingAccountName string, billingProfileName string) BillingProfileId

NewBillingProfileID returns a new BillingProfileId struct

func ParseBillingProfileID

func ParseBillingProfileID(input string) (*BillingProfileId, error)

ParseBillingProfileID parses 'input' into a BillingProfileId

func ParseBillingProfileIDInsensitively

func ParseBillingProfileIDInsensitively(input string) (*BillingProfileId, error)

ParseBillingProfileIDInsensitively parses 'input' case-insensitively into a BillingProfileId note: this method should only be used for API response data and not user input

func (*BillingProfileId) FromParseResult

func (id *BillingProfileId) FromParseResult(input resourceids.ParseResult) error

func (BillingProfileId) ID

func (id BillingProfileId) ID() string

ID returns the formatted Billing Profile ID

func (BillingProfileId) Segments

func (id BillingProfileId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Billing Profile ID

func (BillingProfileId) String

func (id BillingProfileId) String() string

String returns a human-readable description of this Billing Profile ID

type BillingRoleAssignment

type BillingRoleAssignment struct {
	Id         *string                          `json:"id,omitempty"`
	Name       *string                          `json:"name,omitempty"`
	Properties *BillingRoleAssignmentProperties `json:"properties,omitempty"`
	Type       *string                          `json:"type,omitempty"`
}

type BillingRoleAssignmentId

type BillingRoleAssignmentId struct {
	BillingAccountName        string
	BillingRoleAssignmentName string
}

BillingRoleAssignmentId is a struct representing the Resource ID for a Billing Role Assignment

func NewBillingRoleAssignmentID

func NewBillingRoleAssignmentID(billingAccountName string, billingRoleAssignmentName string) BillingRoleAssignmentId

NewBillingRoleAssignmentID returns a new BillingRoleAssignmentId struct

func ParseBillingRoleAssignmentID

func ParseBillingRoleAssignmentID(input string) (*BillingRoleAssignmentId, error)

ParseBillingRoleAssignmentID parses 'input' into a BillingRoleAssignmentId

func ParseBillingRoleAssignmentIDInsensitively

func ParseBillingRoleAssignmentIDInsensitively(input string) (*BillingRoleAssignmentId, error)

ParseBillingRoleAssignmentIDInsensitively parses 'input' case-insensitively into a BillingRoleAssignmentId note: this method should only be used for API response data and not user input

func (*BillingRoleAssignmentId) FromParseResult

func (id *BillingRoleAssignmentId) FromParseResult(input resourceids.ParseResult) error

func (BillingRoleAssignmentId) ID

ID returns the formatted Billing Role Assignment ID

func (BillingRoleAssignmentId) Segments

Segments returns a slice of Resource ID Segments which comprise this Billing Role Assignment ID

func (BillingRoleAssignmentId) String

func (id BillingRoleAssignmentId) String() string

String returns a human-readable description of this Billing Role Assignment ID

type BillingRoleAssignmentOperationPredicate

type BillingRoleAssignmentOperationPredicate struct {
	Id   *string
	Name *string
	Type *string
}

func (BillingRoleAssignmentOperationPredicate) Matches

type BillingRoleAssignmentPayload

type BillingRoleAssignmentPayload struct {
	BillingRoleDefinitionId *string `json:"billingRoleDefinitionId,omitempty"`
	PrincipalId             *string `json:"principalId,omitempty"`
}

type BillingRoleAssignmentProperties

type BillingRoleAssignmentProperties struct {
	CreatedByPrincipalId       *string `json:"createdByPrincipalId,omitempty"`
	CreatedByPrincipalTenantId *string `json:"createdByPrincipalTenantId,omitempty"`
	CreatedByUserEmailAddress  *string `json:"createdByUserEmailAddress,omitempty"`
	CreatedOn                  *string `json:"createdOn,omitempty"`
	Name                       *string `json:"name,omitempty"`
	PrincipalId                *string `json:"principalId,omitempty"`
	PrincipalTenantId          *string `json:"principalTenantId,omitempty"`
	RoleDefinitionId           *string `json:"roleDefinitionId,omitempty"`
	Scope                      *string `json:"scope,omitempty"`
	UserAuthenticationType     *string `json:"userAuthenticationType,omitempty"`
	UserEmailAddress           *string `json:"userEmailAddress,omitempty"`
}

type BillingRoleAssignmentsClient

type BillingRoleAssignmentsClient struct {
	Client *resourcemanager.Client
}

func NewBillingRoleAssignmentsClientWithBaseURI

func NewBillingRoleAssignmentsClientWithBaseURI(sdkApi sdkEnv.Api) (*BillingRoleAssignmentsClient, error)

func (BillingRoleAssignmentsClient) AddByBillingAccount

AddByBillingAccount ...

func (BillingRoleAssignmentsClient) AddByBillingAccountComplete added in v0.20240227.1172434

AddByBillingAccountComplete retrieves all the results into a single object

func (BillingRoleAssignmentsClient) AddByBillingAccountCompleteMatchingPredicate added in v0.20240227.1172434

AddByBillingAccountCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (BillingRoleAssignmentsClient) AddByBillingProfile

AddByBillingProfile ...

func (BillingRoleAssignmentsClient) AddByBillingProfileComplete added in v0.20240227.1172434

AddByBillingProfileComplete retrieves all the results into a single object

func (BillingRoleAssignmentsClient) AddByBillingProfileCompleteMatchingPredicate added in v0.20240227.1172434

AddByBillingProfileCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (BillingRoleAssignmentsClient) AddByInvoiceSection

AddByInvoiceSection ...

func (BillingRoleAssignmentsClient) AddByInvoiceSectionComplete added in v0.20240227.1172434

AddByInvoiceSectionComplete retrieves all the results into a single object

func (BillingRoleAssignmentsClient) AddByInvoiceSectionCompleteMatchingPredicate added in v0.20240227.1172434

AddByInvoiceSectionCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (BillingRoleAssignmentsClient) DeleteByBillingAccount

DeleteByBillingAccount ...

func (BillingRoleAssignmentsClient) DeleteByBillingProfile

DeleteByBillingProfile ...

func (BillingRoleAssignmentsClient) DeleteByDepartment

DeleteByDepartment ...

func (BillingRoleAssignmentsClient) DeleteByEnrollmentAccount

DeleteByEnrollmentAccount ...

func (BillingRoleAssignmentsClient) DeleteByInvoiceSection

DeleteByInvoiceSection ...

func (BillingRoleAssignmentsClient) EnrollmentAccountRoleAssignmentsPut

EnrollmentAccountRoleAssignmentsPut ...

func (BillingRoleAssignmentsClient) EnrollmentDepartmentRoleAssignmentsPut

EnrollmentDepartmentRoleAssignmentsPut ...

func (BillingRoleAssignmentsClient) GetByBillingAccount

GetByBillingAccount ...

func (BillingRoleAssignmentsClient) GetByBillingProfile

GetByBillingProfile ...

func (BillingRoleAssignmentsClient) GetByDepartment

GetByDepartment ...

func (BillingRoleAssignmentsClient) GetByEnrollmentAccount

GetByEnrollmentAccount ...

func (BillingRoleAssignmentsClient) GetByInvoiceSection

GetByInvoiceSection ...

func (BillingRoleAssignmentsClient) ListByBillingAccount

ListByBillingAccount ...

func (BillingRoleAssignmentsClient) ListByBillingAccountComplete

ListByBillingAccountComplete retrieves all the results into a single object

func (BillingRoleAssignmentsClient) ListByBillingAccountCompleteMatchingPredicate

func (c BillingRoleAssignmentsClient) ListByBillingAccountCompleteMatchingPredicate(ctx context.Context, id BillingAccountId, predicate BillingRoleAssignmentOperationPredicate) (result ListByBillingAccountCompleteResult, err error)

ListByBillingAccountCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (BillingRoleAssignmentsClient) ListByBillingProfile

ListByBillingProfile ...

func (BillingRoleAssignmentsClient) ListByBillingProfileComplete added in v0.20240226.1173038

ListByBillingProfileComplete retrieves all the results into a single object

func (BillingRoleAssignmentsClient) ListByBillingProfileCompleteMatchingPredicate added in v0.20240226.1173038

func (c BillingRoleAssignmentsClient) ListByBillingProfileCompleteMatchingPredicate(ctx context.Context, id BillingProfileId, predicate BillingRoleAssignmentOperationPredicate) (result ListByBillingProfileCompleteResult, err error)

ListByBillingProfileCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (BillingRoleAssignmentsClient) ListByDepartment

ListByDepartment ...

func (BillingRoleAssignmentsClient) ListByDepartmentComplete

ListByDepartmentComplete retrieves all the results into a single object

func (BillingRoleAssignmentsClient) ListByDepartmentCompleteMatchingPredicate

func (c BillingRoleAssignmentsClient) ListByDepartmentCompleteMatchingPredicate(ctx context.Context, id DepartmentId, predicate BillingRoleAssignmentOperationPredicate) (result ListByDepartmentCompleteResult, err error)

ListByDepartmentCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (BillingRoleAssignmentsClient) ListByEnrollmentAccount

ListByEnrollmentAccount ...

func (BillingRoleAssignmentsClient) ListByEnrollmentAccountComplete

ListByEnrollmentAccountComplete retrieves all the results into a single object

func (BillingRoleAssignmentsClient) ListByEnrollmentAccountCompleteMatchingPredicate

func (c BillingRoleAssignmentsClient) ListByEnrollmentAccountCompleteMatchingPredicate(ctx context.Context, id EnrollmentAccountId, predicate BillingRoleAssignmentOperationPredicate) (result ListByEnrollmentAccountCompleteResult, err error)

ListByEnrollmentAccountCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (BillingRoleAssignmentsClient) ListByInvoiceSection

ListByInvoiceSection ...

func (BillingRoleAssignmentsClient) ListByInvoiceSectionComplete added in v0.20240226.1173038

ListByInvoiceSectionComplete retrieves all the results into a single object

func (BillingRoleAssignmentsClient) ListByInvoiceSectionCompleteMatchingPredicate added in v0.20240226.1173038

func (c BillingRoleAssignmentsClient) ListByInvoiceSectionCompleteMatchingPredicate(ctx context.Context, id InvoiceSectionId, predicate BillingRoleAssignmentOperationPredicate) (result ListByInvoiceSectionCompleteResult, err error)

ListByInvoiceSectionCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (BillingRoleAssignmentsClient) RoleAssignmentsPut

RoleAssignmentsPut ...

type DeleteByBillingAccountOperationResponse

type DeleteByBillingAccountOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *BillingRoleAssignment
}

type DeleteByBillingProfileOperationResponse

type DeleteByBillingProfileOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *BillingRoleAssignment
}

type DeleteByDepartmentOperationResponse

type DeleteByDepartmentOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *BillingRoleAssignment
}

type DeleteByEnrollmentAccountOperationResponse

type DeleteByEnrollmentAccountOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *BillingRoleAssignment
}

type DeleteByInvoiceSectionOperationResponse

type DeleteByInvoiceSectionOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *BillingRoleAssignment
}

type DepartmentBillingRoleAssignmentId

type DepartmentBillingRoleAssignmentId struct {
	BillingAccountName        string
	DepartmentName            string
	BillingRoleAssignmentName string
}

DepartmentBillingRoleAssignmentId is a struct representing the Resource ID for a Department Billing Role Assignment

func NewDepartmentBillingRoleAssignmentID

func NewDepartmentBillingRoleAssignmentID(billingAccountName string, departmentName string, billingRoleAssignmentName string) DepartmentBillingRoleAssignmentId

NewDepartmentBillingRoleAssignmentID returns a new DepartmentBillingRoleAssignmentId struct

func ParseDepartmentBillingRoleAssignmentID

func ParseDepartmentBillingRoleAssignmentID(input string) (*DepartmentBillingRoleAssignmentId, error)

ParseDepartmentBillingRoleAssignmentID parses 'input' into a DepartmentBillingRoleAssignmentId

func ParseDepartmentBillingRoleAssignmentIDInsensitively

func ParseDepartmentBillingRoleAssignmentIDInsensitively(input string) (*DepartmentBillingRoleAssignmentId, error)

ParseDepartmentBillingRoleAssignmentIDInsensitively parses 'input' case-insensitively into a DepartmentBillingRoleAssignmentId note: this method should only be used for API response data and not user input

func (*DepartmentBillingRoleAssignmentId) FromParseResult

func (DepartmentBillingRoleAssignmentId) ID

ID returns the formatted Department Billing Role Assignment ID

func (DepartmentBillingRoleAssignmentId) Segments

Segments returns a slice of Resource ID Segments which comprise this Department Billing Role Assignment ID

func (DepartmentBillingRoleAssignmentId) String

String returns a human-readable description of this Department Billing Role Assignment ID

type DepartmentId

type DepartmentId struct {
	BillingAccountName string
	DepartmentName     string
}

DepartmentId is a struct representing the Resource ID for a Department

func NewDepartmentID

func NewDepartmentID(billingAccountName string, departmentName string) DepartmentId

NewDepartmentID returns a new DepartmentId struct

func ParseDepartmentID

func ParseDepartmentID(input string) (*DepartmentId, error)

ParseDepartmentID parses 'input' into a DepartmentId

func ParseDepartmentIDInsensitively

func ParseDepartmentIDInsensitively(input string) (*DepartmentId, error)

ParseDepartmentIDInsensitively parses 'input' case-insensitively into a DepartmentId note: this method should only be used for API response data and not user input

func (*DepartmentId) FromParseResult

func (id *DepartmentId) FromParseResult(input resourceids.ParseResult) error

func (DepartmentId) ID

func (id DepartmentId) ID() string

ID returns the formatted Department ID

func (DepartmentId) Segments

func (id DepartmentId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Department ID

func (DepartmentId) String

func (id DepartmentId) String() string

String returns a human-readable description of this Department ID

type EnrollmentAccountBillingRoleAssignmentId

type EnrollmentAccountBillingRoleAssignmentId struct {
	BillingAccountName        string
	EnrollmentAccountName     string
	BillingRoleAssignmentName string
}

EnrollmentAccountBillingRoleAssignmentId is a struct representing the Resource ID for a Enrollment Account Billing Role Assignment

func NewEnrollmentAccountBillingRoleAssignmentID

func NewEnrollmentAccountBillingRoleAssignmentID(billingAccountName string, enrollmentAccountName string, billingRoleAssignmentName string) EnrollmentAccountBillingRoleAssignmentId

NewEnrollmentAccountBillingRoleAssignmentID returns a new EnrollmentAccountBillingRoleAssignmentId struct

func ParseEnrollmentAccountBillingRoleAssignmentID

func ParseEnrollmentAccountBillingRoleAssignmentID(input string) (*EnrollmentAccountBillingRoleAssignmentId, error)

ParseEnrollmentAccountBillingRoleAssignmentID parses 'input' into a EnrollmentAccountBillingRoleAssignmentId

func ParseEnrollmentAccountBillingRoleAssignmentIDInsensitively

func ParseEnrollmentAccountBillingRoleAssignmentIDInsensitively(input string) (*EnrollmentAccountBillingRoleAssignmentId, error)

ParseEnrollmentAccountBillingRoleAssignmentIDInsensitively parses 'input' case-insensitively into a EnrollmentAccountBillingRoleAssignmentId note: this method should only be used for API response data and not user input

func (*EnrollmentAccountBillingRoleAssignmentId) FromParseResult

func (EnrollmentAccountBillingRoleAssignmentId) ID

ID returns the formatted Enrollment Account Billing Role Assignment ID

func (EnrollmentAccountBillingRoleAssignmentId) Segments

Segments returns a slice of Resource ID Segments which comprise this Enrollment Account Billing Role Assignment ID

func (EnrollmentAccountBillingRoleAssignmentId) String

String returns a human-readable description of this Enrollment Account Billing Role Assignment ID

type EnrollmentAccountId

type EnrollmentAccountId struct {
	BillingAccountName    string
	EnrollmentAccountName string
}

EnrollmentAccountId is a struct representing the Resource ID for a Enrollment Account

func NewEnrollmentAccountID

func NewEnrollmentAccountID(billingAccountName string, enrollmentAccountName string) EnrollmentAccountId

NewEnrollmentAccountID returns a new EnrollmentAccountId struct

func ParseEnrollmentAccountID

func ParseEnrollmentAccountID(input string) (*EnrollmentAccountId, error)

ParseEnrollmentAccountID parses 'input' into a EnrollmentAccountId

func ParseEnrollmentAccountIDInsensitively

func ParseEnrollmentAccountIDInsensitively(input string) (*EnrollmentAccountId, error)

ParseEnrollmentAccountIDInsensitively parses 'input' case-insensitively into a EnrollmentAccountId note: this method should only be used for API response data and not user input

func (*EnrollmentAccountId) FromParseResult

func (id *EnrollmentAccountId) FromParseResult(input resourceids.ParseResult) error

func (EnrollmentAccountId) ID

func (id EnrollmentAccountId) ID() string

ID returns the formatted Enrollment Account ID

func (EnrollmentAccountId) Segments

func (id EnrollmentAccountId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Enrollment Account ID

func (EnrollmentAccountId) String

func (id EnrollmentAccountId) String() string

String returns a human-readable description of this Enrollment Account ID

type EnrollmentAccountRoleAssignmentsPutOperationResponse

type EnrollmentAccountRoleAssignmentsPutOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *BillingRoleAssignment
}

type EnrollmentDepartmentRoleAssignmentsPutOperationResponse

type EnrollmentDepartmentRoleAssignmentsPutOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *BillingRoleAssignment
}

type GetByBillingAccountOperationResponse

type GetByBillingAccountOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *BillingRoleAssignment
}

type GetByBillingProfileOperationResponse

type GetByBillingProfileOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *BillingRoleAssignment
}

type GetByDepartmentOperationResponse

type GetByDepartmentOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *BillingRoleAssignment
}

type GetByEnrollmentAccountOperationResponse

type GetByEnrollmentAccountOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *BillingRoleAssignment
}

type GetByInvoiceSectionOperationResponse

type GetByInvoiceSectionOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *BillingRoleAssignment
}

type InvoiceSectionBillingRoleAssignmentId

type InvoiceSectionBillingRoleAssignmentId struct {
	BillingAccountName        string
	BillingProfileName        string
	InvoiceSectionName        string
	BillingRoleAssignmentName string
}

InvoiceSectionBillingRoleAssignmentId is a struct representing the Resource ID for a Invoice Section Billing Role Assignment

func NewInvoiceSectionBillingRoleAssignmentID

func NewInvoiceSectionBillingRoleAssignmentID(billingAccountName string, billingProfileName string, invoiceSectionName string, billingRoleAssignmentName string) InvoiceSectionBillingRoleAssignmentId

NewInvoiceSectionBillingRoleAssignmentID returns a new InvoiceSectionBillingRoleAssignmentId struct

func ParseInvoiceSectionBillingRoleAssignmentID

func ParseInvoiceSectionBillingRoleAssignmentID(input string) (*InvoiceSectionBillingRoleAssignmentId, error)

ParseInvoiceSectionBillingRoleAssignmentID parses 'input' into a InvoiceSectionBillingRoleAssignmentId

func ParseInvoiceSectionBillingRoleAssignmentIDInsensitively

func ParseInvoiceSectionBillingRoleAssignmentIDInsensitively(input string) (*InvoiceSectionBillingRoleAssignmentId, error)

ParseInvoiceSectionBillingRoleAssignmentIDInsensitively parses 'input' case-insensitively into a InvoiceSectionBillingRoleAssignmentId note: this method should only be used for API response data and not user input

func (*InvoiceSectionBillingRoleAssignmentId) FromParseResult

func (InvoiceSectionBillingRoleAssignmentId) ID

ID returns the formatted Invoice Section Billing Role Assignment ID

func (InvoiceSectionBillingRoleAssignmentId) Segments

Segments returns a slice of Resource ID Segments which comprise this Invoice Section Billing Role Assignment ID

func (InvoiceSectionBillingRoleAssignmentId) String

String returns a human-readable description of this Invoice Section Billing Role Assignment ID

type InvoiceSectionId

type InvoiceSectionId struct {
	BillingAccountName string
	BillingProfileName string
	InvoiceSectionName string
}

InvoiceSectionId is a struct representing the Resource ID for a Invoice Section

func NewInvoiceSectionID

func NewInvoiceSectionID(billingAccountName string, billingProfileName string, invoiceSectionName string) InvoiceSectionId

NewInvoiceSectionID returns a new InvoiceSectionId struct

func ParseInvoiceSectionID

func ParseInvoiceSectionID(input string) (*InvoiceSectionId, error)

ParseInvoiceSectionID parses 'input' into a InvoiceSectionId

func ParseInvoiceSectionIDInsensitively

func ParseInvoiceSectionIDInsensitively(input string) (*InvoiceSectionId, error)

ParseInvoiceSectionIDInsensitively parses 'input' case-insensitively into a InvoiceSectionId note: this method should only be used for API response data and not user input

func (*InvoiceSectionId) FromParseResult

func (id *InvoiceSectionId) FromParseResult(input resourceids.ParseResult) error

func (InvoiceSectionId) ID

func (id InvoiceSectionId) ID() string

ID returns the formatted Invoice Section ID

func (InvoiceSectionId) Segments

func (id InvoiceSectionId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Invoice Section ID

func (InvoiceSectionId) String

func (id InvoiceSectionId) String() string

String returns a human-readable description of this Invoice Section ID

type ListByBillingAccountCompleteResult

type ListByBillingAccountCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []BillingRoleAssignment
}

type ListByBillingAccountOperationResponse

type ListByBillingAccountOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]BillingRoleAssignment
}

type ListByBillingProfileCompleteResult added in v0.20240226.1173038

type ListByBillingProfileCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []BillingRoleAssignment
}

type ListByBillingProfileOperationResponse

type ListByBillingProfileOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]BillingRoleAssignment
}

type ListByDepartmentCompleteResult

type ListByDepartmentCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []BillingRoleAssignment
}

type ListByDepartmentOperationResponse

type ListByDepartmentOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]BillingRoleAssignment
}

type ListByEnrollmentAccountCompleteResult

type ListByEnrollmentAccountCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []BillingRoleAssignment
}

type ListByEnrollmentAccountOperationResponse

type ListByEnrollmentAccountOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]BillingRoleAssignment
}

type ListByInvoiceSectionCompleteResult added in v0.20240226.1173038

type ListByInvoiceSectionCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []BillingRoleAssignment
}

type ListByInvoiceSectionOperationResponse

type ListByInvoiceSectionOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]BillingRoleAssignment
}

type RoleAssignmentsPutOperationResponse

type RoleAssignmentsPutOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *BillingRoleAssignment
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL