androidmanagedstoreaccountenterprisesetting

package
v0.20241126.2320 Latest Latest
Warning

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

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

README

github.com/hashicorp/go-azure-sdk/microsoft-graph/devicemanagement/beta/androidmanagedstoreaccountenterprisesetting Documentation

The androidmanagedstoreaccountenterprisesetting SDK allows for interaction with Microsoft Graph devicemanagement (API Version beta).

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/devicemanagement/beta/androidmanagedstoreaccountenterprisesetting"

Client Initialization

client := androidmanagedstoreaccountenterprisesetting.NewAndroidManagedStoreAccountEnterpriseSettingClientWithBaseURI("https://graph.microsoft.com")
client.Client.Authorizer = authorizer

Example Usage: AndroidManagedStoreAccountEnterpriseSettingClient.AddAndroidManagedStoreAccountEnterpriseSettingsApps

ctx := context.TODO()

payload := androidmanagedstoreaccountenterprisesetting.AddAndroidManagedStoreAccountEnterpriseSettingsAppsRequest{
	// ...
}


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

Example Usage: AndroidManagedStoreAccountEnterpriseSettingClient.CreateAndroidManagedStoreAccountEnterpriseSettingApproveApp

ctx := context.TODO()

payload := androidmanagedstoreaccountenterprisesetting.CreateAndroidManagedStoreAccountEnterpriseSettingApproveAppRequest{
	// ...
}


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

Example Usage: AndroidManagedStoreAccountEnterpriseSettingClient.CreateAndroidManagedStoreAccountEnterpriseSettingCompleteSignup

ctx := context.TODO()

payload := androidmanagedstoreaccountenterprisesetting.CreateAndroidManagedStoreAccountEnterpriseSettingCompleteSignupRequest{
	// ...
}


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

Example Usage: AndroidManagedStoreAccountEnterpriseSettingClient.CreateAndroidManagedStoreAccountEnterpriseSettingUnbind

ctx := context.TODO()


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

Example Usage: AndroidManagedStoreAccountEnterpriseSettingClient.CreateAndroidManagedStoreAccountEnterpriseSettingsGooglePlayWebToken

ctx := context.TODO()

payload := androidmanagedstoreaccountenterprisesetting.CreateAndroidManagedStoreAccountEnterpriseSettingsGooglePlayWebTokenRequest{
	// ...
}


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

Example Usage: AndroidManagedStoreAccountEnterpriseSettingClient.DeleteAndroidManagedStoreAccountEnterpriseSetting

ctx := context.TODO()


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

Example Usage: AndroidManagedStoreAccountEnterpriseSettingClient.GetAndroidManagedStoreAccountEnterpriseSetting

ctx := context.TODO()


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

Example Usage: AndroidManagedStoreAccountEnterpriseSettingClient.RequestAndroidManagedStoreAccountEnterpriseSettingsSignupUrl

ctx := context.TODO()

payload := androidmanagedstoreaccountenterprisesetting.RequestAndroidManagedStoreAccountEnterpriseSettingsSignupUrlRequest{
	// ...
}


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

Example Usage: AndroidManagedStoreAccountEnterpriseSettingClient.SetAndroidManagedStoreAccountEnterpriseSettingsAndroidDeviceOwnerFullyManagedEnrollmentState

ctx := context.TODO()

payload := androidmanagedstoreaccountenterprisesetting.SetAndroidManagedStoreAccountEnterpriseSettingsAndroidDeviceOwnerFullyManagedEnrollmentStateRequest{
	// ...
}


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

Example Usage: AndroidManagedStoreAccountEnterpriseSettingClient.SyncAndroidManagedStoreAccountEnterpriseSettingsApps

ctx := context.TODO()


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

Example Usage: AndroidManagedStoreAccountEnterpriseSettingClient.UpdateAndroidManagedStoreAccountEnterpriseSetting

ctx := context.TODO()

payload := androidmanagedstoreaccountenterprisesetting.AndroidManagedStoreAccountEnterpriseSettings{
	// ...
}


read, err := client.UpdateAndroidManagedStoreAccountEnterpriseSetting(ctx, payload, androidmanagedstoreaccountenterprisesetting.DefaultUpdateAndroidManagedStoreAccountEnterpriseSettingOperationOptions())
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 AddAndroidManagedStoreAccountEnterpriseSettingsAppsOperationOptions

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

func (AddAndroidManagedStoreAccountEnterpriseSettingsAppsOperationOptions) ToHeaders

func (AddAndroidManagedStoreAccountEnterpriseSettingsAppsOperationOptions) ToOData

func (AddAndroidManagedStoreAccountEnterpriseSettingsAppsOperationOptions) ToQuery

type AddAndroidManagedStoreAccountEnterpriseSettingsAppsOperationResponse

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

type AddAndroidManagedStoreAccountEnterpriseSettingsAppsRequest

type AddAndroidManagedStoreAccountEnterpriseSettingsAppsRequest struct {
	ProductIds *[]string `json:"productIds,omitempty"`
}

type AndroidManagedStoreAccountEnterpriseSettingClient

type AndroidManagedStoreAccountEnterpriseSettingClient struct {
	Client *msgraph.Client
}

func NewAndroidManagedStoreAccountEnterpriseSettingClientWithBaseURI

func NewAndroidManagedStoreAccountEnterpriseSettingClientWithBaseURI(sdkApi sdkEnv.Api) (*AndroidManagedStoreAccountEnterpriseSettingClient, error)

func (AndroidManagedStoreAccountEnterpriseSettingClient) AddAndroidManagedStoreAccountEnterpriseSettingsApps

AddAndroidManagedStoreAccountEnterpriseSettingsApps - Invoke action addApps

func (AndroidManagedStoreAccountEnterpriseSettingClient) CreateAndroidManagedStoreAccountEnterpriseSettingApproveApp

CreateAndroidManagedStoreAccountEnterpriseSettingApproveApp - Invoke action approveApps

func (AndroidManagedStoreAccountEnterpriseSettingClient) CreateAndroidManagedStoreAccountEnterpriseSettingCompleteSignup

CreateAndroidManagedStoreAccountEnterpriseSettingCompleteSignup - Invoke action completeSignup

func (AndroidManagedStoreAccountEnterpriseSettingClient) CreateAndroidManagedStoreAccountEnterpriseSettingUnbind

CreateAndroidManagedStoreAccountEnterpriseSettingUnbind - Invoke action unbind

func (AndroidManagedStoreAccountEnterpriseSettingClient) CreateAndroidManagedStoreAccountEnterpriseSettingsGooglePlayWebToken

CreateAndroidManagedStoreAccountEnterpriseSettingsGooglePlayWebToken - Invoke action createGooglePlayWebToken. Generates a web token that is used in an embeddable component.

func (AndroidManagedStoreAccountEnterpriseSettingClient) DeleteAndroidManagedStoreAccountEnterpriseSetting

DeleteAndroidManagedStoreAccountEnterpriseSetting - Delete navigation property androidManagedStoreAccountEnterpriseSettings for deviceManagement

func (AndroidManagedStoreAccountEnterpriseSettingClient) GetAndroidManagedStoreAccountEnterpriseSetting

GetAndroidManagedStoreAccountEnterpriseSetting - Get androidManagedStoreAccountEnterpriseSettings from deviceManagement. The singleton Android managed store account enterprise settings entity.

func (AndroidManagedStoreAccountEnterpriseSettingClient) RequestAndroidManagedStoreAccountEnterpriseSettingsSignupUrl

RequestAndroidManagedStoreAccountEnterpriseSettingsSignupUrl - Invoke action requestSignupUrl

func (AndroidManagedStoreAccountEnterpriseSettingClient) SetAndroidManagedStoreAccountEnterpriseSettingsAndroidDeviceOwnerFullyManagedEnrollmentState

SetAndroidManagedStoreAccountEnterpriseSettingsAndroidDeviceOwnerFullyManagedEnrollmentState - Invoke action setAndroidDeviceOwnerFullyManagedEnrollmentState. Sets the AndroidManagedStoreAccountEnterpriseSettings AndroidDeviceOwnerFullyManagedEnrollmentEnabled to the given value.

func (AndroidManagedStoreAccountEnterpriseSettingClient) SyncAndroidManagedStoreAccountEnterpriseSettingsApps

SyncAndroidManagedStoreAccountEnterpriseSettingsApps - Invoke action syncApps

func (AndroidManagedStoreAccountEnterpriseSettingClient) UpdateAndroidManagedStoreAccountEnterpriseSetting

UpdateAndroidManagedStoreAccountEnterpriseSetting - Update the navigation property androidManagedStoreAccountEnterpriseSettings in deviceManagement

type CreateAndroidManagedStoreAccountEnterpriseSettingApproveAppOperationOptions

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

func (CreateAndroidManagedStoreAccountEnterpriseSettingApproveAppOperationOptions) ToHeaders

func (CreateAndroidManagedStoreAccountEnterpriseSettingApproveAppOperationOptions) ToOData

func (CreateAndroidManagedStoreAccountEnterpriseSettingApproveAppOperationOptions) ToQuery

type CreateAndroidManagedStoreAccountEnterpriseSettingApproveAppOperationResponse

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

type CreateAndroidManagedStoreAccountEnterpriseSettingApproveAppRequest

type CreateAndroidManagedStoreAccountEnterpriseSettingApproveAppRequest struct {
	ApproveAllPermissions *bool     `json:"approveAllPermissions,omitempty"`
	PackageIds            *[]string `json:"packageIds,omitempty"`
}

type CreateAndroidManagedStoreAccountEnterpriseSettingCompleteSignupOperationOptions

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

func (CreateAndroidManagedStoreAccountEnterpriseSettingCompleteSignupOperationOptions) ToHeaders

func (CreateAndroidManagedStoreAccountEnterpriseSettingCompleteSignupOperationOptions) ToOData

func (CreateAndroidManagedStoreAccountEnterpriseSettingCompleteSignupOperationOptions) ToQuery

type CreateAndroidManagedStoreAccountEnterpriseSettingCompleteSignupOperationResponse

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

type CreateAndroidManagedStoreAccountEnterpriseSettingCompleteSignupRequest

type CreateAndroidManagedStoreAccountEnterpriseSettingCompleteSignupRequest struct {
	EnterpriseToken nullable.Type[string] `json:"enterpriseToken,omitempty"`
}

type CreateAndroidManagedStoreAccountEnterpriseSettingUnbindOperationOptions

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

func (CreateAndroidManagedStoreAccountEnterpriseSettingUnbindOperationOptions) ToHeaders

func (CreateAndroidManagedStoreAccountEnterpriseSettingUnbindOperationOptions) ToOData

func (CreateAndroidManagedStoreAccountEnterpriseSettingUnbindOperationOptions) ToQuery

type CreateAndroidManagedStoreAccountEnterpriseSettingUnbindOperationResponse

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

type CreateAndroidManagedStoreAccountEnterpriseSettingsGooglePlayWebTokenOperationOptions

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

func (CreateAndroidManagedStoreAccountEnterpriseSettingsGooglePlayWebTokenOperationOptions) ToHeaders

func (CreateAndroidManagedStoreAccountEnterpriseSettingsGooglePlayWebTokenOperationOptions) ToOData

func (CreateAndroidManagedStoreAccountEnterpriseSettingsGooglePlayWebTokenOperationOptions) ToQuery

type CreateAndroidManagedStoreAccountEnterpriseSettingsGooglePlayWebTokenOperationResponse

type CreateAndroidManagedStoreAccountEnterpriseSettingsGooglePlayWebTokenOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *CreateAndroidManagedStoreAccountEnterpriseSettingsGooglePlayWebTokenResult
}

type CreateAndroidManagedStoreAccountEnterpriseSettingsGooglePlayWebTokenRequest

type CreateAndroidManagedStoreAccountEnterpriseSettingsGooglePlayWebTokenRequest struct {
	ParentUri nullable.Type[string] `json:"parentUri,omitempty"`
}

type CreateAndroidManagedStoreAccountEnterpriseSettingsGooglePlayWebTokenResult

type CreateAndroidManagedStoreAccountEnterpriseSettingsGooglePlayWebTokenResult struct {
	Value nullable.Type[string] `json:"value,omitempty"`
}

type DeleteAndroidManagedStoreAccountEnterpriseSettingOperationOptions

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

func (DeleteAndroidManagedStoreAccountEnterpriseSettingOperationOptions) ToHeaders

func (DeleteAndroidManagedStoreAccountEnterpriseSettingOperationOptions) ToOData

func (DeleteAndroidManagedStoreAccountEnterpriseSettingOperationOptions) ToQuery

type DeleteAndroidManagedStoreAccountEnterpriseSettingOperationResponse

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

type GetAndroidManagedStoreAccountEnterpriseSettingOperationOptions

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

func (GetAndroidManagedStoreAccountEnterpriseSettingOperationOptions) ToHeaders

func (GetAndroidManagedStoreAccountEnterpriseSettingOperationOptions) ToOData

func (GetAndroidManagedStoreAccountEnterpriseSettingOperationOptions) ToQuery

type GetAndroidManagedStoreAccountEnterpriseSettingOperationResponse

type GetAndroidManagedStoreAccountEnterpriseSettingOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *beta.AndroidManagedStoreAccountEnterpriseSettings
}

type RequestAndroidManagedStoreAccountEnterpriseSettingsSignupUrlOperationOptions

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

func (RequestAndroidManagedStoreAccountEnterpriseSettingsSignupUrlOperationOptions) ToHeaders

func (RequestAndroidManagedStoreAccountEnterpriseSettingsSignupUrlOperationOptions) ToOData

func (RequestAndroidManagedStoreAccountEnterpriseSettingsSignupUrlOperationOptions) ToQuery

type RequestAndroidManagedStoreAccountEnterpriseSettingsSignupUrlOperationResponse

type RequestAndroidManagedStoreAccountEnterpriseSettingsSignupUrlOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *RequestAndroidManagedStoreAccountEnterpriseSettingsSignupUrlResult
}

type RequestAndroidManagedStoreAccountEnterpriseSettingsSignupUrlRequest

type RequestAndroidManagedStoreAccountEnterpriseSettingsSignupUrlRequest struct {
	HostName nullable.Type[string] `json:"hostName,omitempty"`
}

type RequestAndroidManagedStoreAccountEnterpriseSettingsSignupUrlResult

type RequestAndroidManagedStoreAccountEnterpriseSettingsSignupUrlResult struct {
	Value nullable.Type[string] `json:"value,omitempty"`
}

type SetAndroidManagedStoreAccountEnterpriseSettingsAndroidDeviceOwnerFullyManagedEnrollmentStateOperationOptions

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

func (SetAndroidManagedStoreAccountEnterpriseSettingsAndroidDeviceOwnerFullyManagedEnrollmentStateOperationOptions) ToHeaders

func (SetAndroidManagedStoreAccountEnterpriseSettingsAndroidDeviceOwnerFullyManagedEnrollmentStateOperationOptions) ToOData

func (SetAndroidManagedStoreAccountEnterpriseSettingsAndroidDeviceOwnerFullyManagedEnrollmentStateOperationOptions) ToQuery

type SetAndroidManagedStoreAccountEnterpriseSettingsAndroidDeviceOwnerFullyManagedEnrollmentStateOperationResponse

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

type SetAndroidManagedStoreAccountEnterpriseSettingsAndroidDeviceOwnerFullyManagedEnrollmentStateRequest

type SetAndroidManagedStoreAccountEnterpriseSettingsAndroidDeviceOwnerFullyManagedEnrollmentStateRequest struct {
	Enabled *bool `json:"enabled,omitempty"`
}

type SyncAndroidManagedStoreAccountEnterpriseSettingsAppsOperationOptions

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

func (SyncAndroidManagedStoreAccountEnterpriseSettingsAppsOperationOptions) ToHeaders

func (SyncAndroidManagedStoreAccountEnterpriseSettingsAppsOperationOptions) ToOData

func (SyncAndroidManagedStoreAccountEnterpriseSettingsAppsOperationOptions) ToQuery

type SyncAndroidManagedStoreAccountEnterpriseSettingsAppsOperationResponse

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

type UpdateAndroidManagedStoreAccountEnterpriseSettingOperationOptions

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

func (UpdateAndroidManagedStoreAccountEnterpriseSettingOperationOptions) ToHeaders

func (UpdateAndroidManagedStoreAccountEnterpriseSettingOperationOptions) ToOData

func (UpdateAndroidManagedStoreAccountEnterpriseSettingOperationOptions) ToQuery

type UpdateAndroidManagedStoreAccountEnterpriseSettingOperationResponse

type UpdateAndroidManagedStoreAccountEnterpriseSettingOperationResponse 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