tenantconfiguration

package
v0.20220915.1151935 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2022 License: MPL-2.0 Imports: 5 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.TenantConfigurationsCreate

ctx := context.TODO()

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


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

Example Usage: TenantConfigurationClient.TenantConfigurationsDelete

ctx := context.TODO()


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

Example Usage: TenantConfigurationClient.TenantConfigurationsGet

ctx := context.TODO()


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

Example Usage: TenantConfigurationClient.TenantConfigurationsList

ctx := context.TODO()


read, err := client.TenantConfigurationsList(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 TenantConfigurationClient

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

func NewTenantConfigurationClientWithBaseURI

func NewTenantConfigurationClientWithBaseURI(endpoint string) TenantConfigurationClient

func (TenantConfigurationClient) TenantConfigurationsCreate

func (c TenantConfigurationClient) TenantConfigurationsCreate(ctx context.Context, input Configuration) (result TenantConfigurationsCreateOperationResponse, err error)

TenantConfigurationsCreate ...

func (TenantConfigurationClient) TenantConfigurationsDelete

func (c TenantConfigurationClient) TenantConfigurationsDelete(ctx context.Context) (result TenantConfigurationsDeleteOperationResponse, err error)

TenantConfigurationsDelete ...

func (TenantConfigurationClient) TenantConfigurationsGet

func (c TenantConfigurationClient) TenantConfigurationsGet(ctx context.Context) (result TenantConfigurationsGetOperationResponse, err error)

TenantConfigurationsGet ...

func (TenantConfigurationClient) TenantConfigurationsList

func (c TenantConfigurationClient) TenantConfigurationsList(ctx context.Context) (result TenantConfigurationsListOperationResponse, err error)

TenantConfigurationsList ...

type TenantConfigurationsCreateOperationResponse

type TenantConfigurationsCreateOperationResponse struct {
	HttpResponse *http.Response
	Model        *Configuration
}

type TenantConfigurationsDeleteOperationResponse

type TenantConfigurationsDeleteOperationResponse struct {
	HttpResponse *http.Response
}

type TenantConfigurationsGetOperationResponse

type TenantConfigurationsGetOperationResponse struct {
	HttpResponse *http.Response
	Model        *Configuration
}

type TenantConfigurationsListOperationResponse

type TenantConfigurationsListOperationResponse struct {
	HttpResponse *http.Response
	Model        *ConfigurationList
}

Jump to

Keyboard shortcuts

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