tenantconfiguration

package
v0.20230524.1111852 Latest Latest
Warning

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

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

README

github.com/hashicorp/go-azure-sdk/resource-manager/portal/2019-01-01-preview/tenantconfiguration Documentation

The tenantconfiguration SDK allows for interaction with the Azure Resource Manager Service portal (API Version 2019-01-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/portal/2019-01-01-preview/tenantconfiguration"

Client Initialization

client := tenantconfiguration.NewTenantConfigurationClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: TenantConfigurationClient.Create

ctx := context.TODO()

payload := tenantconfiguration.Configuration{
	// ...
}


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

Example Usage: TenantConfigurationClient.Delete

ctx := context.TODO()


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

Example Usage: TenantConfigurationClient.Get

ctx := context.TODO()


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

Example Usage: TenantConfigurationClient.List

ctx := context.TODO()


read, err := client.List(ctx)
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 Configuration

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

type ConfigurationList

type ConfigurationList struct {
	NextLink *string          `json:"nextLink,omitempty"`
	Value    *[]Configuration `json:"value,omitempty"`
}

type ConfigurationProperties

type ConfigurationProperties struct {
	EnforcePrivateMarkdownStorage *bool `json:"enforcePrivateMarkdownStorage,omitempty"`
}

type CreateOperationResponse added in v0.20221024.1162143

type CreateOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *Configuration
}

type DeleteOperationResponse added in v0.20221024.1162143

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

type GetOperationResponse added in v0.20221024.1162143

type GetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *Configuration
}

type ListOperationResponse added in v0.20221024.1162143

type ListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ConfigurationList
}

type TenantConfigurationClient

type TenantConfigurationClient struct {
	Client *resourcemanager.Client
}

func NewTenantConfigurationClientWithBaseURI

func NewTenantConfigurationClientWithBaseURI(api environments.Api) (*TenantConfigurationClient, error)

func (TenantConfigurationClient) Create added in v0.20221024.1162143

Create ...

func (TenantConfigurationClient) Delete added in v0.20221024.1162143

Delete ...

func (TenantConfigurationClient) Get added in v0.20221024.1162143

Get ...

func (TenantConfigurationClient) List added in v0.20221024.1162143

List ...

Jump to

Keyboard shortcuts

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