application

package
v0.20241212.1154051 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: MPL-2.0 Imports: 10 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/microsoft-graph/applications/stable/application Documentation

The application SDK allows for interaction with Microsoft Graph applications (API Version stable).

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/microsoft-graph/applications/stable/application"

Client Initialization

client := application.NewApplicationClientWithBaseURI("https://graph.microsoft.com")
client.Client.Authorizer = authorizer

Example Usage: ApplicationClient.AddKey

ctx := context.TODO()
id := application.NewApplicationID("applicationId")

payload := application.AddKeyRequest{
	// ...
}


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

Example Usage: ApplicationClient.AddPassword

ctx := context.TODO()
id := application.NewApplicationID("applicationId")

payload := application.AddPasswordRequest{
	// ...
}


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

Example Usage: ApplicationClient.CheckMemberGroups

ctx := context.TODO()
id := application.NewApplicationID("applicationId")

payload := application.CheckMemberGroupsRequest{
	// ...
}


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

Example Usage: ApplicationClient.CheckMemberObjects

ctx := context.TODO()
id := application.NewApplicationID("applicationId")

payload := application.CheckMemberObjectsRequest{
	// ...
}


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

Example Usage: ApplicationClient.CreateApplication

ctx := context.TODO()

payload := application.Application{
	// ...
}


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

Example Usage: ApplicationClient.CreateValidatesProperty

ctx := context.TODO()

payload := application.CreateValidatesPropertyRequest{
	// ...
}


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

Example Usage: ApplicationClient.DeleteApplication

ctx := context.TODO()
id := application.NewApplicationID("applicationId")

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

Example Usage: ApplicationClient.GetApplication

ctx := context.TODO()
id := application.NewApplicationID("applicationId")

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

Example Usage: ApplicationClient.GetMemberGroups

ctx := context.TODO()
id := application.NewApplicationID("applicationId")

payload := application.GetMemberGroupsRequest{
	// ...
}


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

Example Usage: ApplicationClient.GetMemberObjects

ctx := context.TODO()
id := application.NewApplicationID("applicationId")

payload := application.GetMemberObjectsRequest{
	// ...
}


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

Example Usage: ApplicationClient.GetsCount

ctx := context.TODO()


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

Example Usage: ApplicationClient.ListApplications

ctx := context.TODO()


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

Example Usage: ApplicationClient.ListGetsAvailableExtensionProperties

ctx := context.TODO()

payload := application.ListGetsAvailableExtensionPropertiesRequest{
	// ...
}


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

Example Usage: ApplicationClient.ListGetsByIds

ctx := context.TODO()

payload := application.ListGetsByIdsRequest{
	// ...
}


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

Example Usage: ApplicationClient.RemoveKey

ctx := context.TODO()
id := application.NewApplicationID("applicationId")

payload := application.RemoveKeyRequest{
	// ...
}


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

Example Usage: ApplicationClient.RemovePassword

ctx := context.TODO()
id := application.NewApplicationID("applicationId")

payload := application.RemovePasswordRequest{
	// ...
}


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

Example Usage: ApplicationClient.Restore

ctx := context.TODO()
id := application.NewApplicationID("applicationId")

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

Example Usage: ApplicationClient.SetVerifiedPublisher

ctx := context.TODO()
id := application.NewApplicationID("applicationId")

payload := application.SetVerifiedPublisherRequest{
	// ...
}


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

Example Usage: ApplicationClient.UnsetVerifiedPublisher

ctx := context.TODO()
id := application.NewApplicationID("applicationId")

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

Example Usage: ApplicationClient.UpdateApplication

ctx := context.TODO()
id := application.NewApplicationID("applicationId")

payload := application.Application{
	// ...
}


read, err := client.UpdateApplication(ctx, id, payload, application.DefaultUpdateApplicationOperationOptions())
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

This section is empty.

Types

type AddKeyOperationOptions

type AddKeyOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultAddKeyOperationOptions

func DefaultAddKeyOperationOptions() AddKeyOperationOptions

func (AddKeyOperationOptions) ToHeaders

func (o AddKeyOperationOptions) ToHeaders() *client.Headers

func (AddKeyOperationOptions) ToOData

func (o AddKeyOperationOptions) ToOData() *odata.Query

func (AddKeyOperationOptions) ToQuery

type AddKeyOperationResponse

type AddKeyOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *stable.KeyCredential
}

type AddKeyRequest

type AddKeyRequest struct {
	KeyCredential      *stable.KeyCredential      `json:"keyCredential,omitempty"`
	PasswordCredential *stable.PasswordCredential `json:"passwordCredential,omitempty"`
	Proof              *string                    `json:"proof,omitempty"`
}

type AddPasswordOperationOptions

type AddPasswordOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultAddPasswordOperationOptions

func DefaultAddPasswordOperationOptions() AddPasswordOperationOptions

func (AddPasswordOperationOptions) ToHeaders

func (AddPasswordOperationOptions) ToOData

func (AddPasswordOperationOptions) ToQuery

type AddPasswordOperationResponse

type AddPasswordOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *stable.PasswordCredential
}

type AddPasswordRequest

type AddPasswordRequest struct {
	PasswordCredential *stable.PasswordCredential `json:"passwordCredential,omitempty"`
}

type ApplicationClient

type ApplicationClient struct {
	Client *msgraph.Client
}

func NewApplicationClientWithBaseURI

func NewApplicationClientWithBaseURI(sdkApi sdkEnv.Api) (*ApplicationClient, error)

func (ApplicationClient) AddKey

AddKey - Invoke action addKey. Add a key credential to an application. This method, along with removeKey can be used by an application to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed. Applications that don’t have any existing valid certificates (no certificates have been added yet, or all certificates have expired), won’t be able to use this service action. You can use the Update application operation to perform an update instead.

func (ApplicationClient) AddPassword

AddPassword - Invoke action addPassword. Adds a strong password or secret to an application. You can also add passwords while creating the application.

func (ApplicationClient) CheckMemberGroups

CheckMemberGroups - Invoke action checkMemberGroups. Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.

func (ApplicationClient) CheckMemberGroupsComplete

CheckMemberGroupsComplete retrieves all the results into a single object

func (ApplicationClient) CheckMemberObjects

CheckMemberObjects - Invoke action checkMemberObjects

func (ApplicationClient) CheckMemberObjectsComplete

CheckMemberObjectsComplete retrieves all the results into a single object

func (ApplicationClient) CreateApplication

CreateApplication - Create application. Create a new application object.

func (ApplicationClient) CreateValidatesProperty

CreateValidatesProperty - Invoke action validateProperties. Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties: 1. Validate the prefix and suffix naming policy 2. Validate the custom banned words policy 3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy.

func (ApplicationClient) DeleteApplication

DeleteApplication - Delete application. Delete an application object. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted.

func (ApplicationClient) GetApplication

GetApplication - Get application. Get the properties and relationships of an application object.

func (ApplicationClient) GetMemberGroups

GetMemberGroups - Invoke action getMemberGroups. Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the DirectoryResultSizeLimitExceeded error code. If you get the DirectoryResultSizeLimitExceeded error code, use the List group transitive memberOf API instead.

func (ApplicationClient) GetMemberGroupsComplete

GetMemberGroupsComplete retrieves all the results into a single object

func (ApplicationClient) GetMemberObjects

GetMemberObjects - Invoke action getMemberObjects. Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles.

func (ApplicationClient) GetMemberObjectsComplete

GetMemberObjectsComplete retrieves all the results into a single object

func (ApplicationClient) GetsCount

GetsCount - Get the number of the resource

func (ApplicationClient) ListApplications

ListApplications - List applications. Get the list of applications in this organization.

func (ApplicationClient) ListApplicationsComplete

ListApplicationsComplete retrieves all the results into a single object

func (ApplicationClient) ListApplicationsCompleteMatchingPredicate

func (c ApplicationClient) ListApplicationsCompleteMatchingPredicate(ctx context.Context, options ListApplicationsOperationOptions, predicate ApplicationOperationPredicate) (result ListApplicationsCompleteResult, err error)

ListApplicationsCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (ApplicationClient) ListGetsAvailableExtensionProperties

ListGetsAvailableExtensionProperties - Invoke action getAvailableExtensionProperties. Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties

func (ApplicationClient) ListGetsAvailableExtensionPropertiesComplete

ListGetsAvailableExtensionPropertiesComplete retrieves all the results into a single object

func (ApplicationClient) ListGetsAvailableExtensionPropertiesCompleteMatchingPredicate

ListGetsAvailableExtensionPropertiesCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (ApplicationClient) ListGetsByIds

ListGetsByIds - Invoke action getByIds. Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to

func (ApplicationClient) ListGetsByIdsComplete

ListGetsByIdsComplete retrieves all the results into a single object

func (ApplicationClient) ListGetsByIdsCompleteMatchingPredicate

func (c ApplicationClient) ListGetsByIdsCompleteMatchingPredicate(ctx context.Context, input ListGetsByIdsRequest, options ListGetsByIdsOperationOptions, predicate DirectoryObjectOperationPredicate) (result ListGetsByIdsCompleteResult, err error)

ListGetsByIdsCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (ApplicationClient) RemoveKey

RemoveKey - Invoke action removeKey. Remove a key credential from an application. This method along with addKey can be used by an application to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed.

func (ApplicationClient) RemovePassword

RemovePassword - Invoke action removePassword. Remove a password from an application.

func (ApplicationClient) Restore

Restore - Invoke action restore. Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.

func (ApplicationClient) SetVerifiedPublisher

SetVerifiedPublisher - Invoke action setVerifiedPublisher. Set the verifiedPublisher on an application. For more information, including prerequisites to setting a verified publisher, see Publisher verification.

func (ApplicationClient) UnsetVerifiedPublisher

UnsetVerifiedPublisher - Invoke action unsetVerifiedPublisher. Unset the verifiedPublisher previously set on an application, removing all verified publisher properties. For more information, see Publisher verification.

func (ApplicationClient) UpdateApplication

UpdateApplication - Upsert application. Create a new application object if it doesn't exist, or update the properties of an existing application object.

type ApplicationOperationPredicate

type ApplicationOperationPredicate struct {
}

func (ApplicationOperationPredicate) Matches

type CheckMemberGroupsCompleteResult

type CheckMemberGroupsCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []string
}

type CheckMemberGroupsCustomPager

type CheckMemberGroupsCustomPager struct {
	NextLink *odata.Link `json:"@odata.nextLink"`
}
func (p *CheckMemberGroupsCustomPager) NextPageLink() *odata.Link

type CheckMemberGroupsOperationOptions

type CheckMemberGroupsOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
	Skip      *int64
	Top       *int64
}

func DefaultCheckMemberGroupsOperationOptions

func DefaultCheckMemberGroupsOperationOptions() CheckMemberGroupsOperationOptions

func (CheckMemberGroupsOperationOptions) ToHeaders

func (CheckMemberGroupsOperationOptions) ToOData

func (CheckMemberGroupsOperationOptions) ToQuery

type CheckMemberGroupsOperationResponse

type CheckMemberGroupsOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]string
}

type CheckMemberGroupsRequest

type CheckMemberGroupsRequest struct {
	GroupIds *[]string `json:"groupIds,omitempty"`
}

type CheckMemberObjectsCompleteResult

type CheckMemberObjectsCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []string
}

type CheckMemberObjectsCustomPager

type CheckMemberObjectsCustomPager struct {
	NextLink *odata.Link `json:"@odata.nextLink"`
}
func (p *CheckMemberObjectsCustomPager) NextPageLink() *odata.Link

type CheckMemberObjectsOperationOptions

type CheckMemberObjectsOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
	Skip      *int64
	Top       *int64
}

func DefaultCheckMemberObjectsOperationOptions

func DefaultCheckMemberObjectsOperationOptions() CheckMemberObjectsOperationOptions

func (CheckMemberObjectsOperationOptions) ToHeaders

func (CheckMemberObjectsOperationOptions) ToOData

func (CheckMemberObjectsOperationOptions) ToQuery

type CheckMemberObjectsOperationResponse

type CheckMemberObjectsOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]string
}

type CheckMemberObjectsRequest

type CheckMemberObjectsRequest struct {
	Ids *[]string `json:"ids,omitempty"`
}

type CreateApplicationOperationOptions

type CreateApplicationOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultCreateApplicationOperationOptions

func DefaultCreateApplicationOperationOptions() CreateApplicationOperationOptions

func (CreateApplicationOperationOptions) ToHeaders

func (CreateApplicationOperationOptions) ToOData

func (CreateApplicationOperationOptions) ToQuery

type CreateApplicationOperationResponse

type CreateApplicationOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *stable.Application
}

type CreateValidatesPropertyOperationOptions

type CreateValidatesPropertyOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultCreateValidatesPropertyOperationOptions

func DefaultCreateValidatesPropertyOperationOptions() CreateValidatesPropertyOperationOptions

func (CreateValidatesPropertyOperationOptions) ToHeaders

func (CreateValidatesPropertyOperationOptions) ToOData

func (CreateValidatesPropertyOperationOptions) ToQuery

type CreateValidatesPropertyOperationResponse

type CreateValidatesPropertyOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type CreateValidatesPropertyRequest

type CreateValidatesPropertyRequest struct {
	DisplayName      nullable.Type[string] `json:"displayName,omitempty"`
	EntityType       nullable.Type[string] `json:"entityType,omitempty"`
	MailNickname     nullable.Type[string] `json:"mailNickname,omitempty"`
	OnBehalfOfUserId nullable.Type[string] `json:"onBehalfOfUserId,omitempty"`
}

type DeleteApplicationOperationOptions

type DeleteApplicationOperationOptions struct {
	IfMatch   *string
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultDeleteApplicationOperationOptions

func DefaultDeleteApplicationOperationOptions() DeleteApplicationOperationOptions

func (DeleteApplicationOperationOptions) ToHeaders

func (DeleteApplicationOperationOptions) ToOData

func (DeleteApplicationOperationOptions) ToQuery

type DeleteApplicationOperationResponse

type DeleteApplicationOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type DirectoryObjectOperationPredicate

type DirectoryObjectOperationPredicate struct {
}

func (DirectoryObjectOperationPredicate) Matches

type ExtensionPropertyOperationPredicate

type ExtensionPropertyOperationPredicate struct {
}

func (ExtensionPropertyOperationPredicate) Matches

type GetApplicationOperationOptions

type GetApplicationOperationOptions struct {
	Expand    *odata.Expand
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
	Select    *[]string
}

func DefaultGetApplicationOperationOptions

func DefaultGetApplicationOperationOptions() GetApplicationOperationOptions

func (GetApplicationOperationOptions) ToHeaders

func (GetApplicationOperationOptions) ToOData

func (GetApplicationOperationOptions) ToQuery

type GetApplicationOperationResponse

type GetApplicationOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *stable.Application
}

type GetMemberGroupsCompleteResult

type GetMemberGroupsCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []string
}

type GetMemberGroupsCustomPager

type GetMemberGroupsCustomPager struct {
	NextLink *odata.Link `json:"@odata.nextLink"`
}
func (p *GetMemberGroupsCustomPager) NextPageLink() *odata.Link

type GetMemberGroupsOperationOptions

type GetMemberGroupsOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
	Skip      *int64
	Top       *int64
}

func DefaultGetMemberGroupsOperationOptions

func DefaultGetMemberGroupsOperationOptions() GetMemberGroupsOperationOptions

func (GetMemberGroupsOperationOptions) ToHeaders

func (GetMemberGroupsOperationOptions) ToOData

func (GetMemberGroupsOperationOptions) ToQuery

type GetMemberGroupsOperationResponse

type GetMemberGroupsOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]string
}

type GetMemberGroupsRequest

type GetMemberGroupsRequest struct {
	SecurityEnabledOnly nullable.Type[bool] `json:"securityEnabledOnly,omitempty"`
}

type GetMemberObjectsCompleteResult

type GetMemberObjectsCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []string
}

type GetMemberObjectsCustomPager

type GetMemberObjectsCustomPager struct {
	NextLink *odata.Link `json:"@odata.nextLink"`
}
func (p *GetMemberObjectsCustomPager) NextPageLink() *odata.Link

type GetMemberObjectsOperationOptions

type GetMemberObjectsOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
	Skip      *int64
	Top       *int64
}

func DefaultGetMemberObjectsOperationOptions

func DefaultGetMemberObjectsOperationOptions() GetMemberObjectsOperationOptions

func (GetMemberObjectsOperationOptions) ToHeaders

func (GetMemberObjectsOperationOptions) ToOData

func (GetMemberObjectsOperationOptions) ToQuery

type GetMemberObjectsOperationResponse

type GetMemberObjectsOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]string
}

type GetMemberObjectsRequest

type GetMemberObjectsRequest struct {
	SecurityEnabledOnly nullable.Type[bool] `json:"securityEnabledOnly,omitempty"`
}

type GetsCountOperationOptions

type GetsCountOperationOptions struct {
	ConsistencyLevel *odata.ConsistencyLevel
	Filter           *string
	Metadata         *odata.Metadata
	RetryFunc        client.RequestRetryFunc
	Search           *string
}

func DefaultGetsCountOperationOptions

func DefaultGetsCountOperationOptions() GetsCountOperationOptions

func (GetsCountOperationOptions) ToHeaders

func (o GetsCountOperationOptions) ToHeaders() *client.Headers

func (GetsCountOperationOptions) ToOData

func (o GetsCountOperationOptions) ToOData() *odata.Query

func (GetsCountOperationOptions) ToQuery

type GetsCountOperationResponse

type GetsCountOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]byte
}

type ListApplicationsCompleteResult

type ListApplicationsCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []stable.Application
}

type ListApplicationsCustomPager

type ListApplicationsCustomPager struct {
	NextLink *odata.Link `json:"@odata.nextLink"`
}
func (p *ListApplicationsCustomPager) NextPageLink() *odata.Link

type ListApplicationsOperationOptions

type ListApplicationsOperationOptions struct {
	ConsistencyLevel *odata.ConsistencyLevel
	Count            *bool
	Expand           *odata.Expand
	Filter           *string
	Metadata         *odata.Metadata
	OrderBy          *odata.OrderBy
	RetryFunc        client.RequestRetryFunc
	Search           *string
	Select           *[]string
	Skip             *int64
	Top              *int64
}

func DefaultListApplicationsOperationOptions

func DefaultListApplicationsOperationOptions() ListApplicationsOperationOptions

func (ListApplicationsOperationOptions) ToHeaders

func (ListApplicationsOperationOptions) ToOData

func (ListApplicationsOperationOptions) ToQuery

type ListApplicationsOperationResponse

type ListApplicationsOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]stable.Application
}

type ListGetsAvailableExtensionPropertiesCompleteResult

type ListGetsAvailableExtensionPropertiesCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []stable.ExtensionProperty
}

type ListGetsAvailableExtensionPropertiesCustomPager

type ListGetsAvailableExtensionPropertiesCustomPager struct {
	NextLink *odata.Link `json:"@odata.nextLink"`
}

type ListGetsAvailableExtensionPropertiesOperationOptions

type ListGetsAvailableExtensionPropertiesOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
	Skip      *int64
	Top       *int64
}

func DefaultListGetsAvailableExtensionPropertiesOperationOptions

func DefaultListGetsAvailableExtensionPropertiesOperationOptions() ListGetsAvailableExtensionPropertiesOperationOptions

func (ListGetsAvailableExtensionPropertiesOperationOptions) ToHeaders

func (ListGetsAvailableExtensionPropertiesOperationOptions) ToOData

func (ListGetsAvailableExtensionPropertiesOperationOptions) ToQuery

type ListGetsAvailableExtensionPropertiesOperationResponse

type ListGetsAvailableExtensionPropertiesOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]stable.ExtensionProperty
}

type ListGetsAvailableExtensionPropertiesRequest

type ListGetsAvailableExtensionPropertiesRequest struct {
	IsSyncedFromOnPremises nullable.Type[bool] `json:"isSyncedFromOnPremises,omitempty"`
}

type ListGetsByIdsCompleteResult

type ListGetsByIdsCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []stable.DirectoryObject
}

type ListGetsByIdsCustomPager

type ListGetsByIdsCustomPager struct {
	NextLink *odata.Link `json:"@odata.nextLink"`
}
func (p *ListGetsByIdsCustomPager) NextPageLink() *odata.Link

type ListGetsByIdsOperationOptions

type ListGetsByIdsOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
	Skip      *int64
	Top       *int64
}

func DefaultListGetsByIdsOperationOptions

func DefaultListGetsByIdsOperationOptions() ListGetsByIdsOperationOptions

func (ListGetsByIdsOperationOptions) ToHeaders

func (ListGetsByIdsOperationOptions) ToOData

func (ListGetsByIdsOperationOptions) ToQuery

type ListGetsByIdsOperationResponse

type ListGetsByIdsOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]stable.DirectoryObject
}

type ListGetsByIdsRequest

type ListGetsByIdsRequest struct {
	Ids   *[]string `json:"ids,omitempty"`
	Types *[]string `json:"types,omitempty"`
}

type RemoveKeyOperationOptions

type RemoveKeyOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultRemoveKeyOperationOptions

func DefaultRemoveKeyOperationOptions() RemoveKeyOperationOptions

func (RemoveKeyOperationOptions) ToHeaders

func (o RemoveKeyOperationOptions) ToHeaders() *client.Headers

func (RemoveKeyOperationOptions) ToOData

func (o RemoveKeyOperationOptions) ToOData() *odata.Query

func (RemoveKeyOperationOptions) ToQuery

type RemoveKeyOperationResponse

type RemoveKeyOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type RemoveKeyRequest

type RemoveKeyRequest struct {
	KeyId *string `json:"keyId,omitempty"`
	Proof *string `json:"proof,omitempty"`
}

type RemovePasswordOperationOptions

type RemovePasswordOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultRemovePasswordOperationOptions

func DefaultRemovePasswordOperationOptions() RemovePasswordOperationOptions

func (RemovePasswordOperationOptions) ToHeaders

func (RemovePasswordOperationOptions) ToOData

func (RemovePasswordOperationOptions) ToQuery

type RemovePasswordOperationResponse

type RemovePasswordOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type RemovePasswordRequest

type RemovePasswordRequest struct {
	KeyId *string `json:"keyId,omitempty"`
}

type RestoreOperationOptions

type RestoreOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultRestoreOperationOptions

func DefaultRestoreOperationOptions() RestoreOperationOptions

func (RestoreOperationOptions) ToHeaders

func (o RestoreOperationOptions) ToHeaders() *client.Headers

func (RestoreOperationOptions) ToOData

func (o RestoreOperationOptions) ToOData() *odata.Query

func (RestoreOperationOptions) ToQuery

type RestoreOperationResponse

type RestoreOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        stable.DirectoryObject
}

type SetVerifiedPublisherOperationOptions

type SetVerifiedPublisherOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultSetVerifiedPublisherOperationOptions

func DefaultSetVerifiedPublisherOperationOptions() SetVerifiedPublisherOperationOptions

func (SetVerifiedPublisherOperationOptions) ToHeaders

func (SetVerifiedPublisherOperationOptions) ToOData

func (SetVerifiedPublisherOperationOptions) ToQuery

type SetVerifiedPublisherOperationResponse

type SetVerifiedPublisherOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type SetVerifiedPublisherRequest

type SetVerifiedPublisherRequest struct {
	VerifiedPublisherId *string `json:"verifiedPublisherId,omitempty"`
}

type UnsetVerifiedPublisherOperationOptions

type UnsetVerifiedPublisherOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultUnsetVerifiedPublisherOperationOptions

func DefaultUnsetVerifiedPublisherOperationOptions() UnsetVerifiedPublisherOperationOptions

func (UnsetVerifiedPublisherOperationOptions) ToHeaders

func (UnsetVerifiedPublisherOperationOptions) ToOData

func (UnsetVerifiedPublisherOperationOptions) ToQuery

type UnsetVerifiedPublisherOperationResponse

type UnsetVerifiedPublisherOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type UpdateApplicationOperationOptions

type UpdateApplicationOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultUpdateApplicationOperationOptions

func DefaultUpdateApplicationOperationOptions() UpdateApplicationOperationOptions

func (UpdateApplicationOperationOptions) ToHeaders

func (UpdateApplicationOperationOptions) ToOData

func (UpdateApplicationOperationOptions) ToQuery

type UpdateApplicationOperationResponse

type UpdateApplicationOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

Jump to

Keyboard shortcuts

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