eligiblechildresources

package
v0.20230307.1160632 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2023 License: MPL-2.0 Imports: 7 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/resource-manager/authorization/2020-10-01/eligiblechildresources Documentation

The eligiblechildresources SDK allows for interaction with the Azure Resource Manager Service authorization (API Version 2020-10-01).

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/authorization/2020-10-01/eligiblechildresources"

Client Initialization

client := eligiblechildresources.NewEligibleChildResourcesClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: EligibleChildResourcesClient.Get

ctx := context.TODO()
id := eligiblechildresources.NewScopeID("/subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/some-resource-group")

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EligibleChildResource

type EligibleChildResource struct {
	Id   *string `json:"id,omitempty"`
	Name *string `json:"name,omitempty"`
	Type *string `json:"type,omitempty"`
}

type EligibleChildResourceOperationPredicate

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

func (EligibleChildResourceOperationPredicate) Matches

type EligibleChildResourcesClient

type EligibleChildResourcesClient struct {
	Client autorest.Client
	// contains filtered or unexported fields
}

func NewEligibleChildResourcesClientWithBaseURI

func NewEligibleChildResourcesClientWithBaseURI(endpoint string) EligibleChildResourcesClient

func (EligibleChildResourcesClient) Get

Get ...

func (EligibleChildResourcesClient) GetComplete

GetComplete retrieves all of the results into a single object

func (EligibleChildResourcesClient) GetCompleteMatchingPredicate

GetCompleteMatchingPredicate retrieves all of the results and then applied the predicate

type GetCompleteResult

type GetCompleteResult struct {
	Items []EligibleChildResource
}

type GetOperationOptions

type GetOperationOptions struct {
	Filter *string
}

func DefaultGetOperationOptions

func DefaultGetOperationOptions() GetOperationOptions

type GetOperationResponse

type GetOperationResponse struct {
	HttpResponse *http.Response
	Model        *[]EligibleChildResource
	// contains filtered or unexported fields
}

func (GetOperationResponse) HasMore

func (r GetOperationResponse) HasMore() bool

func (GetOperationResponse) LoadMore

func (r GetOperationResponse) LoadMore(ctx context.Context) (resp GetOperationResponse, err error)

Jump to

Keyboard shortcuts

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