Documentation ¶
Index ¶
- type ActionType
- type AdvancedCustomProperties
- type ApplicationConfigs
- type ApplicationType
- type ApplicationTypeMetadata
- type CdiConfigProps
- type CheckDependenciesResponse
- type ClientFactory
- type CompanyDetails
- type CompanyDetailsUpdate
- type ComputeUnitsMetadata
- type CreatedByType
- type InfaRuntimeResourceFetchMetaData
- type InfaServerlessFetchConfigProperties
- type InformaticaOrganizationResource
- type InformaticaOrganizationResourceListResult
- type InformaticaOrganizationResourceUpdate
- type InformaticaProperties
- type InformaticaServerlessRuntimeProperties
- type InformaticaServerlessRuntimeResource
- type InformaticaServerlessRuntimeResourceList
- type InformaticaServerlessRuntimeResourceListResult
- type InformaticaServerlessRuntimeResourceUpdate
- type LinkOrganization
- type MarketplaceDetails
- type MarketplaceDetailsUpdate
- type NetworkInterfaceConfiguration
- type NetworkInterfaceConfigurationUpdate
- type OfferDetails
- type OfferDetailsUpdate
- type Operation
- type OperationDisplay
- type OperationListResult
- type OperationsClient
- type OperationsClientListOptions
- type OperationsClientListResponse
- type OrganizationProperties
- type OrganizationPropertiesCustomUpdate
- type OrganizationsClient
- func (client *OrganizationsClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, organizationName string, ...) (*runtime.Poller[OrganizationsClientCreateOrUpdateResponse], error)
- func (client *OrganizationsClient) BeginDelete(ctx context.Context, resourceGroupName string, organizationName string, ...) (*runtime.Poller[OrganizationsClientDeleteResponse], error)
- func (client *OrganizationsClient) Get(ctx context.Context, resourceGroupName string, organizationName string, ...) (OrganizationsClientGetResponse, error)
- func (client *OrganizationsClient) GetAllServerlessRuntimes(ctx context.Context, resourceGroupName string, organizationName string, ...) (OrganizationsClientGetAllServerlessRuntimesResponse, error)
- func (client *OrganizationsClient) GetServerlessMetadata(ctx context.Context, resourceGroupName string, organizationName string, ...) (OrganizationsClientGetServerlessMetadataResponse, error)
- func (client *OrganizationsClient) NewListByResourceGroupPager(resourceGroupName string, ...) *runtime.Pager[OrganizationsClientListByResourceGroupResponse]
- func (client *OrganizationsClient) NewListBySubscriptionPager(options *OrganizationsClientListBySubscriptionOptions) *runtime.Pager[OrganizationsClientListBySubscriptionResponse]
- func (client *OrganizationsClient) Update(ctx context.Context, resourceGroupName string, organizationName string, ...) (OrganizationsClientUpdateResponse, error)
- type OrganizationsClientBeginCreateOrUpdateOptions
- type OrganizationsClientBeginDeleteOptions
- type OrganizationsClientCreateOrUpdateResponse
- type OrganizationsClientDeleteResponse
- type OrganizationsClientGetAllServerlessRuntimesOptions
- type OrganizationsClientGetAllServerlessRuntimesResponse
- type OrganizationsClientGetOptions
- type OrganizationsClientGetResponse
- type OrganizationsClientGetServerlessMetadataOptions
- type OrganizationsClientGetServerlessMetadataResponse
- type OrganizationsClientListByResourceGroupOptions
- type OrganizationsClientListByResourceGroupResponse
- type OrganizationsClientListBySubscriptionOptions
- type OrganizationsClientListBySubscriptionResponse
- type OrganizationsClientUpdateOptions
- type OrganizationsClientUpdateResponse
- type Origin
- type PlatformType
- type ProvisioningState
- type RegionsMetadata
- type RuntimeType
- type ServerlessConfigProperties
- type ServerlessMetadataResponse
- type ServerlessRuntimeConfigProperties
- type ServerlessRuntimeConfigPropertiesUpdate
- type ServerlessRuntimeDependency
- type ServerlessRuntimeNetworkProfile
- type ServerlessRuntimeNetworkProfileUpdate
- type ServerlessRuntimePropertiesCustomUpdate
- type ServerlessRuntimeTag
- type ServerlessRuntimeUserContextProperties
- type ServerlessRuntimeUserContextPropertiesUpdate
- type ServerlessRuntimesClient
- func (client *ServerlessRuntimesClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, organizationName string, ...) (*runtime.Poller[ServerlessRuntimesClientCreateOrUpdateResponse], error)
- func (client *ServerlessRuntimesClient) BeginDelete(ctx context.Context, resourceGroupName string, organizationName string, ...) (*runtime.Poller[ServerlessRuntimesClientDeleteResponse], error)
- func (client *ServerlessRuntimesClient) CheckDependencies(ctx context.Context, resourceGroupName string, organizationName string, ...) (ServerlessRuntimesClientCheckDependenciesResponse, error)
- func (client *ServerlessRuntimesClient) Get(ctx context.Context, resourceGroupName string, organizationName string, ...) (ServerlessRuntimesClientGetResponse, error)
- func (client *ServerlessRuntimesClient) NewListByInformaticaOrganizationResourcePager(resourceGroupName string, organizationName string, ...) ...
- func (client *ServerlessRuntimesClient) ServerlessResourceByID(ctx context.Context, resourceGroupName string, organizationName string, ...) (ServerlessRuntimesClientServerlessResourceByIDResponse, error)
- func (client *ServerlessRuntimesClient) StartFailedServerlessRuntime(ctx context.Context, resourceGroupName string, organizationName string, ...) (ServerlessRuntimesClientStartFailedServerlessRuntimeResponse, error)
- func (client *ServerlessRuntimesClient) Update(ctx context.Context, resourceGroupName string, organizationName string, ...) (ServerlessRuntimesClientUpdateResponse, error)
- type ServerlessRuntimesClientBeginCreateOrUpdateOptions
- type ServerlessRuntimesClientBeginDeleteOptions
- type ServerlessRuntimesClientCheckDependenciesOptions
- type ServerlessRuntimesClientCheckDependenciesResponse
- type ServerlessRuntimesClientCreateOrUpdateResponse
- type ServerlessRuntimesClientDeleteResponse
- type ServerlessRuntimesClientGetOptions
- type ServerlessRuntimesClientGetResponse
- type ServerlessRuntimesClientListByInformaticaOrganizationResourceOptions
- type ServerlessRuntimesClientListByInformaticaOrganizationResourceResponse
- type ServerlessRuntimesClientServerlessResourceByIDOptions
- type ServerlessRuntimesClientServerlessResourceByIDResponse
- type ServerlessRuntimesClientStartFailedServerlessRuntimeOptions
- type ServerlessRuntimesClientStartFailedServerlessRuntimeResponse
- type ServerlessRuntimesClientUpdateOptions
- type ServerlessRuntimesClientUpdateResponse
- type SystemData
- type UserDetails
- type UserDetailsUpdate
Examples ¶
- OperationsClient.NewListPager (OperationsList)
- OperationsClient.NewListPager (OperationsListMin)
- OrganizationsClient.BeginCreateOrUpdate (OrganizationsCreateOrUpdate)
- OrganizationsClient.BeginCreateOrUpdate (OrganizationsCreateOrUpdateMin)
- OrganizationsClient.BeginDelete (OrganizationsDelete)
- OrganizationsClient.BeginDelete (OrganizationsDeleteMin)
- OrganizationsClient.Get (OrganizationsGet)
- OrganizationsClient.Get (OrganizationsGetMin)
- OrganizationsClient.GetAllServerlessRuntimes (OrganizationsGetAllServerlessRuntimes)
- OrganizationsClient.GetAllServerlessRuntimes (OrganizationsGetAllServerlessRuntimesMin)
- OrganizationsClient.GetServerlessMetadata (OrganizationsGetServerlessMetadata)
- OrganizationsClient.GetServerlessMetadata (OrganizationsGetServerlessMetadataMin)
- OrganizationsClient.NewListByResourceGroupPager (OrganizationsListByResourceGroup)
- OrganizationsClient.NewListByResourceGroupPager (OrganizationsListByResourceGroupMin)
- OrganizationsClient.NewListBySubscriptionPager (OrganizationsListBySubscription)
- OrganizationsClient.NewListBySubscriptionPager (OrganizationsListBySubscriptionMin)
- OrganizationsClient.Update (OrganizationsUpdate)
- OrganizationsClient.Update (OrganizationsUpdateMin)
- ServerlessRuntimesClient.BeginCreateOrUpdate (ServerlessRuntimesCreateOrUpdate)
- ServerlessRuntimesClient.BeginCreateOrUpdate (ServerlessRuntimesCreateOrUpdateMin)
- ServerlessRuntimesClient.BeginDelete
- ServerlessRuntimesClient.CheckDependencies (ServerlessRuntimesCheckDependencies)
- ServerlessRuntimesClient.CheckDependencies (ServerlessRuntimesCheckDependenciesMin)
- ServerlessRuntimesClient.Get (ServerlessRuntimesGet)
- ServerlessRuntimesClient.Get (ServerlessRuntimesGetMin)
- ServerlessRuntimesClient.NewListByInformaticaOrganizationResourcePager
- ServerlessRuntimesClient.ServerlessResourceByID
- ServerlessRuntimesClient.StartFailedServerlessRuntime
- ServerlessRuntimesClient.Update (ServerlessRuntimesUpdate)
- ServerlessRuntimesClient.Update (ServerlessRuntimesUpdateMin)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionType ¶
type ActionType string
ActionType - Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.
const (
ActionTypeInternal ActionType = "Internal"
)
func PossibleActionTypeValues ¶
func PossibleActionTypeValues() []ActionType
PossibleActionTypeValues returns the possible values for the ActionType const type.
type AdvancedCustomProperties ¶
type AdvancedCustomProperties struct { // advanced custom properties key Key *string // advanced custom properties value Value *string }
AdvancedCustomProperties - Informatica Serverless advanced custom properties
func (AdvancedCustomProperties) MarshalJSON ¶
func (a AdvancedCustomProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type AdvancedCustomProperties.
func (*AdvancedCustomProperties) UnmarshalJSON ¶
func (a *AdvancedCustomProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type AdvancedCustomProperties.
type ApplicationConfigs ¶
type ApplicationConfigs struct { // REQUIRED; Customized value of the application config. Customized *string // REQUIRED; Default value of the application config. DefaultValue *string // REQUIRED; Name of the application config. Name *string // REQUIRED; Platform type of the application config. Platform *string // REQUIRED; Type of the application config. Type *string // REQUIRED; Value of the application config. Value *string }
ApplicationConfigs - Application configs
func (ApplicationConfigs) MarshalJSON ¶
func (a ApplicationConfigs) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ApplicationConfigs.
func (*ApplicationConfigs) UnmarshalJSON ¶
func (a *ApplicationConfigs) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ApplicationConfigs.
type ApplicationType ¶
type ApplicationType string
ApplicationType - Various application types of the Serverless Runtime environments
const ( // ApplicationTypeCDI - Data Integration ApplicationTypeCDI ApplicationType = "CDI" // ApplicationTypeCDIE - Advanced Data Integration ApplicationTypeCDIE ApplicationType = "CDIE" )
func PossibleApplicationTypeValues ¶
func PossibleApplicationTypeValues() []ApplicationType
PossibleApplicationTypeValues returns the possible values for the ApplicationType const type.
type ApplicationTypeMetadata ¶
type ApplicationTypeMetadata struct { // Application type name Name *string // Application type value Value *string }
ApplicationTypeMetadata - Informatica Serverless Runtime Application type Metadata
func (ApplicationTypeMetadata) MarshalJSON ¶
func (a ApplicationTypeMetadata) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ApplicationTypeMetadata.
func (*ApplicationTypeMetadata) UnmarshalJSON ¶
func (a *ApplicationTypeMetadata) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ApplicationTypeMetadata.
type CdiConfigProps ¶
type CdiConfigProps struct { // REQUIRED; ApplicationConfigs of the CDI or CDIE. ApplicationConfigs []*ApplicationConfigs // REQUIRED; EngineName of the application config. EngineName *string // REQUIRED; EngineVersion of the application config. EngineVersion *string }
CdiConfigProps - Informatica CDI Configuration Properties.
func (CdiConfigProps) MarshalJSON ¶
func (c CdiConfigProps) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type CdiConfigProps.
func (*CdiConfigProps) UnmarshalJSON ¶
func (c *CdiConfigProps) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type CdiConfigProps.
type CheckDependenciesResponse ¶
type CheckDependenciesResponse struct { // REQUIRED; Count of dependencies Count *int32 // REQUIRED; id of resource ID *string // REQUIRED; List of dependencies References []*ServerlessRuntimeDependency }
CheckDependenciesResponse - Model for the check dependencies API for an informatica serverless runtime resource
func (CheckDependenciesResponse) MarshalJSON ¶
func (c CheckDependenciesResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type CheckDependenciesResponse.
func (*CheckDependenciesResponse) UnmarshalJSON ¶
func (c *CheckDependenciesResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type CheckDependenciesResponse.
type ClientFactory ¶
type ClientFactory struct {
// contains filtered or unexported fields
}
ClientFactory is a client factory used to create any client in this module. Don't use this type directly, use NewClientFactory instead.
func NewClientFactory ¶
func NewClientFactory(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*ClientFactory, error)
NewClientFactory creates a new instance of ClientFactory with the specified values. The parameter values will be propagated to any client created from this factory.
- subscriptionID - The ID of the target subscription.
- credential - used to authorize requests. Usually a credential from azidentity.
- options - pass nil to accept the default values.
func (*ClientFactory) NewOperationsClient ¶
func (c *ClientFactory) NewOperationsClient() *OperationsClient
NewOperationsClient creates a new instance of OperationsClient.
func (*ClientFactory) NewOrganizationsClient ¶
func (c *ClientFactory) NewOrganizationsClient() *OrganizationsClient
NewOrganizationsClient creates a new instance of OrganizationsClient.
func (*ClientFactory) NewServerlessRuntimesClient ¶
func (c *ClientFactory) NewServerlessRuntimesClient() *ServerlessRuntimesClient
NewServerlessRuntimesClient creates a new instance of ServerlessRuntimesClient.
type CompanyDetails ¶
type CompanyDetails struct { // Business phone number Business *string // company Name CompanyName *string // Country name Country *string // Domain name Domain *string // Number Of Employees NumberOfEmployees *int32 // Office Address OfficeAddress *string }
CompanyDetails - Company Details.
func (CompanyDetails) MarshalJSON ¶
func (c CompanyDetails) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type CompanyDetails.
func (*CompanyDetails) UnmarshalJSON ¶
func (c *CompanyDetails) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type CompanyDetails.
type CompanyDetailsUpdate ¶
type CompanyDetailsUpdate struct { // Business phone number Business *string // company Name CompanyName *string // Country name Country *string // Domain name Domain *string // Number Of Employees NumberOfEmployees *int32 // Office Address OfficeAddress *string }
CompanyDetailsUpdate - Company details of Informatica Organization resource
func (CompanyDetailsUpdate) MarshalJSON ¶
func (c CompanyDetailsUpdate) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type CompanyDetailsUpdate.
func (*CompanyDetailsUpdate) UnmarshalJSON ¶
func (c *CompanyDetailsUpdate) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type CompanyDetailsUpdate.
type ComputeUnitsMetadata ¶
type ComputeUnitsMetadata struct { // ComputeUnit name Name *string // ComputeUnit value Value []*string }
ComputeUnitsMetadata - Informatica Serverless Runtime Application type Metadata
func (ComputeUnitsMetadata) MarshalJSON ¶
func (c ComputeUnitsMetadata) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ComputeUnitsMetadata.
func (*ComputeUnitsMetadata) UnmarshalJSON ¶
func (c *ComputeUnitsMetadata) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ComputeUnitsMetadata.
type CreatedByType ¶
type CreatedByType string
CreatedByType - The type of identity that created the resource.
const ( CreatedByTypeApplication CreatedByType = "Application" CreatedByTypeKey CreatedByType = "Key" CreatedByTypeManagedIdentity CreatedByType = "ManagedIdentity" CreatedByTypeUser CreatedByType = "User" )
func PossibleCreatedByTypeValues ¶
func PossibleCreatedByTypeValues() []CreatedByType
PossibleCreatedByTypeValues returns the possible values for the CreatedByType const type.
type InfaRuntimeResourceFetchMetaData ¶
type InfaRuntimeResourceFetchMetaData struct { // REQUIRED; Created by CreatedBy *string // REQUIRED; Created time CreatedTime *string // REQUIRED; Informatica serverless runtime id ID *string // REQUIRED; Environment name Name *string // REQUIRED; Serverless Config Properties ServerlessConfigProperties *InfaServerlessFetchConfigProperties // REQUIRED; Status of the environment Status *string // REQUIRED; Display message for the given status StatusLocalized *string // REQUIRED; status message StatusMessage *string // REQUIRED; Environment Type Type *RuntimeType // REQUIRED; Last Updated by UpdatedBy *string // REQUIRED; Updated Time UpdatedTime *string // Description of the runtime resource Description *string }
InfaRuntimeResourceFetchMetaData - Informatica runtime resource metadata as received via the informatica fetch all runtime environments API
func (InfaRuntimeResourceFetchMetaData) MarshalJSON ¶
func (i InfaRuntimeResourceFetchMetaData) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type InfaRuntimeResourceFetchMetaData.
func (*InfaRuntimeResourceFetchMetaData) UnmarshalJSON ¶
func (i *InfaRuntimeResourceFetchMetaData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type InfaRuntimeResourceFetchMetaData.
type InfaServerlessFetchConfigProperties ¶
type InfaServerlessFetchConfigProperties struct { // Advanced custom properties AdvancedCustomProperties *string // applicationType name ApplicationType *string // Compute Units ComputeUnits *string // Execution timeout ExecutionTimeout *string // Serverless Account Platform Platform *string // region name for the runtime environment Region *string // Resource group name ResourceGroupName *string // Serverless Arm Resource ID ServerlessArmResourceID *string // subnet name Subnet *string // subscription ID SubscriptionID *string // Supplementary File location SupplementaryFileLocation *string // Tags for the resource Tags *string // Tenant ID TenantID *string // virtual network Vnet *string }
InfaServerlessFetchConfigProperties for the fetch all serverless API as received from informatica API response
func (InfaServerlessFetchConfigProperties) MarshalJSON ¶
func (i InfaServerlessFetchConfigProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type InfaServerlessFetchConfigProperties.
func (*InfaServerlessFetchConfigProperties) UnmarshalJSON ¶
func (i *InfaServerlessFetchConfigProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type InfaServerlessFetchConfigProperties.
type InformaticaOrganizationResource ¶
type InformaticaOrganizationResource struct { // REQUIRED; The geo-location where the resource lives Location *string // The resource-specific properties for this resource. Properties *OrganizationProperties // Resource tags. Tags map[string]*string // READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string // READ-ONLY; The name of the resource Name *string // READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information. SystemData *SystemData // READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string }
InformaticaOrganizationResource - An Organization Resource by Informatica.
func (InformaticaOrganizationResource) MarshalJSON ¶
func (i InformaticaOrganizationResource) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type InformaticaOrganizationResource.
func (*InformaticaOrganizationResource) UnmarshalJSON ¶
func (i *InformaticaOrganizationResource) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type InformaticaOrganizationResource.
type InformaticaOrganizationResourceListResult ¶
type InformaticaOrganizationResourceListResult struct { // REQUIRED; The InformaticaOrganizationResource items on this page Value []*InformaticaOrganizationResource // The link to the next page of items NextLink *string }
InformaticaOrganizationResourceListResult - The response of a InformaticaOrganizationResource list operation.
func (InformaticaOrganizationResourceListResult) MarshalJSON ¶
func (i InformaticaOrganizationResourceListResult) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type InformaticaOrganizationResourceListResult.
func (*InformaticaOrganizationResourceListResult) UnmarshalJSON ¶
func (i *InformaticaOrganizationResourceListResult) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type InformaticaOrganizationResourceListResult.
type InformaticaOrganizationResourceUpdate ¶
type InformaticaOrganizationResourceUpdate struct { // Patchable PropertieInformaticaOrganizationPropertiesUpdates of the Organization observability resource Properties *OrganizationPropertiesCustomUpdate // Resource tags. Tags map[string]*string }
InformaticaOrganizationResourceUpdate - The template for adding optional properties.
func (InformaticaOrganizationResourceUpdate) MarshalJSON ¶
func (i InformaticaOrganizationResourceUpdate) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type InformaticaOrganizationResourceUpdate.
func (*InformaticaOrganizationResourceUpdate) UnmarshalJSON ¶
func (i *InformaticaOrganizationResourceUpdate) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type InformaticaOrganizationResourceUpdate.
type InformaticaProperties ¶
type InformaticaProperties struct { // Informatica organization region InformaticaRegion *string // Organization id OrganizationID *string // Organization name OrganizationName *string // Single sing on URL for informatica organization SingleSignOnURL *string }
InformaticaProperties - Properties of the Informatica organization.
func (InformaticaProperties) MarshalJSON ¶
func (i InformaticaProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type InformaticaProperties.
func (*InformaticaProperties) UnmarshalJSON ¶
func (i *InformaticaProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type InformaticaProperties.
type InformaticaServerlessRuntimeProperties ¶
type InformaticaServerlessRuntimeProperties struct { // REQUIRED; Serverless account creation location ServerlessAccountLocation *string // String KV pairs indicating Advanced custom properties. AdvancedCustomProperties []*AdvancedCustomProperties // Application type of the Serverless Runtime environment. ApplicationType *ApplicationType // Compute units of the serverless runtime. ComputeUnits *string // description of the serverless runtime. Description *string // Serverless Execution timeout ExecutionTimeout *string // Platform type of the Serverless Runtime. Platform *PlatformType // Serverless config properties ServerlessRuntimeConfig *ServerlessRuntimeConfigProperties // Informatica Serverless Network profile properties. ServerlessRuntimeNetworkProfile *ServerlessRuntimeNetworkProfile // Serverless Runtime Tags ServerlessRuntimeTags []*ServerlessRuntimeTag // Serverless runtime user context properties ServerlessRuntimeUserContextProperties *ServerlessRuntimeUserContextProperties // Supplementary file location. SupplementaryFileLocation *string // READ-ONLY; Provisioning State of the resource. ProvisioningState *ProvisioningState }
InformaticaServerlessRuntimeProperties - Serverless Runtime properties.
func (InformaticaServerlessRuntimeProperties) MarshalJSON ¶
func (i InformaticaServerlessRuntimeProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type InformaticaServerlessRuntimeProperties.
func (*InformaticaServerlessRuntimeProperties) UnmarshalJSON ¶
func (i *InformaticaServerlessRuntimeProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type InformaticaServerlessRuntimeProperties.
type InformaticaServerlessRuntimeResource ¶
type InformaticaServerlessRuntimeResource struct { // The resource-specific properties for this resource. Properties *InformaticaServerlessRuntimeProperties // READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string // READ-ONLY; The name of the resource Name *string // READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information. SystemData *SystemData // READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string }
InformaticaServerlessRuntimeResource - A Serverless Runtime environment resource by Informatica.
func (InformaticaServerlessRuntimeResource) MarshalJSON ¶
func (i InformaticaServerlessRuntimeResource) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type InformaticaServerlessRuntimeResource.
func (*InformaticaServerlessRuntimeResource) UnmarshalJSON ¶
func (i *InformaticaServerlessRuntimeResource) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type InformaticaServerlessRuntimeResource.
type InformaticaServerlessRuntimeResourceList ¶
type InformaticaServerlessRuntimeResourceList struct { // REQUIRED; List of runtime resources for the fetch all API InformaticaRuntimeResources []*InfaRuntimeResourceFetchMetaData }
InformaticaServerlessRuntimeResourceList - A list of serverless runtime resources as fetched using the informatica APIs
func (InformaticaServerlessRuntimeResourceList) MarshalJSON ¶
func (i InformaticaServerlessRuntimeResourceList) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type InformaticaServerlessRuntimeResourceList.
func (*InformaticaServerlessRuntimeResourceList) UnmarshalJSON ¶
func (i *InformaticaServerlessRuntimeResourceList) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type InformaticaServerlessRuntimeResourceList.
type InformaticaServerlessRuntimeResourceListResult ¶
type InformaticaServerlessRuntimeResourceListResult struct { // REQUIRED; The InformaticaServerlessRuntimeResource items on this page Value []*InformaticaServerlessRuntimeResource // The link to the next page of items NextLink *string }
InformaticaServerlessRuntimeResourceListResult - The response of a InformaticaServerlessRuntimeResource list operation.
func (InformaticaServerlessRuntimeResourceListResult) MarshalJSON ¶
func (i InformaticaServerlessRuntimeResourceListResult) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type InformaticaServerlessRuntimeResourceListResult.
func (*InformaticaServerlessRuntimeResourceListResult) UnmarshalJSON ¶
func (i *InformaticaServerlessRuntimeResourceListResult) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type InformaticaServerlessRuntimeResourceListResult.
type InformaticaServerlessRuntimeResourceUpdate ¶
type InformaticaServerlessRuntimeResourceUpdate struct { // Patchable PropertieInformaticaOrganizationPropertiesUpdates of the Organization observability resource Properties *ServerlessRuntimePropertiesCustomUpdate }
InformaticaServerlessRuntimeResourceUpdate - The template for adding optional properties.
func (InformaticaServerlessRuntimeResourceUpdate) MarshalJSON ¶
func (i InformaticaServerlessRuntimeResourceUpdate) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type InformaticaServerlessRuntimeResourceUpdate.
func (*InformaticaServerlessRuntimeResourceUpdate) UnmarshalJSON ¶
func (i *InformaticaServerlessRuntimeResourceUpdate) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type InformaticaServerlessRuntimeResourceUpdate.
type LinkOrganization ¶
type LinkOrganization struct { // Link organization token Token *string }
LinkOrganization - Link Organization
func (LinkOrganization) MarshalJSON ¶
func (l LinkOrganization) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type LinkOrganization.
func (*LinkOrganization) UnmarshalJSON ¶
func (l *LinkOrganization) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type LinkOrganization.
type MarketplaceDetails ¶
type MarketplaceDetails struct { // REQUIRED; Marketplace offer details. OfferDetails *OfferDetails // Marketplace Subscription Id MarketplaceSubscriptionID *string }
MarketplaceDetails - Marketplace details.
func (MarketplaceDetails) MarshalJSON ¶
func (m MarketplaceDetails) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type MarketplaceDetails.
func (*MarketplaceDetails) UnmarshalJSON ¶
func (m *MarketplaceDetails) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type MarketplaceDetails.
type MarketplaceDetailsUpdate ¶
type MarketplaceDetailsUpdate struct { // Marketplace Subscription Id MarketplaceSubscriptionID *string // Marketplace offer details. OfferDetails *OfferDetailsUpdate }
MarketplaceDetailsUpdate - Marketplace details
func (MarketplaceDetailsUpdate) MarshalJSON ¶
func (m MarketplaceDetailsUpdate) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type MarketplaceDetailsUpdate.
func (*MarketplaceDetailsUpdate) UnmarshalJSON ¶
func (m *MarketplaceDetailsUpdate) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type MarketplaceDetailsUpdate.
type NetworkInterfaceConfiguration ¶
type NetworkInterfaceConfiguration struct { // REQUIRED; Virtual network subnet resource id SubnetID *string // REQUIRED; Virtual network resource id VnetID *string // Virtual network resource guid VnetResourceGUID *string }
NetworkInterfaceConfiguration - Informatica Serverless Runtime Network Interface configurations.
func (NetworkInterfaceConfiguration) MarshalJSON ¶
func (n NetworkInterfaceConfiguration) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type NetworkInterfaceConfiguration.
func (*NetworkInterfaceConfiguration) UnmarshalJSON ¶
func (n *NetworkInterfaceConfiguration) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type NetworkInterfaceConfiguration.
type NetworkInterfaceConfigurationUpdate ¶
type NetworkInterfaceConfigurationUpdate struct { // Virtual network subnet resource id SubnetID *string // Virtual network resource id VnetID *string // Virtual network resource guid VnetResourceGUID *string }
NetworkInterfaceConfigurationUpdate - The template for adding optional properties.
func (NetworkInterfaceConfigurationUpdate) MarshalJSON ¶
func (n NetworkInterfaceConfigurationUpdate) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type NetworkInterfaceConfigurationUpdate.
func (*NetworkInterfaceConfigurationUpdate) UnmarshalJSON ¶
func (n *NetworkInterfaceConfigurationUpdate) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type NetworkInterfaceConfigurationUpdate.
type OfferDetails ¶
type OfferDetails struct { // REQUIRED; Id of the product offering. OfferID *string // REQUIRED; Id of the product offer plan. PlanID *string // REQUIRED; Name of the product offer plan. PlanName *string // REQUIRED; Id of the product publisher. PublisherID *string // REQUIRED; Offer plan term id. TermID *string // Offer plan term unit. TermUnit *string }
OfferDetails - Details of the product offering.
func (OfferDetails) MarshalJSON ¶
func (o OfferDetails) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type OfferDetails.
func (*OfferDetails) UnmarshalJSON ¶
func (o *OfferDetails) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type OfferDetails.
type OfferDetailsUpdate ¶
type OfferDetailsUpdate struct { // Id of the product offering. OfferID *string // Id of the product offer plan. PlanID *string // Name of the product offer plan. PlanName *string // Id of the product publisher. PublisherID *string // Offer plan term id. TermID *string // Offer plan term unit. TermUnit *string }
OfferDetailsUpdate - Details of the product offering
func (OfferDetailsUpdate) MarshalJSON ¶
func (o OfferDetailsUpdate) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type OfferDetailsUpdate.
func (*OfferDetailsUpdate) UnmarshalJSON ¶
func (o *OfferDetailsUpdate) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type OfferDetailsUpdate.
type Operation ¶
type Operation struct { // Localized display information for this particular operation. Display *OperationDisplay // READ-ONLY; Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. ActionType *ActionType // READ-ONLY; Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for ARM/control-plane // operations. IsDataAction *bool // READ-ONLY; The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", // "Microsoft.Compute/virtualMachines/capture/action" Name *string // READ-ONLY; The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default // value is "user,system" Origin *Origin }
Operation - Details of a REST API operation, returned from the Resource Provider Operations API
func (Operation) MarshalJSON ¶
MarshalJSON implements the json.Marshaller interface for type Operation.
func (*Operation) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaller interface for type Operation.
type OperationDisplay ¶
type OperationDisplay struct { // READ-ONLY; The short, localized friendly description of the operation; suitable for tool tips and detailed views. Description *string // READ-ONLY; The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual // Machine", "Restart Virtual Machine". Operation *string // READ-ONLY; The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft // Compute". Provider *string // READ-ONLY; The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job // Schedule Collections". Resource *string }
OperationDisplay - Localized display information for this particular operation.
func (OperationDisplay) MarshalJSON ¶
func (o OperationDisplay) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type OperationDisplay.
func (*OperationDisplay) UnmarshalJSON ¶
func (o *OperationDisplay) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type OperationDisplay.
type OperationListResult ¶
type OperationListResult struct { // READ-ONLY; URL to get the next set of operation list results (if there are any). NextLink *string // READ-ONLY; List of operations supported by the resource provider Value []*Operation }
OperationListResult - A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results.
func (OperationListResult) MarshalJSON ¶
func (o OperationListResult) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type OperationListResult.
func (*OperationListResult) UnmarshalJSON ¶
func (o *OperationListResult) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type OperationListResult.
type OperationsClient ¶
type OperationsClient struct {
// contains filtered or unexported fields
}
OperationsClient contains the methods for the Operations group. Don't use this type directly, use NewOperationsClient() instead.
func NewOperationsClient ¶
func NewOperationsClient(credential azcore.TokenCredential, options *arm.ClientOptions) (*OperationsClient, error)
NewOperationsClient creates a new instance of OperationsClient with the specified values.
- credential - used to authorize requests. Usually a credential from azidentity.
- options - pass nil to accept the default values.
func (*OperationsClient) NewListPager ¶
func (client *OperationsClient) NewListPager(options *OperationsClientListOptions) *runtime.Pager[OperationsClientListResponse]
NewListPager - List the operations for the provider
Generated from API version 2024-05-08
- options - OperationsClientListOptions contains the optional parameters for the OperationsClient.NewListPager method.
Example (OperationsList) ¶
Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/56537883b7cdb95618c3d1ec1c0ee37b59d88d72/specification/informatica/resource-manager/Informatica.DataManagement/stable/2024-05-08/examples/Operations_List_MaximumSet_Gen.json
package main import ( "context" "log" "github.com/Azure/azure-sdk-for-go/sdk/azidentity" "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/informaticadatamgmt/arminformaticadatamgmt" ) func main() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { log.Fatalf("failed to obtain a credential: %v", err) } ctx := context.Background() clientFactory, err := arminformaticadatamgmt.NewClientFactory("<subscription-id>", cred, nil) if err != nil { log.Fatalf("failed to create client: %v", err) } pager := clientFactory.NewOperationsClient().NewListPager(nil) for pager.More() { page, err := pager.NextPage(ctx) if err != nil { log.Fatalf("failed to advance page: %v", err) } for _, v := range page.Value { // You could use page here. We use blank identifier for just demo purposes. _ = v } // If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes. // page.OperationListResult = arminformaticadatamgmt.OperationListResult{ // Value: []*arminformaticadatamgmt.Operation{ // { // Name: to.Ptr("brrqleqkngjxzvw"), // ActionType: to.Ptr(arminformaticadatamgmt.ActionTypeInternal), // Display: &arminformaticadatamgmt.OperationDisplay{ // Description: to.Ptr("tcgposapyblnjwnjzxalhluz"), // Operation: to.Ptr("av"), // Provider: to.Ptr("a"), // Resource: to.Ptr("ogccssxg"), // }, // IsDataAction: to.Ptr(true), // Origin: to.Ptr(arminformaticadatamgmt.OriginUser), // }}, // } } }
Output:
Example (OperationsListMin) ¶
Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/56537883b7cdb95618c3d1ec1c0ee37b59d88d72/specification/informatica/resource-manager/Informatica.DataManagement/stable/2024-05-08/examples/Operations_List_MinimumSet_Gen.json
package main import ( "context" "log" "github.com/Azure/azure-sdk-for-go/sdk/azidentity" "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/informaticadatamgmt/arminformaticadatamgmt" ) func main() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { log.Fatalf("failed to obtain a credential: %v", err) } ctx := context.Background() clientFactory, err := arminformaticadatamgmt.NewClientFactory("<subscription-id>", cred, nil) if err != nil { log.Fatalf("failed to create client: %v", err) } pager := clientFactory.NewOperationsClient().NewListPager(nil) for pager.More() { page, err := pager.NextPage(ctx) if err != nil { log.Fatalf("failed to advance page: %v", err) } for _, v := range page.Value { // You could use page here. We use blank identifier for just demo purposes. _ = v } // If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes. // page.OperationListResult = arminformaticadatamgmt.OperationListResult{ // } } }
Output:
type OperationsClientListOptions ¶
type OperationsClientListOptions struct { }
OperationsClientListOptions contains the optional parameters for the OperationsClient.NewListPager method.
type OperationsClientListResponse ¶
type OperationsClientListResponse struct { // A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. OperationListResult }
OperationsClientListResponse contains the response from method OperationsClient.NewListPager.
type OrganizationProperties ¶
type OrganizationProperties struct { // Company details. CompanyDetails *CompanyDetails // Informatica Organization properties. InformaticaProperties *InformaticaProperties // Link Organization LinkOrganization *LinkOrganization // Marketplace details. MarketplaceDetails *MarketplaceDetails // User details UserDetails *UserDetails // READ-ONLY; Provisioning State of the resource. ProvisioningState *ProvisioningState }
OrganizationProperties - Properties specific to the Informatica DataManagement Organization resource.
func (OrganizationProperties) MarshalJSON ¶
func (o OrganizationProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type OrganizationProperties.
func (*OrganizationProperties) UnmarshalJSON ¶
func (o *OrganizationProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type OrganizationProperties.
type OrganizationPropertiesCustomUpdate ¶
type OrganizationPropertiesCustomUpdate struct { // Company Details CompanyDetails *CompanyDetailsUpdate // Existing Resource Id ExistingResourceID *string // Informatica Organization properties InformaticaOrganizationProperties *InformaticaOrganizationResourceUpdate // Marketplace details MarketplaceDetails *MarketplaceDetailsUpdate // User details UserDetails *UserDetailsUpdate }
OrganizationPropertiesCustomUpdate - Patchable Properties of the Informatica Organization resource
func (OrganizationPropertiesCustomUpdate) MarshalJSON ¶
func (o OrganizationPropertiesCustomUpdate) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type OrganizationPropertiesCustomUpdate.
func (*OrganizationPropertiesCustomUpdate) UnmarshalJSON ¶
func (o *OrganizationPropertiesCustomUpdate) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type OrganizationPropertiesCustomUpdate.
type OrganizationsClient ¶
type OrganizationsClient struct {
// contains filtered or unexported fields
}
OrganizationsClient contains the methods for the Organizations group. Don't use this type directly, use NewOrganizationsClient() instead.
func NewOrganizationsClient ¶
func NewOrganizationsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*OrganizationsClient, error)
NewOrganizationsClient creates a new instance of OrganizationsClient with the specified values.
- subscriptionID - The ID of the target subscription.
- credential - used to authorize requests. Usually a credential from azidentity.
- options - pass nil to accept the default values.
func (*OrganizationsClient) BeginCreateOrUpdate ¶
func (client *OrganizationsClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, organizationName string, resource InformaticaOrganizationResource, options *OrganizationsClientBeginCreateOrUpdateOptions) (*runtime.Poller[OrganizationsClientCreateOrUpdateResponse], error)
BeginCreateOrUpdate - Create a InformaticaOrganizationResource If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2024-05-08
- resourceGroupName - The name of the resource group. The name is case insensitive.
- organizationName - Name of the Organizations resource
- resource - Resource create parameters.
- options - OrganizationsClientBeginCreateOrUpdateOptions contains the optional parameters for the OrganizationsClient.BeginCreateOrUpdate method.
Example (OrganizationsCreateOrUpdate) ¶
Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/56537883b7cdb95618c3d1ec1c0ee37b59d88d72/specification/informatica/resource-manager/Informatica.DataManagement/stable/2024-05-08/examples/Organizations_CreateOrUpdate_MaximumSet_Gen.json
package main import ( "context" "log" "github.com/Azure/azure-sdk-for-go/sdk/azcore/to" "github.com/Azure/azure-sdk-for-go/sdk/azidentity" "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/informaticadatamgmt/arminformaticadatamgmt" ) func main() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { log.Fatalf("failed to obtain a credential: %v", err) } ctx := context.Background() clientFactory, err := arminformaticadatamgmt.NewClientFactory("<subscription-id>", cred, nil) if err != nil { log.Fatalf("failed to create client: %v", err) } poller, err := clientFactory.NewOrganizationsClient().BeginCreateOrUpdate(ctx, "rgopenapi", "C", arminformaticadatamgmt.InformaticaOrganizationResource{ Location: to.Ptr("pamjoudtssthlbhrnfjidr"), Tags: map[string]*string{ "key8430": to.Ptr("cagshqtjlxtqqhdwtchokvxszybp"), }, Properties: &arminformaticadatamgmt.OrganizationProperties{ CompanyDetails: &arminformaticadatamgmt.CompanyDetails{ Business: to.Ptr("pucosrtjv"), CompanyName: to.Ptr("xszcggknokhw"), Country: to.Ptr("gwkcpnwyaqc"), Domain: to.Ptr("utcxetzzpmbvwmjrvphqngvp"), NumberOfEmployees: to.Ptr[int32](25), OfficeAddress: to.Ptr("sbttzwyajgdbsvipuiclbzvkcvwyil"), }, InformaticaProperties: &arminformaticadatamgmt.InformaticaProperties{ InformaticaRegion: to.Ptr("zfqodqpbeflhedypiijdkc"), OrganizationID: to.Ptr("wtdmhlwhkvgqdumaehgfgiqcxgnqpx"), OrganizationName: to.Ptr("nomzbvwe"), SingleSignOnURL: to.Ptr("https://contoso.com/singlesignon"), }, LinkOrganization: &arminformaticadatamgmt.LinkOrganization{ Token: to.Ptr("jjfouhoqpumjvrdsfbimgcy"), }, MarketplaceDetails: &arminformaticadatamgmt.MarketplaceDetails{ MarketplaceSubscriptionID: to.Ptr("ovenlecocg"), OfferDetails: &arminformaticadatamgmt.OfferDetails{ OfferID: to.Ptr("cwswcfwmzhjcoksmueukegwaptvpcmbfyvixfhvgwnjyblqivqdkkwkunkgimiopwwkvgnwclmajhuty"), PlanID: to.Ptr("jfnemevyivtlxhectiutdavdgfyidolivuojumdzckp"), PlanName: to.Ptr("iaoxgaitteuoqgujkgxbdgryaobtkjjecuvchwutntrvmuorikrbqqegmelenbewhakiysprrnovjixyxrikscaptrbapbdspu"), PublisherID: to.Ptr("zajxpfacudwongxjvnnuhhpygmnydchgowjccyuzsjonegmqxcqqpnzafanggowfqdixnnutyfvmvwrkx"), TermID: to.Ptr("tcvvsxdjnjlfmjhmvwklptdmxetnzydxyuhfqchoubmtoeqbchnfxoxqzezlgpxdnzyvzgkynjxzzgetkqccxvpzahxattluqdipvbdktqmndfefitzuifqjpschzlbvixnvznkmmgjwvkplfhemnapsewgqxggdzdokryhv"), TermUnit: to.Ptr("gjwmgevrblbosuogsvfspsgspetbnxaygkbelvadpgwiywl"), }, }, ProvisioningState: to.Ptr(arminformaticadatamgmt.ProvisioningStateAccepted), UserDetails: &arminformaticadatamgmt.UserDetails{ EmailAddress: to.Ptr("7_-46@13D--3.m-4x-.11.c-9-.DHLYFc"), FirstName: to.Ptr("appvdclawzfjntdfdftjevlhvzropnxqtnypid"), LastName: to.Ptr("nzirbvzmkxtbrlamyatlcszebxgcyncxoascojsmacwvjsjvn"), PhoneNumber: to.Ptr("fvcjylxlmhdnshsgywnzlyvshu"), Upn: to.Ptr("undljch"), }, }, }, nil) if err != nil { log.Fatalf("failed to finish the request: %v", err) } res, err := poller.PollUntilDone(ctx, nil) if err != nil { log.Fatalf("failed to pull the result: %v", err) } // You could use response here. We use blank identifier for just demo purposes. _ = res // If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes. // res.InformaticaOrganizationResource = arminformaticadatamgmt.InformaticaOrganizationResource{ // Name: to.Ptr("qmlpllxohjomejbeylyhlqwt"), // Type: to.Ptr("korjyotq"), // ID: to.Ptr("cadokiejnrth"), // SystemData: &arminformaticadatamgmt.SystemData{ // CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-12-05T15:45:15.582Z"); return t}()), // CreatedBy: to.Ptr("kocqbxulqrggzbfrifpvy"), // CreatedByType: to.Ptr(arminformaticadatamgmt.CreatedByTypeUser), // LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-12-05T15:45:15.582Z"); return t}()), // LastModifiedBy: to.Ptr("lzpllqnildoamkmgf"), // LastModifiedByType: to.Ptr(arminformaticadatamgmt.CreatedByTypeUser), // }, // Location: to.Ptr("pamjoudtssthlbhrnfjidr"), // Tags: map[string]*string{ // "key8430": to.Ptr("cagshqtjlxtqqhdwtchokvxszybp"), // }, // Properties: &arminformaticadatamgmt.OrganizationProperties{ // CompanyDetails: &arminformaticadatamgmt.CompanyDetails{ // Business: to.Ptr("pucosrtjv"), // CompanyName: to.Ptr("xszcggknokhw"), // Country: to.Ptr("gwkcpnwyaqc"), // Domain: to.Ptr("utcxetzzpmbvwmjrvphqngvp"), // NumberOfEmployees: to.Ptr[int32](25), // OfficeAddress: to.Ptr("sbttzwyajgdbsvipuiclbzvkcvwyil"), // }, // InformaticaProperties: &arminformaticadatamgmt.InformaticaProperties{ // InformaticaRegion: to.Ptr("zfqodqpbeflhedypiijdkc"), // OrganizationID: to.Ptr("wtdmhlwhkvgqdumaehgfgiqcxgnqpx"), // OrganizationName: to.Ptr("nomzbvwe"), // SingleSignOnURL: to.Ptr("https://contoso.com/singlesignon"), // }, // LinkOrganization: &arminformaticadatamgmt.LinkOrganization{ // Token: to.Ptr("jjfouhoqpumjvrdsfbimgcy"), // }, // MarketplaceDetails: &arminformaticadatamgmt.MarketplaceDetails{ // MarketplaceSubscriptionID: to.Ptr("ovenlecocg"), // OfferDetails: &arminformaticadatamgmt.OfferDetails{ // OfferID: to.Ptr("cwswcfwmzhjcoksmueukegwaptvpcmbfyvixfhvgwnjyblqivqdkkwkunkgimiopwwkvgnwclmajhuty"), // PlanID: to.Ptr("jfnemevyivtlxhectiutdavdgfyidolivuojumdzckp"), // PlanName: to.Ptr("iaoxgaitteuoqgujkgxbdgryaobtkjjecuvchwutntrvmuorikrbqqegmelenbewhakiysprrnovjixyxrikscaptrbapbdspu"), // PublisherID: to.Ptr("zajxpfacudwongxjvnnuhhpygmnydchgowjccyuzsjonegmqxcqqpnzafanggowfqdixnnutyfvmvwrkx"), // TermID: to.Ptr("tcvvsxdjnjlfmjhmvwklptdmxetnzydxyuhfqchoubmtoeqbchnfxoxqzezlgpxdnzyvzgkynjxzzgetkqccxvpzahxattluqdipvbdktqmndfefitzuifqjpschzlbvixnvznkmmgjwvkplfhemnapsewgqxggdzdokryhv"), // TermUnit: to.Ptr("gjwmgevrblbosuogsvfspsgspetbnxaygkbelvadpgwiywl"), // }, // }, // ProvisioningState: to.Ptr(arminformaticadatamgmt.ProvisioningStateSucceeded), // UserDetails: &arminformaticadatamgmt.UserDetails{ // EmailAddress: to.Ptr("7_-46@13D--3.m-4x-.11.c-9-.DHLYFc"), // FirstName: to.Ptr("appvdclawzfjntdfdftjevlhvzropnxqtnypid"), // LastName: to.Ptr("nzirbvzmkxtbrlamyatlcszebxgcyncxoascojsmacwvjsjvn"), // PhoneNumber: to.Ptr("fvcjylxlmhdnshsgywnzlyvshu"), // Upn: to.Ptr("undljch"), // }, // }, // } }
Output:
Example (OrganizationsCreateOrUpdateMin) ¶
Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/56537883b7cdb95618c3d1ec1c0ee37b59d88d72/specification/informatica/resource-manager/Informatica.DataManagement/stable/2024-05-08/examples/Organizations_CreateOrUpdate_MinimumSet_Gen.json
package main import ( "context" "log" "github.com/Azure/azure-sdk-for-go/sdk/azcore/to" "github.com/Azure/azure-sdk-for-go/sdk/azidentity" "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/informaticadatamgmt/arminformaticadatamgmt" ) func main() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { log.Fatalf("failed to obtain a credential: %v", err) } ctx := context.Background() clientFactory, err := arminformaticadatamgmt.NewClientFactory("<subscription-id>", cred, nil) if err != nil { log.Fatalf("failed to create client: %v", err) } poller, err := clientFactory.NewOrganizationsClient().BeginCreateOrUpdate(ctx, "rgopenapi", "n6v", arminformaticadatamgmt.InformaticaOrganizationResource{ Location: to.Ptr("pamjoudtssthlbhrnfjidr"), }, nil) if err != nil { log.Fatalf("failed to finish the request: %v", err) } res, err := poller.PollUntilDone(ctx, nil) if err != nil { log.Fatalf("failed to pull the result: %v", err) } // You could use response here. We use blank identifier for just demo purposes. _ = res // If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes. // res.InformaticaOrganizationResource = arminformaticadatamgmt.InformaticaOrganizationResource{ // ID: to.Ptr("cadokiejnrth"), // Location: to.Ptr("pamjoudtssthlbhrnfjidr"), // } }
Output:
func (*OrganizationsClient) BeginDelete ¶
func (client *OrganizationsClient) BeginDelete(ctx context.Context, resourceGroupName string, organizationName string, options *OrganizationsClientBeginDeleteOptions) (*runtime.Poller[OrganizationsClientDeleteResponse], error)
BeginDelete - Delete a InformaticaOrganizationResource If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2024-05-08
- resourceGroupName - The name of the resource group. The name is case insensitive.
- organizationName - Name of the Organizations resource
- options - OrganizationsClientBeginDeleteOptions contains the optional parameters for the OrganizationsClient.BeginDelete method.
Example (OrganizationsDelete) ¶
Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/56537883b7cdb95618c3d1ec1c0ee37b59d88d72/specification/informatica/resource-manager/Informatica.DataManagement/stable/2024-05-08/examples/Organizations_Delete_MaximumSet_Gen.json
package main import ( "context" "log" "github.com/Azure/azure-sdk-for-go/sdk/azidentity" "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/informaticadatamgmt/arminformaticadatamgmt" ) func main() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { log.Fatalf("failed to obtain a credential: %v", err) } ctx := context.Background() clientFactory, err := arminformaticadatamgmt.NewClientFactory("<subscription-id>", cred, nil) if err != nil { log.Fatalf("failed to create client: %v", err) } poller, err := clientFactory.NewOrganizationsClient().BeginDelete(ctx, "rgopenapi", "_", nil) if err != nil { log.Fatalf("failed to finish the request: %v", err) } _, err = poller.PollUntilDone(ctx, nil) if err != nil { log.Fatalf("failed to pull the result: %v", err) } }
Output:
Example (OrganizationsDeleteMin) ¶
Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/56537883b7cdb95618c3d1ec1c0ee37b59d88d72/specification/informatica/resource-manager/Informatica.DataManagement/stable/2024-05-08/examples/Organizations_Delete_MinimumSet_Gen.json
package main import ( "context" "log" "github.com/Azure/azure-sdk-for-go/sdk/azidentity" "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/informaticadatamgmt/arminformaticadatamgmt" ) func main() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { log.Fatalf("failed to obtain a credential: %v", err) } ctx := context.Background() clientFactory, err := arminformaticadatamgmt.NewClientFactory("<subscription-id>", cred, nil) if err != nil { log.Fatalf("failed to create client: %v", err) } poller, err := clientFactory.NewOrganizationsClient().BeginDelete(ctx, "rgopenapi", "_-", nil) if err != nil { log.Fatalf("failed to finish the request: %v", err) } _, err = poller.PollUntilDone(ctx, nil) if err != nil { log.Fatalf("failed to pull the result: %v", err) } }
Output:
func (*OrganizationsClient) Get ¶
func (client *OrganizationsClient) Get(ctx context.Context, resourceGroupName string, organizationName string, options *OrganizationsClientGetOptions) (OrganizationsClientGetResponse, error)
Get - Get a InformaticaOrganizationResource If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2024-05-08
- resourceGroupName - The name of the resource group. The name is case insensitive.
- organizationName - Name of the Organizations resource
- options - OrganizationsClientGetOptions contains the optional parameters for the OrganizationsClient.Get method.
Example (OrganizationsGet) ¶
Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/56537883b7cdb95618c3d1ec1c0ee37b59d88d72/specification/informatica/resource-manager/Informatica.DataManagement/stable/2024-05-08/examples/Organizations_Get_MaximumSet_Gen.json
package main import ( "context" "log" "github.com/Azure/azure-sdk-for-go/sdk/azidentity" "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/informaticadatamgmt/arminformaticadatamgmt" ) func main() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { log.Fatalf("failed to obtain a credential: %v", err) } ctx := context.Background() clientFactory, err := arminformaticadatamgmt.NewClientFactory("<subscription-id>", cred, nil) if err != nil { log.Fatalf("failed to create client: %v", err) } res, err := clientFactory.NewOrganizationsClient().Get(ctx, "rgopenapi", "Sg", nil) if err != nil { log.Fatalf("failed to finish the request: %v", err) } // You could use response here. We use blank identifier for just demo purposes. _ = res // If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes. // res.InformaticaOrganizationResource = arminformaticadatamgmt.InformaticaOrganizationResource{ // Name: to.Ptr("qmlpllxohjomejbeylyhlqwt"), // Type: to.Ptr("korjyotq"), // ID: to.Ptr("cadokiejnrth"), // SystemData: &arminformaticadatamgmt.SystemData{ // CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-12-05T15:45:15.582Z"); return t}()), // CreatedBy: to.Ptr("kocqbxulqrggzbfrifpvy"), // CreatedByType: to.Ptr(arminformaticadatamgmt.CreatedByTypeUser), // LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-12-05T15:45:15.582Z"); return t}()), // LastModifiedBy: to.Ptr("lzpllqnildoamkmgf"), // LastModifiedByType: to.Ptr(arminformaticadatamgmt.CreatedByTypeUser), // }, // Location: to.Ptr("pamjoudtssthlbhrnfjidr"), // Tags: map[string]*string{ // "key8430": to.Ptr("cagshqtjlxtqqhdwtchokvxszybp"), // }, // Properties: &arminformaticadatamgmt.OrganizationProperties{ // CompanyDetails: &arminformaticadatamgmt.CompanyDetails{ // Business: to.Ptr("pucosrtjv"), // CompanyName: to.Ptr("xszcggknokhw"), // Country: to.Ptr("gwkcpnwyaqc"), // Domain: to.Ptr("utcxetzzpmbvwmjrvphqngvp"), // NumberOfEmployees: to.Ptr[int32](25), // OfficeAddress: to.Ptr("sbttzwyajgdbsvipuiclbzvkcvwyil"), // }, // InformaticaProperties: &arminformaticadatamgmt.InformaticaProperties{ // InformaticaRegion: to.Ptr("zfqodqpbeflhedypiijdkc"), // OrganizationID: to.Ptr("wtdmhlwhkvgqdumaehgfgiqcxgnqpx"), // OrganizationName: to.Ptr("nomzbvwe"), // SingleSignOnURL: to.Ptr("https://contoso.com/singlesignon"), // }, // LinkOrganization: &arminformaticadatamgmt.LinkOrganization{ // Token: to.Ptr("jjfouhoqpumjvrdsfbimgcy"), // }, // MarketplaceDetails: &arminformaticadatamgmt.MarketplaceDetails{ // MarketplaceSubscriptionID: to.Ptr("ovenlecocg"), // OfferDetails: &arminformaticadatamgmt.OfferDetails{ // OfferID: to.Ptr("cwswcfwmzhjcoksmueukegwaptvpcmbfyvixfhvgwnjyblqivqdkkwkunkgimiopwwkvgnwclmajhuty"), // PlanID: to.Ptr("jfnemevyivtlxhectiutdavdgfyidolivuojumdzckp"), // PlanName: to.Ptr("iaoxgaitteuoqgujkgxbdgryaobtkjjecuvchwutntrvmuorikrbqqegmelenbewhakiysprrnovjixyxrikscaptrbapbdspu"), // PublisherID: to.Ptr("zajxpfacudwongxjvnnuhhpygmnydchgowjccyuzsjonegmqxcqqpnzafanggowfqdixnnutyfvmvwrkx"), // TermID: to.Ptr("tcvvsxdjnjlfmjhmvwklptdmxetnzydxyuhfqchoubmtoeqbchnfxoxqzezlgpxdnzyvzgkynjxzzgetkqccxvpzahxattluqdipvbdktqmndfefitzuifqjpschzlbvixnvznkmmgjwvkplfhemnapsewgqxggdzdokryhv"), // TermUnit: to.Ptr("gjwmgevrblbosuogsvfspsgspetbnxaygkbelvadpgwiywl"), // }, // }, // ProvisioningState: to.Ptr(arminformaticadatamgmt.ProvisioningStateSucceeded), // UserDetails: &arminformaticadatamgmt.UserDetails{ // EmailAddress: to.Ptr("7_-46@13D--3.m-4x-.11.c-9-.DHLYFc"), // FirstName: to.Ptr("appvdclawzfjntdfdftjevlhvzropnxqtnypid"), // LastName: to.Ptr("nzirbvzmkxtbrlamyatlcszebxgcyncxoascojsmacwvjsjvn"), // PhoneNumber: to.Ptr("fvcjylxlmhdnshsgywnzlyvshu"), // Upn: to.Ptr("undljch"), // }, // }, // } }
Output:
Example (OrganizationsGetMin) ¶
Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/56537883b7cdb95618c3d1ec1c0ee37b59d88d72/specification/informatica/resource-manager/Informatica.DataManagement/stable/2024-05-08/examples/Organizations_Get_MinimumSet_Gen.json
package main import ( "context" "log" "github.com/Azure/azure-sdk-for-go/sdk/azidentity" "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/informaticadatamgmt/arminformaticadatamgmt" ) func main() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { log.Fatalf("failed to obtain a credential: %v", err) } ctx := context.Background() clientFactory, err := arminformaticadatamgmt.NewClientFactory("<subscription-id>", cred, nil) if err != nil { log.Fatalf("failed to create client: %v", err) } res, err := clientFactory.NewOrganizationsClient().Get(ctx, "rgopenapi", "q", nil) if err != nil { log.Fatalf("failed to finish the request: %v", err) } // You could use response here. We use blank identifier for just demo purposes. _ = res // If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes. // res.InformaticaOrganizationResource = arminformaticadatamgmt.InformaticaOrganizationResource{ // ID: to.Ptr("cadokiejnrth"), // Location: to.Ptr("pamjoudtssthlbhrnfjidr"), // } }
Output:
func (*OrganizationsClient) GetAllServerlessRuntimes ¶
func (client *OrganizationsClient) GetAllServerlessRuntimes(ctx context.Context, resourceGroupName string, organizationName string, options *OrganizationsClientGetAllServerlessRuntimesOptions) (OrganizationsClientGetAllServerlessRuntimesResponse, error)
GetAllServerlessRuntimes - Gets all serverless runtime resources in a given informatica organization resource. If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2024-05-08
- resourceGroupName - The name of the resource group. The name is case insensitive.
- organizationName - Name of the Organizations resource
- options - OrganizationsClientGetAllServerlessRuntimesOptions contains the optional parameters for the OrganizationsClient.GetAllServerlessRuntimes method.
Example (OrganizationsGetAllServerlessRuntimes) ¶
Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/56537883b7cdb95618c3d1ec1c0ee37b59d88d72/specification/informatica/resource-manager/Informatica.DataManagement/stable/2024-05-08/examples/Organizations_GetAllServerlessRuntimes_MaximumSet_Gen.json
package main import ( "context" "log" "github.com/Azure/azure-sdk-for-go/sdk/azidentity" "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/informaticadatamgmt/arminformaticadatamgmt" ) func main() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { log.Fatalf("failed to obtain a credential: %v", err) } ctx := context.Background() clientFactory, err := arminformaticadatamgmt.NewClientFactory("<subscription-id>", cred, nil) if err != nil { log.Fatalf("failed to create client: %v", err) } res, err := clientFactory.NewOrganizationsClient().GetAllServerlessRuntimes(ctx, "rgopenapi", "t", nil) if err != nil { log.Fatalf("failed to finish the request: %v", err) } // You could use response here. We use blank identifier for just demo purposes. _ = res // If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes. // res.InformaticaServerlessRuntimeResourceList = arminformaticadatamgmt.InformaticaServerlessRuntimeResourceList{ // InformaticaRuntimeResources: []*arminformaticadatamgmt.InfaRuntimeResourceFetchMetaData{ // { // Name: to.Ptr("wwhnptecwbip"), // Type: to.Ptr(arminformaticadatamgmt.RuntimeTypeSERVERLESS), // Description: to.Ptr("kozzyfee"), // CreatedBy: to.Ptr("sxizcppjasypefvhacvzfhzn"), // CreatedTime: to.Ptr("wfbezwbdyszdvwlzvthrxi"), // ID: to.Ptr("hgnqusidmutarhmwnswhalpjzievdm"), // ServerlessConfigProperties: &arminformaticadatamgmt.InfaServerlessFetchConfigProperties{ // AdvancedCustomProperties: to.Ptr("pvusvtqtkhozfuqtokw"), // ApplicationType: to.Ptr("qnrsngoycualsvmmsu"), // ComputeUnits: to.Ptr("ao"), // ExecutionTimeout: to.Ptr("pbnxiricrjifreoiazmzeqiwu"), // Platform: to.Ptr("p"), // Region: to.Ptr("lrudpuvzcuh"), // ResourceGroupName: to.Ptr("ly"), // ServerlessArmResourceID: to.Ptr("/subscriptions/subid/resourceGroups/rg1/providers/Informatica.DataManagement/organizations/org1/serverlessRuntimes/serverlessRuntimeName"), // Subnet: to.Ptr("mmhpqazmxniguwzmqiu"), // SubscriptionID: to.Ptr("zl"), // SupplementaryFileLocation: to.Ptr("wylmhc"), // Tags: to.Ptr("tevuusglxuivd"), // TenantID: to.Ptr("00000000-0000-0000-0000-000000000000"), // Vnet: to.Ptr("vvs"), // }, // Status: to.Ptr("exvtblad"), // StatusLocalized: to.Ptr("otg"), // StatusMessage: to.Ptr("bnosdq"), // UpdatedBy: to.Ptr("uhsmrmagqrtfd"), // UpdatedTime: to.Ptr("mjiscnhzzutsrsffhdqsl"), // }}, // } }
Output:
Example (OrganizationsGetAllServerlessRuntimesMin) ¶
Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/56537883b7cdb95618c3d1ec1c0ee37b59d88d72/specification/informatica/resource-manager/Informatica.DataManagement/stable/2024-05-08/examples/Organizations_GetAllServerlessRuntimes_MinimumSet_Gen.json
package main import ( "context" "log" "github.com/Azure/azure-sdk-for-go/sdk/azidentity" "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/informaticadatamgmt/arminformaticadatamgmt" ) func main() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { log.Fatalf("failed to obtain a credential: %v", err) } ctx := context.Background() clientFactory, err := arminformaticadatamgmt.NewClientFactory("<subscription-id>", cred, nil) if err != nil { log.Fatalf("failed to create client: %v", err) } res, err := clientFactory.NewOrganizationsClient().GetAllServerlessRuntimes(ctx, "rgopenapi", "0", nil) if err != nil { log.Fatalf("failed to finish the request: %v", err) } // You could use response here. We use blank identifier for just demo purposes. _ = res // If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes. // res.InformaticaServerlessRuntimeResourceList = arminformaticadatamgmt.InformaticaServerlessRuntimeResourceList{ // InformaticaRuntimeResources: []*arminformaticadatamgmt.InfaRuntimeResourceFetchMetaData{ // { // Name: to.Ptr("wwhnptecwbip"), // Type: to.Ptr(arminformaticadatamgmt.RuntimeTypeSERVERLESS), // CreatedBy: to.Ptr("sxizcppjasypefvhacvzfhzn"), // CreatedTime: to.Ptr("wfbezwbdyszdvwlzvthrxi"), // ID: to.Ptr("hgnqusidmutarhmwnswhalpjzievdm"), // ServerlessConfigProperties: &arminformaticadatamgmt.InfaServerlessFetchConfigProperties{ // }, // Status: to.Ptr("exvtblad"), // StatusLocalized: to.Ptr("otg"), // StatusMessage: to.Ptr("bnosdq"), // UpdatedBy: to.Ptr("uhsmrmagqrtfd"), // UpdatedTime: to.Ptr("mjiscnhzzutsrsffhdqsl"), // }}, // } }
Output:
func (*OrganizationsClient) GetServerlessMetadata ¶
func (client *OrganizationsClient) GetServerlessMetadata(ctx context.Context, resourceGroupName string, organizationName string, options *OrganizationsClientGetServerlessMetadataOptions) (OrganizationsClientGetServerlessMetadataResponse, error)
GetServerlessMetadata - Gets Metadata of the serverless runtime environment. If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2024-05-08
- resourceGroupName - The name of the resource group. The name is case insensitive.
- organizationName - Name of the Organizations resource
- options - OrganizationsClientGetServerlessMetadataOptions contains the optional parameters for the OrganizationsClient.GetServerlessMetadata method.
Example (OrganizationsGetServerlessMetadata) ¶
Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/56537883b7cdb95618c3d1ec1c0ee37b59d88d72/specification/informatica/resource-manager/Informatica.DataManagement/stable/2024-05-08/examples/Organizations_GetServerlessMetadata_MaximumSet_Gen.json
package main import ( "context" "log" "github.com/Azure/azure-sdk-for-go/sdk/azidentity" "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/informaticadatamgmt/arminformaticadatamgmt" ) func main() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { log.Fatalf("failed to obtain a credential: %v", err) } ctx := context.Background() clientFactory, err := arminformaticadatamgmt.NewClientFactory("<subscription-id>", cred, nil) if err != nil { log.Fatalf("failed to create client: %v", err) } res, err := clientFactory.NewOrganizationsClient().GetServerlessMetadata(ctx, "rgopenapi", "3_UC", nil) if err != nil { log.Fatalf("failed to finish the request: %v", err) } // You could use response here. We use blank identifier for just demo purposes. _ = res // If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes. // res.ServerlessMetadataResponse = arminformaticadatamgmt.ServerlessMetadataResponse{ // Type: to.Ptr(arminformaticadatamgmt.RuntimeTypeSERVERLESS), // ServerlessConfigProperties: &arminformaticadatamgmt.ServerlessConfigProperties{ // ApplicationTypes: []*arminformaticadatamgmt.ApplicationTypeMetadata{ // { // Name: to.Ptr("kdbgedaiazvoakoheguldnmhadcs"), // Value: to.Ptr("ipbrpyvxilvqfnwktnq"), // }}, // ComputeUnits: []*arminformaticadatamgmt.ComputeUnitsMetadata{ // { // Name: to.Ptr("dvvnxwibhl"), // Value: []*string{ // to.Ptr("msdbcuekw")}, // }}, // ExecutionTimeout: to.Ptr("zmypifivoqmdpzfjhtpqzvlxol"), // Platform: to.Ptr(arminformaticadatamgmt.PlatformTypeAZURE), // Regions: []*arminformaticadatamgmt.RegionsMetadata{ // { // Name: to.Ptr("wwnertzjidsshgoesojbnaopb"), // ID: to.Ptr("mqkbutwvzbnnisnen"), // }}, // }, // ServerlessRuntimeConfigProperties: &arminformaticadatamgmt.ServerlessRuntimeConfigProperties{ // CdiConfigProps: []*arminformaticadatamgmt.CdiConfigProps{ // { // ApplicationConfigs: []*arminformaticadatamgmt.ApplicationConfigs{ // { // Name: to.Ptr("upfvjrqcrwwedfujkmsodeinw"), // Type: to.Ptr("lw"), // Customized: to.Ptr("j"), // DefaultValue: to.Ptr("zvgkqwmi"), // Platform: to.Ptr("dixfyeobngivyvf"), // Value: to.Ptr("mozgsetpwjmtyl"), // }}, // EngineName: to.Ptr("hngsdqvtjdhwqlbqfotipaiwjuys"), // EngineVersion: to.Ptr("zlrlbg"), // }}, // CdieConfigProps: []*arminformaticadatamgmt.CdiConfigProps{ // { // ApplicationConfigs: []*arminformaticadatamgmt.ApplicationConfigs{ // { // Name: to.Ptr("upfvjrqcrwwedfujkmsodeinw"), // Type: to.Ptr("lw"), // Customized: to.Ptr("j"), // DefaultValue: to.Ptr("zvgkqwmi"), // Platform: to.Ptr("dixfyeobngivyvf"), // Value: to.Ptr("mozgsetpwjmtyl"), // }}, // EngineName: to.Ptr("hngsdqvtjdhwqlbqfotipaiwjuys"), // EngineVersion: to.Ptr("zlrlbg"), // }}, // }, // } }
Output:
Example (OrganizationsGetServerlessMetadataMin) ¶
Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/56537883b7cdb95618c3d1ec1c0ee37b59d88d72/specification/informatica/resource-manager/Informatica.DataManagement/stable/2024-05-08/examples/Organizations_GetServerlessMetadata_MinimumSet_Gen.json
package main import ( "context" "log" "github.com/Azure/azure-sdk-for-go/sdk/azidentity" "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/informaticadatamgmt/arminformaticadatamgmt" ) func main() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { log.Fatalf("failed to obtain a credential: %v", err) } ctx := context.Background() clientFactory, err := arminformaticadatamgmt.NewClientFactory("<subscription-id>", cred, nil) if err != nil { log.Fatalf("failed to create client: %v", err) } res, err := clientFactory.NewOrganizationsClient().GetServerlessMetadata(ctx, "rgopenapi", "A", nil) if err != nil { log.Fatalf("failed to finish the request: %v", err) } // You could use response here. We use blank identifier for just demo purposes. _ = res // If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes. // res.ServerlessMetadataResponse = arminformaticadatamgmt.ServerlessMetadataResponse{ // } }
Output:
func (*OrganizationsClient) NewListByResourceGroupPager ¶
func (client *OrganizationsClient) NewListByResourceGroupPager(resourceGroupName string, options *OrganizationsClientListByResourceGroupOptions) *runtime.Pager[OrganizationsClientListByResourceGroupResponse]
NewListByResourceGroupPager - List InformaticaOrganizationResource resources by resource group
Generated from API version 2024-05-08
- resourceGroupName - The name of the resource group. The name is case insensitive.
- options - OrganizationsClientListByResourceGroupOptions contains the optional parameters for the OrganizationsClient.NewListByResourceGroupPager method.
Example (OrganizationsListByResourceGroup) ¶
Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/56537883b7cdb95618c3d1ec1c0ee37b59d88d72/specification/informatica/resource-manager/Informatica.DataManagement/stable/2024-05-08/examples/Organizations_ListByResourceGroup_MaximumSet_Gen.json
package main import ( "context" "log" "github.com/Azure/azure-sdk-for-go/sdk/azidentity" "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/informaticadatamgmt/arminformaticadatamgmt" ) func main() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { log.Fatalf("failed to obtain a credential: %v", err) } ctx := context.Background() clientFactory, err := arminformaticadatamgmt.NewClientFactory("<subscription-id>", cred, nil) if err != nil { log.Fatalf("failed to create client: %v", err) } pager := clientFactory.NewOrganizationsClient().NewListByResourceGroupPager("rgopenapi", nil) for pager.More() { page, err := pager.NextPage(ctx) if err != nil { log.Fatalf("failed to advance page: %v", err) } for _, v := range page.Value { // You could use page here. We use blank identifier for just demo purposes. _ = v } // If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes. // page.InformaticaOrganizationResourceListResult = arminformaticadatamgmt.InformaticaOrganizationResourceListResult{ // Value: []*arminformaticadatamgmt.InformaticaOrganizationResource{ // { // Name: to.Ptr("qmlpllxohjomejbeylyhlqwt"), // Type: to.Ptr("korjyotq"), // ID: to.Ptr("cadokiejnrth"), // SystemData: &arminformaticadatamgmt.SystemData{ // CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-12-05T15:45:15.582Z"); return t}()), // CreatedBy: to.Ptr("kocqbxulqrggzbfrifpvy"), // CreatedByType: to.Ptr(arminformaticadatamgmt.CreatedByTypeUser), // LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-12-05T15:45:15.582Z"); return t}()), // LastModifiedBy: to.Ptr("lzpllqnildoamkmgf"), // LastModifiedByType: to.Ptr(arminformaticadatamgmt.CreatedByTypeUser), // }, // Location: to.Ptr("pamjoudtssthlbhrnfjidr"), // Tags: map[string]*string{ // "key8430": to.Ptr("cagshqtjlxtqqhdwtchokvxszybp"), // }, // Properties: &arminformaticadatamgmt.OrganizationProperties{ // CompanyDetails: &arminformaticadatamgmt.CompanyDetails{ // Business: to.Ptr("pucosrtjv"), // CompanyName: to.Ptr("xszcggknokhw"), // Country: to.Ptr("gwkcpnwyaqc"), // Domain: to.Ptr("utcxetzzpmbvwmjrvphqngvp"), // NumberOfEmployees: to.Ptr[int32](25), // OfficeAddress: to.Ptr("sbttzwyajgdbsvipuiclbzvkcvwyil"), // }, // InformaticaProperties: &arminformaticadatamgmt.InformaticaProperties{ // InformaticaRegion: to.Ptr("zfqodqpbeflhedypiijdkc"), // OrganizationID: to.Ptr("wtdmhlwhkvgqdumaehgfgiqcxgnqpx"), // OrganizationName: to.Ptr("nomzbvwe"), // SingleSignOnURL: to.Ptr("https://contoso.com/singlesignon"), // }, // LinkOrganization: &arminformaticadatamgmt.LinkOrganization{ // Token: to.Ptr("jjfouhoqpumjvrdsfbimgcy"), // }, // MarketplaceDetails: &arminformaticadatamgmt.MarketplaceDetails{ // MarketplaceSubscriptionID: to.Ptr("ovenlecocg"), // OfferDetails: &arminformaticadatamgmt.OfferDetails{ // OfferID: to.Ptr("cwswcfwmzhjcoksmueukegwaptvpcmbfyvixfhvgwnjyblqivqdkkwkunkgimiopwwkvgnwclmajhuty"), // PlanID: to.Ptr("jfnemevyivtlxhectiutdavdgfyidolivuojumdzckp"), // PlanName: to.Ptr("iaoxgaitteuoqgujkgxbdgryaobtkjjecuvchwutntrvmuorikrbqqegmelenbewhakiysprrnovjixyxrikscaptrbapbdspu"), // PublisherID: to.Ptr("zajxpfacudwongxjvnnuhhpygmnydchgowjccyuzsjonegmqxcqqpnzafanggowfqdixnnutyfvmvwrkx"), // TermID: to.Ptr("tcvvsxdjnjlfmjhmvwklptdmxetnzydxyuhfqchoubmtoeqbchnfxoxqzezlgpxdnzyvzgkynjxzzgetkqccxvpzahxattluqdipvbdktqmndfefitzuifqjpschzlbvixnvznkmmgjwvkplfhemnapsewgqxggdzdokryhv"), // TermUnit: to.Ptr("gjwmgevrblbosuogsvfspsgspetbnxaygkbelvadpgwiywl"), // }, // }, // ProvisioningState: to.Ptr(arminformaticadatamgmt.ProvisioningStateSucceeded), // UserDetails: &arminformaticadatamgmt.UserDetails{ // EmailAddress: to.Ptr("7_-46@13D--3.m-4x-.11.c-9-.DHLYFc"), // FirstName: to.Ptr("appvdclawzfjntdfdftjevlhvzropnxqtnypid"), // LastName: to.Ptr("nzirbvzmkxtbrlamyatlcszebxgcyncxoascojsmacwvjsjvn"), // PhoneNumber: to.Ptr("fvcjylxlmhdnshsgywnzlyvshu"), // Upn: to.Ptr("undljch"), // }, // }, // }}, // } } }
Output:
Example (OrganizationsListByResourceGroupMin) ¶
Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/56537883b7cdb95618c3d1ec1c0ee37b59d88d72/specification/informatica/resource-manager/Informatica.DataManagement/stable/2024-05-08/examples/Organizations_ListByResourceGroup_MinimumSet_Gen.json
package main import ( "context" "log" "github.com/Azure/azure-sdk-for-go/sdk/azidentity" "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/informaticadatamgmt/arminformaticadatamgmt" ) func main() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { log.Fatalf("failed to obtain a credential: %v", err) } ctx := context.Background() clientFactory, err := arminformaticadatamgmt.NewClientFactory("<subscription-id>", cred, nil) if err != nil { log.Fatalf("failed to create client: %v", err) } pager := clientFactory.NewOrganizationsClient().NewListByResourceGroupPager("rgopenapi", nil) for pager.More() { page, err := pager.NextPage(ctx) if err != nil { log.Fatalf("failed to advance page: %v", err) } for _, v := range page.Value { // You could use page here. We use blank identifier for just demo purposes. _ = v } // If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes. // page.InformaticaOrganizationResourceListResult = arminformaticadatamgmt.InformaticaOrganizationResourceListResult{ // Value: []*arminformaticadatamgmt.InformaticaOrganizationResource{ // { // ID: to.Ptr("cadokiejnrth"), // Location: to.Ptr("pamjoudtssthlbhrnfjidr"), // }}, // } } }
Output:
func (*OrganizationsClient) NewListBySubscriptionPager ¶
func (client *OrganizationsClient) NewListBySubscriptionPager(options *OrganizationsClientListBySubscriptionOptions) *runtime.Pager[OrganizationsClientListBySubscriptionResponse]
NewListBySubscriptionPager - List InformaticaOrganizationResource resources by subscription ID
Generated from API version 2024-05-08
- options - OrganizationsClientListBySubscriptionOptions contains the optional parameters for the OrganizationsClient.NewListBySubscriptionPager method.
Example (OrganizationsListBySubscription) ¶
Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/56537883b7cdb95618c3d1ec1c0ee37b59d88d72/specification/informatica/resource-manager/Informatica.DataManagement/stable/2024-05-08/examples/Organizations_ListBySubscription_MaximumSet_Gen.json
package main import ( "context" "log" "github.com/Azure/azure-sdk-for-go/sdk/azidentity" "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/informaticadatamgmt/arminformaticadatamgmt" ) func main() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { log.Fatalf("failed to obtain a credential: %v", err) } ctx := context.Background() clientFactory, err := arminformaticadatamgmt.NewClientFactory("<subscription-id>", cred, nil) if err != nil { log.Fatalf("failed to create client: %v", err) } pager := clientFactory.NewOrganizationsClient().NewListBySubscriptionPager(nil) for pager.More() { page, err := pager.NextPage(ctx) if err != nil { log.Fatalf("failed to advance page: %v", err) } for _, v := range page.Value { // You could use page here. We use blank identifier for just demo purposes. _ = v } // If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes. // page.InformaticaOrganizationResourceListResult = arminformaticadatamgmt.InformaticaOrganizationResourceListResult{ // Value: []*arminformaticadatamgmt.InformaticaOrganizationResource{ // { // Name: to.Ptr("qmlpllxohjomejbeylyhlqwt"), // Type: to.Ptr("korjyotq"), // ID: to.Ptr("cadokiejnrth"), // SystemData: &arminformaticadatamgmt.SystemData{ // CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-12-05T15:45:15.582Z"); return t}()), // CreatedBy: to.Ptr("kocqbxulqrggzbfrifpvy"), // CreatedByType: to.Ptr(arminformaticadatamgmt.CreatedByTypeUser), // LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-12-05T15:45:15.582Z"); return t}()), // LastModifiedBy: to.Ptr("lzpllqnildoamkmgf"), // LastModifiedByType: to.Ptr(arminformaticadatamgmt.CreatedByTypeUser), // }, // Location: to.Ptr("pamjoudtssthlbhrnfjidr"), // Tags: map[string]*string{ // "key8430": to.Ptr("cagshqtjlxtqqhdwtchokvxszybp"), // }, // Properties: &arminformaticadatamgmt.OrganizationProperties{ // CompanyDetails: &arminformaticadatamgmt.CompanyDetails{ // Business: to.Ptr("pucosrtjv"), // CompanyName: to.Ptr("xszcggknokhw"), // Country: to.Ptr("gwkcpnwyaqc"), // Domain: to.Ptr("utcxetzzpmbvwmjrvphqngvp"), // NumberOfEmployees: to.Ptr[int32](25), // OfficeAddress: to.Ptr("sbttzwyajgdbsvipuiclbzvkcvwyil"), // }, // InformaticaProperties: &arminformaticadatamgmt.InformaticaProperties{ // InformaticaRegion: to.Ptr("zfqodqpbeflhedypiijdkc"), // OrganizationID: to.Ptr("wtdmhlwhkvgqdumaehgfgiqcxgnqpx"), // OrganizationName: to.Ptr("nomzbvwe"), // SingleSignOnURL: to.Ptr("https://contoso.com/singlesignon"), // }, // LinkOrganization: &arminformaticadatamgmt.LinkOrganization{ // Token: to.Ptr("jjfouhoqpumjvrdsfbimgcy"), // }, // MarketplaceDetails: &arminformaticadatamgmt.MarketplaceDetails{ // MarketplaceSubscriptionID: to.Ptr("ovenlecocg"), // OfferDetails: &arminformaticadatamgmt.OfferDetails{ // OfferID: to.Ptr("cwswcfwmzhjcoksmueukegwaptvpcmbfyvixfhvgwnjyblqivqdkkwkunkgimiopwwkvgnwclmajhuty"), // PlanID: to.Ptr("jfnemevyivtlxhectiutdavdgfyidolivuojumdzckp"), // PlanName: to.Ptr("iaoxgaitteuoqgujkgxbdgryaobtkjjecuvchwutntrvmuorikrbqqegmelenbewhakiysprrnovjixyxrikscaptrbapbdspu"), // PublisherID: to.Ptr("zajxpfacudwongxjvnnuhhpygmnydchgowjccyuzsjonegmqxcqqpnzafanggowfqdixnnutyfvmvwrkx"), // TermID: to.Ptr("tcvvsxdjnjlfmjhmvwklptdmxetnzydxyuhfqchoubmtoeqbchnfxoxqzezlgpxdnzyvzgkynjxzzgetkqccxvpzahxattluqdipvbdktqmndfefitzuifqjpschzlbvixnvznkmmgjwvkplfhemnapsewgqxggdzdokryhv"), // TermUnit: to.Ptr("gjwmgevrblbosuogsvfspsgspetbnxaygkbelvadpgwiywl"), // }, // }, // ProvisioningState: to.Ptr(arminformaticadatamgmt.ProvisioningStateSucceeded), // UserDetails: &arminformaticadatamgmt.UserDetails{ // EmailAddress: to.Ptr("7_-46@13D--3.m-4x-.11.c-9-.DHLYFc"), // FirstName: to.Ptr("appvdclawzfjntdfdftjevlhvzropnxqtnypid"), // LastName: to.Ptr("nzirbvzmkxtbrlamyatlcszebxgcyncxoascojsmacwvjsjvn"), // PhoneNumber: to.Ptr("fvcjylxlmhdnshsgywnzlyvshu"), // Upn: to.Ptr("undljch"), // }, // }, // }}, // } } }
Output:
Example (OrganizationsListBySubscriptionMin) ¶
Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/56537883b7cdb95618c3d1ec1c0ee37b59d88d72/specification/informatica/resource-manager/Informatica.DataManagement/stable/2024-05-08/examples/Organizations_ListBySubscription_MinimumSet_Gen.json
package main import ( "context" "log" "github.com/Azure/azure-sdk-for-go/sdk/azidentity" "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/informaticadatamgmt/arminformaticadatamgmt" ) func main() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { log.Fatalf("failed to obtain a credential: %v", err) } ctx := context.Background() clientFactory, err := arminformaticadatamgmt.NewClientFactory("<subscription-id>", cred, nil) if err != nil { log.Fatalf("failed to create client: %v", err) } pager := clientFactory.NewOrganizationsClient().NewListBySubscriptionPager(nil) for pager.More() { page, err := pager.NextPage(ctx) if err != nil { log.Fatalf("failed to advance page: %v", err) } for _, v := range page.Value { // You could use page here. We use blank identifier for just demo purposes. _ = v } // If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes. // page.InformaticaOrganizationResourceListResult = arminformaticadatamgmt.InformaticaOrganizationResourceListResult{ // Value: []*arminformaticadatamgmt.InformaticaOrganizationResource{ // { // ID: to.Ptr("cadokiejnrth"), // Location: to.Ptr("pamjoudtssthlbhrnfjidr"), // }}, // } } }
Output:
func (*OrganizationsClient) Update ¶
func (client *OrganizationsClient) Update(ctx context.Context, resourceGroupName string, organizationName string, properties InformaticaOrganizationResourceUpdate, options *OrganizationsClientUpdateOptions) (OrganizationsClientUpdateResponse, error)
Update - Update a InformaticaOrganizationResource If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2024-05-08
- resourceGroupName - The name of the resource group. The name is case insensitive.
- organizationName - Name of the Organizations resource
- properties - The resource properties to be updated.
- options - OrganizationsClientUpdateOptions contains the optional parameters for the OrganizationsClient.Update method.
Example (OrganizationsUpdate) ¶
Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/56537883b7cdb95618c3d1ec1c0ee37b59d88d72/specification/informatica/resource-manager/Informatica.DataManagement/stable/2024-05-08/examples/Organizations_Update_MaximumSet_Gen.json
package main import ( "context" "log" "github.com/Azure/azure-sdk-for-go/sdk/azcore/to" "github.com/Azure/azure-sdk-for-go/sdk/azidentity" "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/informaticadatamgmt/arminformaticadatamgmt" ) func main() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { log.Fatalf("failed to obtain a credential: %v", err) } ctx := context.Background() clientFactory, err := arminformaticadatamgmt.NewClientFactory("<subscription-id>", cred, nil) if err != nil { log.Fatalf("failed to create client: %v", err) } res, err := clientFactory.NewOrganizationsClient().Update(ctx, "rgopenapi", "_-", arminformaticadatamgmt.InformaticaOrganizationResourceUpdate{ Properties: &arminformaticadatamgmt.OrganizationPropertiesCustomUpdate{ CompanyDetails: &arminformaticadatamgmt.CompanyDetailsUpdate{ Business: to.Ptr("mwqblnruflwpolgbxpqbqneve"), CompanyName: to.Ptr("xkrvbozrjcvappqeeyt"), Country: to.Ptr("rvlzppgvopcw"), Domain: to.Ptr("dponvwnrdrnzahcurqssesukbsokdd"), NumberOfEmployees: to.Ptr[int32](22), OfficeAddress: to.Ptr("sfcx"), }, ExistingResourceID: to.Ptr("/subscriptions/subid/resourceGroups/rg1/providers/Informatica.DataManagement/organizations/org1/serverlessRuntimes/serverlessRuntimeName"), MarketplaceDetails: &arminformaticadatamgmt.MarketplaceDetailsUpdate{ MarketplaceSubscriptionID: to.Ptr("szhyxzgjtssjmlguivepc"), OfferDetails: &arminformaticadatamgmt.OfferDetailsUpdate{ OfferID: to.Ptr("idaxbflabvjsippplyenvrpgeydsjxcmyubgukffkcdvlvrtwpdhnvdblxjsldiuswrchsibk"), PlanID: to.Ptr("giihvvnwdwzkfqrhkpqzbgfotzyixnsvmxzauseebillhslauglzfxzvzvts"), PlanName: to.Ptr("tfqjenotaewzdeerliteqxdawuqxhwdzbtiiimsaedrlsnbdoonnloakjtvnwhhrcyxxsgoachguthqvlahpjyofpoqpfacfmiaauawazkmxkjgvktbptojknzojtjrfzvbbjjkvstabqyaczxinijhoxrjukftsagpwgsvpmczopztmplipyufhuaumfx"), PublisherID: to.Ptr("ktzfghsyjqbsswhltoaemgotmnorhdogvkaxplutbjjqzuepxizliynyakersobagvpwvpzwjtjjxigsqgcyqaahaxdijghnexliofhfjlqzjmmbvrhcvjxdodnexxizbgfhjopbwzjojxsluasnwwsgcajefglbcvzpaeblanhmurcculndtfwnfjyxol"), TermID: to.Ptr("eolmwogtgpdncqoigqcdomupwummaicwvdxgbskpdsmjizdfbdgbxbuekcpwmenqzbhqxpdnjtup"), TermUnit: to.Ptr("nykqoplazujcwmfldntifjqrnx"), }, }, UserDetails: &arminformaticadatamgmt.UserDetailsUpdate{ EmailAddress: to.Ptr("7_-46@13D--3.m-4x-.11.c-9-.DHLYFc"), FirstName: to.Ptr("qguqrmanyupoi"), LastName: to.Ptr("ugzg"), PhoneNumber: to.Ptr("uxa"), Upn: to.Ptr("viwjrkn"), }, }, Tags: map[string]*string{ "key1918": to.Ptr("fbjvtuvzsghpl"), }, }, nil) if err != nil { log.Fatalf("failed to finish the request: %v", err) } // You could use response here. We use blank identifier for just demo purposes. _ = res // If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes. // res.InformaticaOrganizationResource = arminformaticadatamgmt.InformaticaOrganizationResource{ // Name: to.Ptr("qmlpllxohjomejbeylyhlqwt"), // Type: to.Ptr("korjyotq"), // ID: to.Ptr("cadokiejnrth"), // SystemData: &arminformaticadatamgmt.SystemData{ // CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-12-05T15:45:15.582Z"); return t}()), // CreatedBy: to.Ptr("kocqbxulqrggzbfrifpvy"), // CreatedByType: to.Ptr(arminformaticadatamgmt.CreatedByTypeUser), // LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-12-05T15:45:15.582Z"); return t}()), // LastModifiedBy: to.Ptr("lzpllqnildoamkmgf"), // LastModifiedByType: to.Ptr(arminformaticadatamgmt.CreatedByTypeUser), // }, // Location: to.Ptr("pamjoudtssthlbhrnfjidr"), // Tags: map[string]*string{ // "key8430": to.Ptr("cagshqtjlxtqqhdwtchokvxszybp"), // }, // Properties: &arminformaticadatamgmt.OrganizationProperties{ // CompanyDetails: &arminformaticadatamgmt.CompanyDetails{ // Business: to.Ptr("mwqblnruflwpolgbxpqbqneve"), // CompanyName: to.Ptr("xkrvbozrjcvappqeeyt"), // Country: to.Ptr("rvlzppgvopcw"), // Domain: to.Ptr("dponvwnrdrnzahcurqssesukbsokdd"), // NumberOfEmployees: to.Ptr[int32](22), // OfficeAddress: to.Ptr("sfcx"), // }, // InformaticaProperties: &arminformaticadatamgmt.InformaticaProperties{ // InformaticaRegion: to.Ptr("zfqodqpbeflhedypiijdkc"), // OrganizationID: to.Ptr("wtdmhlwhkvgqdumaehgfgiqcxgnqpx"), // OrganizationName: to.Ptr("nomzbvwe"), // SingleSignOnURL: to.Ptr("https://contoso.com/singlesignon"), // }, // LinkOrganization: &arminformaticadatamgmt.LinkOrganization{ // Token: to.Ptr("jjfouhoqpumjvrdsfbimgcy"), // }, // MarketplaceDetails: &arminformaticadatamgmt.MarketplaceDetails{ // MarketplaceSubscriptionID: to.Ptr("szhyxzgjtssjmlguivepc"), // OfferDetails: &arminformaticadatamgmt.OfferDetails{ // OfferID: to.Ptr("idaxbflabvjsippplyenvrpgeydsjxcmyubgukffkcdvlvrtwpdhnvdblxjsldiuswrchsibk"), // PlanID: to.Ptr("giihvvnwdwzkfqrhkpqzbgfotzyixnsvmxzauseebillhslauglzfxzvzvts"), // PlanName: to.Ptr("tfqjenotaewzdeerliteqxdawuqxhwdzbtiiimsaedrlsnbdoonnloakjtvnwhhrcyxxsgoachguthqvlahpjyofpoqpfacfmiaauawazkmxkjgvktbptojknzojtjrfzvbbjjkvstabqyaczxinijhoxrjukftsagpwgsvpmczopztmplipyufhuaumfx"), // PublisherID: to.Ptr("ktzfghsyjqbsswhltoaemgotmnorhdogvkaxplutbjjqzuepxizliynyakersobagvpwvpzwjtjjxigsqgcyqaahaxdijghnexliofhfjlqzjmmbvrhcvjxdodnexxizbgfhjopbwzjojxsluasnwwsgcajefglbcvzpaeblanhmurcculndtfwnfjyxol"), // TermID: to.Ptr("eolmwogtgpdncqoigqcdomupwummaicwvdxgbskpdsmjizdfbdgbxbuekcpwmenqzbhqxpdnjtup"), // TermUnit: to.Ptr("nykqoplazujcwmfldntifjqrnx"), // }, // }, // ProvisioningState: to.Ptr(arminformaticadatamgmt.ProvisioningStateSucceeded), // UserDetails: &arminformaticadatamgmt.UserDetails{ // EmailAddress: to.Ptr("7_-46@13D--3.m-4x-.11.c-9-.DHLYFc"), // FirstName: to.Ptr("qguqrmanyupoi"), // LastName: to.Ptr("ugzg"), // PhoneNumber: to.Ptr("uxa"), // Upn: to.Ptr("viwjrkn"), // }, // }, // } }
Output:
Example (OrganizationsUpdateMin) ¶
Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/56537883b7cdb95618c3d1ec1c0ee37b59d88d72/specification/informatica/resource-manager/Informatica.DataManagement/stable/2024-05-08/examples/Organizations_Update_MinimumSet_Gen.json
package main import ( "context" "log" "github.com/Azure/azure-sdk-for-go/sdk/azidentity" "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/informaticadatamgmt/arminformaticadatamgmt" ) func main() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { log.Fatalf("failed to obtain a credential: %v", err) } ctx := context.Background() clientFactory, err := arminformaticadatamgmt.NewClientFactory("<subscription-id>", cred, nil) if err != nil { log.Fatalf("failed to create client: %v", err) } res, err := clientFactory.NewOrganizationsClient().Update(ctx, "rgopenapi", "-", arminformaticadatamgmt.InformaticaOrganizationResourceUpdate{}, nil) if err != nil { log.Fatalf("failed to finish the request: %v", err) } // You could use response here. We use blank identifier for just demo purposes. _ = res // If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes. // res.InformaticaOrganizationResource = arminformaticadatamgmt.InformaticaOrganizationResource{ // ID: to.Ptr("cadokiejnrth"), // Location: to.Ptr("pamjoudtssthlbhrnfjidr"), // } }
Output:
type OrganizationsClientBeginCreateOrUpdateOptions ¶
type OrganizationsClientBeginCreateOrUpdateOptions struct { // Resumes the LRO from the provided token. ResumeToken string }
OrganizationsClientBeginCreateOrUpdateOptions contains the optional parameters for the OrganizationsClient.BeginCreateOrUpdate method.
type OrganizationsClientBeginDeleteOptions ¶
type OrganizationsClientBeginDeleteOptions struct { // Resumes the LRO from the provided token. ResumeToken string }
OrganizationsClientBeginDeleteOptions contains the optional parameters for the OrganizationsClient.BeginDelete method.
type OrganizationsClientCreateOrUpdateResponse ¶
type OrganizationsClientCreateOrUpdateResponse struct { // An Organization Resource by Informatica. InformaticaOrganizationResource }
OrganizationsClientCreateOrUpdateResponse contains the response from method OrganizationsClient.BeginCreateOrUpdate.
type OrganizationsClientDeleteResponse ¶
type OrganizationsClientDeleteResponse struct { }
OrganizationsClientDeleteResponse contains the response from method OrganizationsClient.BeginDelete.
type OrganizationsClientGetAllServerlessRuntimesOptions ¶
type OrganizationsClientGetAllServerlessRuntimesOptions struct { }
OrganizationsClientGetAllServerlessRuntimesOptions contains the optional parameters for the OrganizationsClient.GetAllServerlessRuntimes method.
type OrganizationsClientGetAllServerlessRuntimesResponse ¶
type OrganizationsClientGetAllServerlessRuntimesResponse struct { // A list of serverless runtime resources as fetched using the informatica APIs InformaticaServerlessRuntimeResourceList }
OrganizationsClientGetAllServerlessRuntimesResponse contains the response from method OrganizationsClient.GetAllServerlessRuntimes.
type OrganizationsClientGetOptions ¶
type OrganizationsClientGetOptions struct { }
OrganizationsClientGetOptions contains the optional parameters for the OrganizationsClient.Get method.
type OrganizationsClientGetResponse ¶
type OrganizationsClientGetResponse struct { // An Organization Resource by Informatica. InformaticaOrganizationResource }
OrganizationsClientGetResponse contains the response from method OrganizationsClient.Get.
type OrganizationsClientGetServerlessMetadataOptions ¶
type OrganizationsClientGetServerlessMetadataOptions struct { }
OrganizationsClientGetServerlessMetadataOptions contains the optional parameters for the OrganizationsClient.GetServerlessMetadata method.
type OrganizationsClientGetServerlessMetadataResponse ¶
type OrganizationsClientGetServerlessMetadataResponse struct { // Serverless Runtime environment Metadata response. ServerlessMetadataResponse }
OrganizationsClientGetServerlessMetadataResponse contains the response from method OrganizationsClient.GetServerlessMetadata.
type OrganizationsClientListByResourceGroupOptions ¶
type OrganizationsClientListByResourceGroupOptions struct { }
OrganizationsClientListByResourceGroupOptions contains the optional parameters for the OrganizationsClient.NewListByResourceGroupPager method.
type OrganizationsClientListByResourceGroupResponse ¶
type OrganizationsClientListByResourceGroupResponse struct { // The response of a InformaticaOrganizationResource list operation. InformaticaOrganizationResourceListResult }
OrganizationsClientListByResourceGroupResponse contains the response from method OrganizationsClient.NewListByResourceGroupPager.
type OrganizationsClientListBySubscriptionOptions ¶
type OrganizationsClientListBySubscriptionOptions struct { }
OrganizationsClientListBySubscriptionOptions contains the optional parameters for the OrganizationsClient.NewListBySubscriptionPager method.
type OrganizationsClientListBySubscriptionResponse ¶
type OrganizationsClientListBySubscriptionResponse struct { // The response of a InformaticaOrganizationResource list operation. InformaticaOrganizationResourceListResult }
OrganizationsClientListBySubscriptionResponse contains the response from method OrganizationsClient.NewListBySubscriptionPager.
type OrganizationsClientUpdateOptions ¶
type OrganizationsClientUpdateOptions struct { }
OrganizationsClientUpdateOptions contains the optional parameters for the OrganizationsClient.Update method.
type OrganizationsClientUpdateResponse ¶
type OrganizationsClientUpdateResponse struct { // An Organization Resource by Informatica. InformaticaOrganizationResource }
OrganizationsClientUpdateResponse contains the response from method OrganizationsClient.Update.
type Origin ¶
type Origin string
Origin - The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system"
func PossibleOriginValues ¶
func PossibleOriginValues() []Origin
PossibleOriginValues returns the possible values for the Origin const type.
type PlatformType ¶
type PlatformType string
PlatformType - Various types of the Platform types.
const ( // PlatformTypeAZURE - Azure platform type PlatformTypeAZURE PlatformType = "AZURE" )
func PossiblePlatformTypeValues ¶
func PossiblePlatformTypeValues() []PlatformType
PossiblePlatformTypeValues returns the possible values for the PlatformType const type.
type ProvisioningState ¶
type ProvisioningState string
ProvisioningState - Provisioning State of the Organization resource.
const ( // ProvisioningStateAccepted - Organization resource creation request accepted ProvisioningStateAccepted ProvisioningState = "Accepted" // ProvisioningStateCanceled - Organization resource creation canceled ProvisioningStateCanceled ProvisioningState = "Canceled" // ProvisioningStateCreating - Organization resource creation started ProvisioningStateCreating ProvisioningState = "Creating" // ProvisioningStateDeleted - Organization resource is deleted ProvisioningStateDeleted ProvisioningState = "Deleted" // ProvisioningStateDeleting - Organization resource deletion started ProvisioningStateDeleting ProvisioningState = "Deleting" // ProvisioningStateFailed - Organization resource creation failed ProvisioningStateFailed ProvisioningState = "Failed" // ProvisioningStateNotSpecified - Organization resource state is unknown ProvisioningStateNotSpecified ProvisioningState = "NotSpecified" // ProvisioningStateSucceeded - Organization resource creation successful ProvisioningStateSucceeded ProvisioningState = "Succeeded" // ProvisioningStateUpdating - Organization resource is being updated ProvisioningStateUpdating ProvisioningState = "Updating" )
func PossibleProvisioningStateValues ¶
func PossibleProvisioningStateValues() []ProvisioningState
PossibleProvisioningStateValues returns the possible values for the ProvisioningState const type.
type RegionsMetadata ¶
RegionsMetadata - Informatica Serverless Runtime Regions Metadata
func (RegionsMetadata) MarshalJSON ¶
func (r RegionsMetadata) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type RegionsMetadata.
func (*RegionsMetadata) UnmarshalJSON ¶
func (r *RegionsMetadata) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type RegionsMetadata.
type RuntimeType ¶
type RuntimeType string
RuntimeType - Various types of the runtime types.
const ( // RuntimeTypeSERVERLESS - Serverless Runtime type RuntimeTypeSERVERLESS RuntimeType = "SERVERLESS" )
func PossibleRuntimeTypeValues ¶
func PossibleRuntimeTypeValues() []RuntimeType
PossibleRuntimeTypeValues returns the possible values for the RuntimeType const type.
type ServerlessConfigProperties ¶
type ServerlessConfigProperties struct { // List of application types supported by informatica ApplicationTypes []*ApplicationTypeMetadata // The list of compute units with possible array of values ComputeUnits []*ComputeUnitsMetadata // Serverless Runtime execution timeout ExecutionTimeout *string // Platform types Platform *PlatformType // List of supported serverless informatica regions Regions []*RegionsMetadata }
ServerlessConfigProperties - Metadata Serverless Config Properties
func (ServerlessConfigProperties) MarshalJSON ¶
func (s ServerlessConfigProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ServerlessConfigProperties.
func (*ServerlessConfigProperties) UnmarshalJSON ¶
func (s *ServerlessConfigProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ServerlessConfigProperties.
type ServerlessMetadataResponse ¶
type ServerlessMetadataResponse struct { // serverless config properties ServerlessConfigProperties *ServerlessConfigProperties // serverless runtime config properties ServerlessRuntimeConfigProperties *ServerlessRuntimeConfigProperties // type of the runtime environment. Type *RuntimeType }
ServerlessMetadataResponse - Serverless Runtime environment Metadata response.
func (ServerlessMetadataResponse) MarshalJSON ¶
func (s ServerlessMetadataResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ServerlessMetadataResponse.
func (*ServerlessMetadataResponse) UnmarshalJSON ¶
func (s *ServerlessMetadataResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ServerlessMetadataResponse.
type ServerlessRuntimeConfigProperties ¶
type ServerlessRuntimeConfigProperties struct { // The List of Informatica Serverless Runtime CDI Config Properties. CdiConfigProps []*CdiConfigProps // The List of Informatica Serverless Runtime CDIE Config Properties. CdieConfigProps []*CdiConfigProps }
ServerlessRuntimeConfigProperties - Serverless Runtime config properties.
func (ServerlessRuntimeConfigProperties) MarshalJSON ¶
func (s ServerlessRuntimeConfigProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ServerlessRuntimeConfigProperties.
func (*ServerlessRuntimeConfigProperties) UnmarshalJSON ¶
func (s *ServerlessRuntimeConfigProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ServerlessRuntimeConfigProperties.
type ServerlessRuntimeConfigPropertiesUpdate ¶
type ServerlessRuntimeConfigPropertiesUpdate struct { // The List of Informatica Serverless Runtime CDI Config Properties. CdiConfigProps []*CdiConfigProps // The List of Informatica Serverless Runtime CDIE Config Properties. CdieConfigProps []*CdiConfigProps }
ServerlessRuntimeConfigPropertiesUpdate - The template for adding optional properties.
func (ServerlessRuntimeConfigPropertiesUpdate) MarshalJSON ¶
func (s ServerlessRuntimeConfigPropertiesUpdate) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ServerlessRuntimeConfigPropertiesUpdate.
func (*ServerlessRuntimeConfigPropertiesUpdate) UnmarshalJSON ¶
func (s *ServerlessRuntimeConfigPropertiesUpdate) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ServerlessRuntimeConfigPropertiesUpdate.
type ServerlessRuntimeDependency ¶
type ServerlessRuntimeDependency struct { // REQUIRED; Application context ID AppContextID *string // REQUIRED; description of Dependency Description *string // REQUIRED; document type DocumentType *string // REQUIRED; Dependency ID ID *string // REQUIRED; Last Update Time LastUpdatedTime *string // REQUIRED; Dependency path Path *string }
ServerlessRuntimeDependency - Dependency reference for a serverless runtime resource
func (ServerlessRuntimeDependency) MarshalJSON ¶
func (s ServerlessRuntimeDependency) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ServerlessRuntimeDependency.
func (*ServerlessRuntimeDependency) UnmarshalJSON ¶
func (s *ServerlessRuntimeDependency) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ServerlessRuntimeDependency.
type ServerlessRuntimeNetworkProfile ¶
type ServerlessRuntimeNetworkProfile struct { // REQUIRED; Network Interface Configuration Profile NetworkInterfaceConfiguration *NetworkInterfaceConfiguration }
ServerlessRuntimeNetworkProfile - Informatica Serverless Runtime Network Profile.
func (ServerlessRuntimeNetworkProfile) MarshalJSON ¶
func (s ServerlessRuntimeNetworkProfile) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ServerlessRuntimeNetworkProfile.
func (*ServerlessRuntimeNetworkProfile) UnmarshalJSON ¶
func (s *ServerlessRuntimeNetworkProfile) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ServerlessRuntimeNetworkProfile.
type ServerlessRuntimeNetworkProfileUpdate ¶
type ServerlessRuntimeNetworkProfileUpdate struct { // Network Interface Configuration Profile Update NetworkInterfaceConfiguration *NetworkInterfaceConfigurationUpdate }
ServerlessRuntimeNetworkProfileUpdate - Informatica Serverless Network profile properties update.
func (ServerlessRuntimeNetworkProfileUpdate) MarshalJSON ¶
func (s ServerlessRuntimeNetworkProfileUpdate) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ServerlessRuntimeNetworkProfileUpdate.
func (*ServerlessRuntimeNetworkProfileUpdate) UnmarshalJSON ¶
func (s *ServerlessRuntimeNetworkProfileUpdate) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ServerlessRuntimeNetworkProfileUpdate.
type ServerlessRuntimePropertiesCustomUpdate ¶
type ServerlessRuntimePropertiesCustomUpdate struct { // String KV pairs indicating Advanced custom properties. AdvancedCustomProperties []*AdvancedCustomProperties // Application type of the Serverless Runtime environment. ApplicationType *ApplicationType // Compute units of the serverless runtime. ComputeUnits *string // description of the serverless runtime. Description *string // Serverless Execution timeout ExecutionTimeout *string // Platform type of the Serverless Runtime. Platform *PlatformType // Serverless account creation location ServerlessAccountLocation *string // Serverless config properties ServerlessRuntimeConfig *ServerlessRuntimeConfigPropertiesUpdate // Informatica Serverless Network profile properties. ServerlessRuntimeNetworkProfile *ServerlessRuntimeNetworkProfileUpdate // Serverless Runtime Tags ServerlessRuntimeTags []*ServerlessRuntimeTag // Serverless runtime user context properties ServerlessRuntimeUserContextProperties *ServerlessRuntimeUserContextPropertiesUpdate // Supplementary file location. SupplementaryFileLocation *string }
ServerlessRuntimePropertiesCustomUpdate - Patchable Properties of the Informatica Serverless Runtime resource
func (ServerlessRuntimePropertiesCustomUpdate) MarshalJSON ¶
func (s ServerlessRuntimePropertiesCustomUpdate) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ServerlessRuntimePropertiesCustomUpdate.
func (*ServerlessRuntimePropertiesCustomUpdate) UnmarshalJSON ¶
func (s *ServerlessRuntimePropertiesCustomUpdate) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ServerlessRuntimePropertiesCustomUpdate.
type ServerlessRuntimeTag ¶
type ServerlessRuntimeTag struct { // The name (also known as the key) of the tag. Name *string // The value of the tag. Value *string }
ServerlessRuntimeTag - Serverless Runtime Tags
func (ServerlessRuntimeTag) MarshalJSON ¶
func (s ServerlessRuntimeTag) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ServerlessRuntimeTag.
func (*ServerlessRuntimeTag) UnmarshalJSON ¶
func (s *ServerlessRuntimeTag) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ServerlessRuntimeTag.
type ServerlessRuntimeUserContextProperties ¶
type ServerlessRuntimeUserContextProperties struct { // REQUIRED; User context token for OBO flow. UserContextToken *string }
ServerlessRuntimeUserContextProperties - Informatica Serverless Runtime User context properties
func (ServerlessRuntimeUserContextProperties) MarshalJSON ¶
func (s ServerlessRuntimeUserContextProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ServerlessRuntimeUserContextProperties.
func (*ServerlessRuntimeUserContextProperties) UnmarshalJSON ¶
func (s *ServerlessRuntimeUserContextProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ServerlessRuntimeUserContextProperties.
type ServerlessRuntimeUserContextPropertiesUpdate ¶
type ServerlessRuntimeUserContextPropertiesUpdate struct { // User context token for OBO flow. UserContextToken *string }
ServerlessRuntimeUserContextPropertiesUpdate - The template for adding optional properties.
func (ServerlessRuntimeUserContextPropertiesUpdate) MarshalJSON ¶
func (s ServerlessRuntimeUserContextPropertiesUpdate) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ServerlessRuntimeUserContextPropertiesUpdate.
func (*ServerlessRuntimeUserContextPropertiesUpdate) UnmarshalJSON ¶
func (s *ServerlessRuntimeUserContextPropertiesUpdate) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ServerlessRuntimeUserContextPropertiesUpdate.
type ServerlessRuntimesClient ¶
type ServerlessRuntimesClient struct {
// contains filtered or unexported fields
}
ServerlessRuntimesClient contains the methods for the ServerlessRuntimes group. Don't use this type directly, use NewServerlessRuntimesClient() instead.
func NewServerlessRuntimesClient ¶
func NewServerlessRuntimesClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*ServerlessRuntimesClient, error)
NewServerlessRuntimesClient creates a new instance of ServerlessRuntimesClient with the specified values.
- subscriptionID - The ID of the target subscription.
- credential - used to authorize requests. Usually a credential from azidentity.
- options - pass nil to accept the default values.
func (*ServerlessRuntimesClient) BeginCreateOrUpdate ¶
func (client *ServerlessRuntimesClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, organizationName string, serverlessRuntimeName string, resource InformaticaServerlessRuntimeResource, options *ServerlessRuntimesClientBeginCreateOrUpdateOptions) (*runtime.Poller[ServerlessRuntimesClientCreateOrUpdateResponse], error)
BeginCreateOrUpdate - Create a InformaticaServerlessRuntimeResource If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2024-05-08
- resourceGroupName - The name of the resource group. The name is case insensitive.
- organizationName - Name of the Organizations resource
- serverlessRuntimeName - Name of the Serverless Runtime resource
- resource - Resource create parameters.
- options - ServerlessRuntimesClientBeginCreateOrUpdateOptions contains the optional parameters for the ServerlessRuntimesClient.BeginCreateOrUpdate method.
Example (ServerlessRuntimesCreateOrUpdate) ¶
Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/56537883b7cdb95618c3d1ec1c0ee37b59d88d72/specification/informatica/resource-manager/Informatica.DataManagement/stable/2024-05-08/examples/ServerlessRuntimes_CreateOrUpdate_MaximumSet_Gen.json
package main import ( "context" "log" "github.com/Azure/azure-sdk-for-go/sdk/azcore/to" "github.com/Azure/azure-sdk-for-go/sdk/azidentity" "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/informaticadatamgmt/arminformaticadatamgmt" ) func main() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { log.Fatalf("failed to obtain a credential: %v", err) } ctx := context.Background() clientFactory, err := arminformaticadatamgmt.NewClientFactory("<subscription-id>", cred, nil) if err != nil { log.Fatalf("failed to create client: %v", err) } poller, err := clientFactory.NewServerlessRuntimesClient().BeginCreateOrUpdate(ctx, "rgopenapi", "__C", "0j-__", arminformaticadatamgmt.InformaticaServerlessRuntimeResource{ Properties: &arminformaticadatamgmt.InformaticaServerlessRuntimeProperties{ Description: to.Ptr("mqkaenjmxakvzrwmirelmhgiedto"), AdvancedCustomProperties: []*arminformaticadatamgmt.AdvancedCustomProperties{ { Key: to.Ptr("qcmc"), Value: to.Ptr("unraxmnohdmvutt"), }}, ApplicationType: to.Ptr(arminformaticadatamgmt.ApplicationTypeCDI), ComputeUnits: to.Ptr("bsctukmndvowse"), ExecutionTimeout: to.Ptr("ruiougpypny"), Platform: to.Ptr(arminformaticadatamgmt.PlatformTypeAZURE), ProvisioningState: to.Ptr(arminformaticadatamgmt.ProvisioningStateAccepted), ServerlessAccountLocation: to.Ptr("bkxdfopapbqucyhduewrubjpaei"), ServerlessRuntimeConfig: &arminformaticadatamgmt.ServerlessRuntimeConfigProperties{ CdiConfigProps: []*arminformaticadatamgmt.CdiConfigProps{ { ApplicationConfigs: []*arminformaticadatamgmt.ApplicationConfigs{ { Name: to.Ptr("upfvjrqcrwwedfujkmsodeinw"), Type: to.Ptr("lw"), Customized: to.Ptr("j"), DefaultValue: to.Ptr("zvgkqwmi"), Platform: to.Ptr("dixfyeobngivyvf"), Value: to.Ptr("mozgsetpwjmtyl"), }}, EngineName: to.Ptr("hngsdqvtjdhwqlbqfotipaiwjuys"), EngineVersion: to.Ptr("zlrlbg"), }}, CdieConfigProps: []*arminformaticadatamgmt.CdiConfigProps{ { ApplicationConfigs: []*arminformaticadatamgmt.ApplicationConfigs{ { Name: to.Ptr("upfvjrqcrwwedfujkmsodeinw"), Type: to.Ptr("lw"), Customized: to.Ptr("j"), DefaultValue: to.Ptr("zvgkqwmi"), Platform: to.Ptr("dixfyeobngivyvf"), Value: to.Ptr("mozgsetpwjmtyl"), }}, EngineName: to.Ptr("hngsdqvtjdhwqlbqfotipaiwjuys"), EngineVersion: to.Ptr("zlrlbg"), }}, }, ServerlessRuntimeNetworkProfile: &arminformaticadatamgmt.ServerlessRuntimeNetworkProfile{ NetworkInterfaceConfiguration: &arminformaticadatamgmt.NetworkInterfaceConfiguration{ SubnetID: to.Ptr("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/subnet1"), VnetID: to.Ptr("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/HypernetVnet1"), VnetResourceGUID: to.Ptr("5328d299-1462-4be0-bef1-303a28e556a0"), }, }, ServerlessRuntimeTags: []*arminformaticadatamgmt.ServerlessRuntimeTag{ { Name: to.Ptr("korveuycuwhs"), Value: to.Ptr("uyiuegxnkgp"), }}, ServerlessRuntimeUserContextProperties: &arminformaticadatamgmt.ServerlessRuntimeUserContextProperties{ UserContextToken: to.Ptr("oludf"), }, SupplementaryFileLocation: to.Ptr("zmlqtkncwgqhhupsnqluumz"), }, }, nil) if err != nil { log.Fatalf("failed to finish the request: %v", err) } res, err := poller.PollUntilDone(ctx, nil) if err != nil { log.Fatalf("failed to pull the result: %v", err) } // You could use response here. We use blank identifier for just demo purposes. _ = res // If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes. // res.InformaticaServerlessRuntimeResource = arminformaticadatamgmt.InformaticaServerlessRuntimeResource{ // Name: to.Ptr("byzccgftqjthb"), // Type: to.Ptr("due"), // ID: to.Ptr("vcdjzfgqjv"), // SystemData: &arminformaticadatamgmt.SystemData{ // CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-12-05T15:45:15.582Z"); return t}()), // CreatedBy: to.Ptr("kocqbxulqrggzbfrifpvy"), // CreatedByType: to.Ptr(arminformaticadatamgmt.CreatedByTypeUser), // LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-12-05T15:45:15.582Z"); return t}()), // LastModifiedBy: to.Ptr("lzpllqnildoamkmgf"), // LastModifiedByType: to.Ptr(arminformaticadatamgmt.CreatedByTypeUser), // }, // Properties: &arminformaticadatamgmt.InformaticaServerlessRuntimeProperties{ // Description: to.Ptr("mqkaenjmxakvzrwmirelmhgiedto"), // AdvancedCustomProperties: []*arminformaticadatamgmt.AdvancedCustomProperties{ // { // Key: to.Ptr("qcmc"), // Value: to.Ptr("unraxmnohdmvutt"), // }}, // ApplicationType: to.Ptr(arminformaticadatamgmt.ApplicationTypeCDI), // ComputeUnits: to.Ptr("bsctukmndvowse"), // ExecutionTimeout: to.Ptr("ruiougpypny"), // Platform: to.Ptr(arminformaticadatamgmt.PlatformTypeAZURE), // ProvisioningState: to.Ptr(arminformaticadatamgmt.ProvisioningStateSucceeded), // ServerlessAccountLocation: to.Ptr("bkxdfopapbqucyhduewrubjpaei"), // ServerlessRuntimeConfig: &arminformaticadatamgmt.ServerlessRuntimeConfigProperties{ // CdiConfigProps: []*arminformaticadatamgmt.CdiConfigProps{ // { // ApplicationConfigs: []*arminformaticadatamgmt.ApplicationConfigs{ // { // Name: to.Ptr("upfvjrqcrwwedfujkmsodeinw"), // Type: to.Ptr("lw"), // Customized: to.Ptr("j"), // DefaultValue: to.Ptr("zvgkqwmi"), // Platform: to.Ptr("dixfyeobngivyvf"), // Value: to.Ptr("mozgsetpwjmtyl"), // }}, // EngineName: to.Ptr("hngsdqvtjdhwqlbqfotipaiwjuys"), // EngineVersion: to.Ptr("zlrlbg"), // }}, // CdieConfigProps: []*arminformaticadatamgmt.CdiConfigProps{ // { // ApplicationConfigs: []*arminformaticadatamgmt.ApplicationConfigs{ // { // Name: to.Ptr("upfvjrqcrwwedfujkmsodeinw"), // Type: to.Ptr("lw"), // Customized: to.Ptr("j"), // DefaultValue: to.Ptr("zvgkqwmi"), // Platform: to.Ptr("dixfyeobngivyvf"), // Value: to.Ptr("mozgsetpwjmtyl"), // }}, // EngineName: to.Ptr("hngsdqvtjdhwqlbqfotipaiwjuys"), // EngineVersion: to.Ptr("zlrlbg"), // }}, // }, // ServerlessRuntimeNetworkProfile: &arminformaticadatamgmt.ServerlessRuntimeNetworkProfile{ // NetworkInterfaceConfiguration: &arminformaticadatamgmt.NetworkInterfaceConfiguration{ // SubnetID: to.Ptr("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/subnet1"), // VnetID: to.Ptr("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/HypernetVnet1"), // VnetResourceGUID: to.Ptr("5328d299-1462-4be0-bef1-303a28e556a0"), // }, // }, // ServerlessRuntimeTags: []*arminformaticadatamgmt.ServerlessRuntimeTag{ // { // Name: to.Ptr("korveuycuwhs"), // Value: to.Ptr("uyiuegxnkgp"), // }}, // ServerlessRuntimeUserContextProperties: &arminformaticadatamgmt.ServerlessRuntimeUserContextProperties{ // UserContextToken: to.Ptr("oludf"), // }, // SupplementaryFileLocation: to.Ptr("zmlqtkncwgqhhupsnqluumz"), // }, // } }
Output:
Example (ServerlessRuntimesCreateOrUpdateMin) ¶
Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/56537883b7cdb95618c3d1ec1c0ee37b59d88d72/specification/informatica/resource-manager/Informatica.DataManagement/stable/2024-05-08/examples/ServerlessRuntimes_CreateOrUpdate_MinimumSet_Gen.json
package main import ( "context" "log" "github.com/Azure/azure-sdk-for-go/sdk/azidentity" "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/informaticadatamgmt/arminformaticadatamgmt" ) func main() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { log.Fatalf("failed to obtain a credential: %v", err) } ctx := context.Background() clientFactory, err := arminformaticadatamgmt.NewClientFactory("<subscription-id>", cred, nil) if err != nil { log.Fatalf("failed to create client: %v", err) } poller, err := clientFactory.NewServerlessRuntimesClient().BeginCreateOrUpdate(ctx, "rgopenapi", "-4Z__7", "J", arminformaticadatamgmt.InformaticaServerlessRuntimeResource{}, nil) if err != nil { log.Fatalf("failed to finish the request: %v", err) } res, err := poller.PollUntilDone(ctx, nil) if err != nil { log.Fatalf("failed to pull the result: %v", err) } // You could use response here. We use blank identifier for just demo purposes. _ = res // If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes. // res.InformaticaServerlessRuntimeResource = arminformaticadatamgmt.InformaticaServerlessRuntimeResource{ // ID: to.Ptr("cadokiejnrth"), // } }
Output:
func (*ServerlessRuntimesClient) BeginDelete ¶
func (client *ServerlessRuntimesClient) BeginDelete(ctx context.Context, resourceGroupName string, organizationName string, serverlessRuntimeName string, options *ServerlessRuntimesClientBeginDeleteOptions) (*runtime.Poller[ServerlessRuntimesClientDeleteResponse], error)
BeginDelete - Delete a InformaticaServerlessRuntimeResource If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2024-05-08
- resourceGroupName - The name of the resource group. The name is case insensitive.
- organizationName - Name of the Organizations resource
- serverlessRuntimeName - Name of the Serverless Runtime resource
- options - ServerlessRuntimesClientBeginDeleteOptions contains the optional parameters for the ServerlessRuntimesClient.BeginDelete method.
Example ¶
Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/56537883b7cdb95618c3d1ec1c0ee37b59d88d72/specification/informatica/resource-manager/Informatica.DataManagement/stable/2024-05-08/examples/ServerlessRuntimes_Delete_MaximumSet_Gen.json
package main import ( "context" "log" "github.com/Azure/azure-sdk-for-go/sdk/azidentity" "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/informaticadatamgmt/arminformaticadatamgmt" ) func main() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { log.Fatalf("failed to obtain a credential: %v", err) } ctx := context.Background() clientFactory, err := arminformaticadatamgmt.NewClientFactory("<subscription-id>", cred, nil) if err != nil { log.Fatalf("failed to create client: %v", err) } poller, err := clientFactory.NewServerlessRuntimesClient().BeginDelete(ctx, "rgopenapi", "orgName", "serverlessRuntimeName", nil) if err != nil { log.Fatalf("failed to finish the request: %v", err) } _, err = poller.PollUntilDone(ctx, nil) if err != nil { log.Fatalf("failed to pull the result: %v", err) } }
Output:
func (*ServerlessRuntimesClient) CheckDependencies ¶
func (client *ServerlessRuntimesClient) CheckDependencies(ctx context.Context, resourceGroupName string, organizationName string, serverlessRuntimeName string, options *ServerlessRuntimesClientCheckDependenciesOptions) (ServerlessRuntimesClientCheckDependenciesResponse, error)
CheckDependencies - Checks all dependencies for a serverless runtime resource If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2024-05-08
- resourceGroupName - The name of the resource group. The name is case insensitive.
- organizationName - Name of the Organizations resource
- serverlessRuntimeName - Name of the Serverless Runtime resource
- options - ServerlessRuntimesClientCheckDependenciesOptions contains the optional parameters for the ServerlessRuntimesClient.CheckDependencies method.
Example (ServerlessRuntimesCheckDependencies) ¶
Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/56537883b7cdb95618c3d1ec1c0ee37b59d88d72/specification/informatica/resource-manager/Informatica.DataManagement/stable/2024-05-08/examples/ServerlessRuntimes_CheckDependencies_MaximumSet_Gen.json
package main import ( "context" "log" "github.com/Azure/azure-sdk-for-go/sdk/azidentity" "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/informaticadatamgmt/arminformaticadatamgmt" ) func main() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { log.Fatalf("failed to obtain a credential: %v", err) } ctx := context.Background() clientFactory, err := arminformaticadatamgmt.NewClientFactory("<subscription-id>", cred, nil) if err != nil { log.Fatalf("failed to create client: %v", err) } res, err := clientFactory.NewServerlessRuntimesClient().CheckDependencies(ctx, "rgopenapi", "3P", "M", nil) if err != nil { log.Fatalf("failed to finish the request: %v", err) } // You could use response here. We use blank identifier for just demo purposes. _ = res // If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes. // res.CheckDependenciesResponse = arminformaticadatamgmt.CheckDependenciesResponse{ // Count: to.Ptr[int32](28), // ID: to.Ptr("uwjsqpxr"), // References: []*arminformaticadatamgmt.ServerlessRuntimeDependency{ // { // Path: to.Ptr("yxbpmcmfhhtht"), // Description: to.Ptr("vlkyqkevlrpge"), // AppContextID: to.Ptr("t"), // DocumentType: to.Ptr("jpcz"), // ID: to.Ptr("uzp"), // LastUpdatedTime: to.Ptr("yyf"), // }}, // } }
Output:
Example (ServerlessRuntimesCheckDependenciesMin) ¶
Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/56537883b7cdb95618c3d1ec1c0ee37b59d88d72/specification/informatica/resource-manager/Informatica.DataManagement/stable/2024-05-08/examples/ServerlessRuntimes_CheckDependencies_MinimumSet_Gen.json
package main import ( "context" "log" "github.com/Azure/azure-sdk-for-go/sdk/azidentity" "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/informaticadatamgmt/arminformaticadatamgmt" ) func main() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { log.Fatalf("failed to obtain a credential: %v", err) } ctx := context.Background() clientFactory, err := arminformaticadatamgmt.NewClientFactory("<subscription-id>", cred, nil) if err != nil { log.Fatalf("failed to create client: %v", err) } res, err := clientFactory.NewServerlessRuntimesClient().CheckDependencies(ctx, "rgopenapi", "_-", "_2_", nil) if err != nil { log.Fatalf("failed to finish the request: %v", err) } // You could use response here. We use blank identifier for just demo purposes. _ = res // If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes. // res.CheckDependenciesResponse = arminformaticadatamgmt.CheckDependenciesResponse{ // Count: to.Ptr[int32](28), // ID: to.Ptr("uwjsqpxr"), // References: []*arminformaticadatamgmt.ServerlessRuntimeDependency{ // { // Path: to.Ptr("yxbpmcmfhhtht"), // Description: to.Ptr("vlkyqkevlrpge"), // AppContextID: to.Ptr("t"), // DocumentType: to.Ptr("jpcz"), // ID: to.Ptr("uzp"), // LastUpdatedTime: to.Ptr("yyf"), // }}, // } }
Output:
func (*ServerlessRuntimesClient) Get ¶
func (client *ServerlessRuntimesClient) Get(ctx context.Context, resourceGroupName string, organizationName string, serverlessRuntimeName string, options *ServerlessRuntimesClientGetOptions) (ServerlessRuntimesClientGetResponse, error)
Get - Get a InformaticaServerlessRuntimeResource If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2024-05-08
- resourceGroupName - The name of the resource group. The name is case insensitive.
- organizationName - Name of the Organizations resource
- serverlessRuntimeName - Name of the Serverless Runtime resource
- options - ServerlessRuntimesClientGetOptions contains the optional parameters for the ServerlessRuntimesClient.Get method.
Example (ServerlessRuntimesGet) ¶
Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/56537883b7cdb95618c3d1ec1c0ee37b59d88d72/specification/informatica/resource-manager/Informatica.DataManagement/stable/2024-05-08/examples/ServerlessRuntimes_Get_MaximumSet_Gen.json
package main import ( "context" "log" "github.com/Azure/azure-sdk-for-go/sdk/azidentity" "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/informaticadatamgmt/arminformaticadatamgmt" ) func main() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { log.Fatalf("failed to obtain a credential: %v", err) } ctx := context.Background() clientFactory, err := arminformaticadatamgmt.NewClientFactory("<subscription-id>", cred, nil) if err != nil { log.Fatalf("failed to create client: %v", err) } res, err := clientFactory.NewServerlessRuntimesClient().Get(ctx, "rgopenapi", "e3Y", "48-", nil) if err != nil { log.Fatalf("failed to finish the request: %v", err) } // You could use response here. We use blank identifier for just demo purposes. _ = res // If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes. // res.InformaticaServerlessRuntimeResource = arminformaticadatamgmt.InformaticaServerlessRuntimeResource{ // Name: to.Ptr("byzccgftqjthb"), // Type: to.Ptr("due"), // ID: to.Ptr("vcdjzfgqjv"), // SystemData: &arminformaticadatamgmt.SystemData{ // CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-12-05T15:45:15.582Z"); return t}()), // CreatedBy: to.Ptr("kocqbxulqrggzbfrifpvy"), // CreatedByType: to.Ptr(arminformaticadatamgmt.CreatedByTypeUser), // LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-12-05T15:45:15.582Z"); return t}()), // LastModifiedBy: to.Ptr("lzpllqnildoamkmgf"), // LastModifiedByType: to.Ptr(arminformaticadatamgmt.CreatedByTypeUser), // }, // Properties: &arminformaticadatamgmt.InformaticaServerlessRuntimeProperties{ // Description: to.Ptr("mqkaenjmxakvzrwmirelmhgiedto"), // AdvancedCustomProperties: []*arminformaticadatamgmt.AdvancedCustomProperties{ // { // Key: to.Ptr("qcmc"), // Value: to.Ptr("unraxmnohdmvutt"), // }}, // ApplicationType: to.Ptr(arminformaticadatamgmt.ApplicationTypeCDI), // ComputeUnits: to.Ptr("bsctukmndvowse"), // ExecutionTimeout: to.Ptr("ruiougpypny"), // Platform: to.Ptr(arminformaticadatamgmt.PlatformTypeAZURE), // ProvisioningState: to.Ptr(arminformaticadatamgmt.ProvisioningStateSucceeded), // ServerlessAccountLocation: to.Ptr("bkxdfopapbqucyhduewrubjpaei"), // ServerlessRuntimeConfig: &arminformaticadatamgmt.ServerlessRuntimeConfigProperties{ // CdiConfigProps: []*arminformaticadatamgmt.CdiConfigProps{ // { // ApplicationConfigs: []*arminformaticadatamgmt.ApplicationConfigs{ // { // Name: to.Ptr("upfvjrqcrwwedfujkmsodeinw"), // Type: to.Ptr("lw"), // Customized: to.Ptr("j"), // DefaultValue: to.Ptr("zvgkqwmi"), // Platform: to.Ptr("dixfyeobngivyvf"), // Value: to.Ptr("mozgsetpwjmtyl"), // }}, // EngineName: to.Ptr("hngsdqvtjdhwqlbqfotipaiwjuys"), // EngineVersion: to.Ptr("zlrlbg"), // }}, // CdieConfigProps: []*arminformaticadatamgmt.CdiConfigProps{ // { // ApplicationConfigs: []*arminformaticadatamgmt.ApplicationConfigs{ // { // Name: to.Ptr("upfvjrqcrwwedfujkmsodeinw"), // Type: to.Ptr("lw"), // Customized: to.Ptr("j"), // DefaultValue: to.Ptr("zvgkqwmi"), // Platform: to.Ptr("dixfyeobngivyvf"), // Value: to.Ptr("mozgsetpwjmtyl"), // }}, // EngineName: to.Ptr("hngsdqvtjdhwqlbqfotipaiwjuys"), // EngineVersion: to.Ptr("zlrlbg"), // }}, // }, // ServerlessRuntimeNetworkProfile: &arminformaticadatamgmt.ServerlessRuntimeNetworkProfile{ // NetworkInterfaceConfiguration: &arminformaticadatamgmt.NetworkInterfaceConfiguration{ // SubnetID: to.Ptr("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/subnet1"), // VnetID: to.Ptr("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/HypernetVnet1"), // VnetResourceGUID: to.Ptr("5328d299-1462-4be0-bef1-303a28e556a0"), // }, // }, // ServerlessRuntimeTags: []*arminformaticadatamgmt.ServerlessRuntimeTag{ // { // Name: to.Ptr("korveuycuwhs"), // Value: to.Ptr("uyiuegxnkgp"), // }}, // ServerlessRuntimeUserContextProperties: &arminformaticadatamgmt.ServerlessRuntimeUserContextProperties{ // UserContextToken: to.Ptr("oludf"), // }, // SupplementaryFileLocation: to.Ptr("zmlqtkncwgqhhupsnqluumz"), // }, // } }
Output:
Example (ServerlessRuntimesGetMin) ¶
Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/56537883b7cdb95618c3d1ec1c0ee37b59d88d72/specification/informatica/resource-manager/Informatica.DataManagement/stable/2024-05-08/examples/ServerlessRuntimes_Get_MinimumSet_Gen.json
package main import ( "context" "log" "github.com/Azure/azure-sdk-for-go/sdk/azidentity" "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/informaticadatamgmt/arminformaticadatamgmt" ) func main() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { log.Fatalf("failed to obtain a credential: %v", err) } ctx := context.Background() clientFactory, err := arminformaticadatamgmt.NewClientFactory("<subscription-id>", cred, nil) if err != nil { log.Fatalf("failed to create client: %v", err) } res, err := clientFactory.NewServerlessRuntimesClient().Get(ctx, "rgopenapi", "YC", "___", nil) if err != nil { log.Fatalf("failed to finish the request: %v", err) } // You could use response here. We use blank identifier for just demo purposes. _ = res // If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes. // res.InformaticaServerlessRuntimeResource = arminformaticadatamgmt.InformaticaServerlessRuntimeResource{ // ID: to.Ptr("cadokiejnrth"), // } }
Output:
func (*ServerlessRuntimesClient) NewListByInformaticaOrganizationResourcePager ¶
func (client *ServerlessRuntimesClient) NewListByInformaticaOrganizationResourcePager(resourceGroupName string, organizationName string, options *ServerlessRuntimesClientListByInformaticaOrganizationResourceOptions) *runtime.Pager[ServerlessRuntimesClientListByInformaticaOrganizationResourceResponse]
NewListByInformaticaOrganizationResourcePager - List InformaticaServerlessRuntimeResource resources by InformaticaOrganizationResource
Generated from API version 2024-05-08
- resourceGroupName - The name of the resource group. The name is case insensitive.
- organizationName - Name of the Organizations resource
- options - ServerlessRuntimesClientListByInformaticaOrganizationResourceOptions contains the optional parameters for the ServerlessRuntimesClient.NewListByInformaticaOrganizationResourcePager method.
Example ¶
Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/56537883b7cdb95618c3d1ec1c0ee37b59d88d72/specification/informatica/resource-manager/Informatica.DataManagement/stable/2024-05-08/examples/ServerlessRuntimes_ListByInformaticaOrganizationResource_MaximumSet_Gen.json
package main import ( "context" "log" "github.com/Azure/azure-sdk-for-go/sdk/azidentity" "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/informaticadatamgmt/arminformaticadatamgmt" ) func main() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { log.Fatalf("failed to obtain a credential: %v", err) } ctx := context.Background() clientFactory, err := arminformaticadatamgmt.NewClientFactory("<subscription-id>", cred, nil) if err != nil { log.Fatalf("failed to create client: %v", err) } pager := clientFactory.NewServerlessRuntimesClient().NewListByInformaticaOrganizationResourcePager("rgopenapi", "orgName", nil) for pager.More() { page, err := pager.NextPage(ctx) if err != nil { log.Fatalf("failed to advance page: %v", err) } for _, v := range page.Value { // You could use page here. We use blank identifier for just demo purposes. _ = v } // If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes. // page.InformaticaServerlessRuntimeResourceListResult = arminformaticadatamgmt.InformaticaServerlessRuntimeResourceListResult{ // Value: []*arminformaticadatamgmt.InformaticaServerlessRuntimeResource{ // { // Name: to.Ptr("byzccgftqjthb"), // Type: to.Ptr("due"), // ID: to.Ptr("vcdjzfgqjv"), // SystemData: &arminformaticadatamgmt.SystemData{ // CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-12-05T15:45:15.582Z"); return t}()), // CreatedBy: to.Ptr("kocqbxulqrggzbfrifpvy"), // CreatedByType: to.Ptr(arminformaticadatamgmt.CreatedByTypeUser), // LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-12-05T15:45:15.582Z"); return t}()), // LastModifiedBy: to.Ptr("lzpllqnildoamkmgf"), // LastModifiedByType: to.Ptr(arminformaticadatamgmt.CreatedByTypeUser), // }, // Properties: &arminformaticadatamgmt.InformaticaServerlessRuntimeProperties{ // Description: to.Ptr("mqkaenjmxakvzrwmirelmhgiedto"), // AdvancedCustomProperties: []*arminformaticadatamgmt.AdvancedCustomProperties{ // { // Key: to.Ptr("qcmc"), // Value: to.Ptr("unraxmnohdmvutt"), // }}, // ApplicationType: to.Ptr(arminformaticadatamgmt.ApplicationTypeCDI), // ComputeUnits: to.Ptr("bsctukmndvowse"), // ExecutionTimeout: to.Ptr("ruiougpypny"), // Platform: to.Ptr(arminformaticadatamgmt.PlatformTypeAZURE), // ProvisioningState: to.Ptr(arminformaticadatamgmt.ProvisioningStateSucceeded), // ServerlessAccountLocation: to.Ptr("bkxdfopapbqucyhduewrubjpaei"), // ServerlessRuntimeConfig: &arminformaticadatamgmt.ServerlessRuntimeConfigProperties{ // CdiConfigProps: []*arminformaticadatamgmt.CdiConfigProps{ // { // ApplicationConfigs: []*arminformaticadatamgmt.ApplicationConfigs{ // { // Name: to.Ptr("upfvjrqcrwwedfujkmsodeinw"), // Type: to.Ptr("lw"), // Customized: to.Ptr("j"), // DefaultValue: to.Ptr("zvgkqwmi"), // Platform: to.Ptr("dixfyeobngivyvf"), // Value: to.Ptr("mozgsetpwjmtyl"), // }}, // EngineName: to.Ptr("hngsdqvtjdhwqlbqfotipaiwjuys"), // EngineVersion: to.Ptr("zlrlbg"), // }}, // CdieConfigProps: []*arminformaticadatamgmt.CdiConfigProps{ // { // ApplicationConfigs: []*arminformaticadatamgmt.ApplicationConfigs{ // { // Name: to.Ptr("upfvjrqcrwwedfujkmsodeinw"), // Type: to.Ptr("lw"), // Customized: to.Ptr("j"), // DefaultValue: to.Ptr("zvgkqwmi"), // Platform: to.Ptr("dixfyeobngivyvf"), // Value: to.Ptr("mozgsetpwjmtyl"), // }}, // EngineName: to.Ptr("hngsdqvtjdhwqlbqfotipaiwjuys"), // EngineVersion: to.Ptr("zlrlbg"), // }}, // }, // ServerlessRuntimeNetworkProfile: &arminformaticadatamgmt.ServerlessRuntimeNetworkProfile{ // NetworkInterfaceConfiguration: &arminformaticadatamgmt.NetworkInterfaceConfiguration{ // SubnetID: to.Ptr("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/subnet1"), // VnetID: to.Ptr("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/HypernetVnet1"), // }, // }, // ServerlessRuntimeTags: []*arminformaticadatamgmt.ServerlessRuntimeTag{ // { // Name: to.Ptr("korveuycuwhs"), // Value: to.Ptr("uyiuegxnkgp"), // }}, // ServerlessRuntimeUserContextProperties: &arminformaticadatamgmt.ServerlessRuntimeUserContextProperties{ // UserContextToken: to.Ptr("oludf"), // }, // SupplementaryFileLocation: to.Ptr("zmlqtkncwgqhhupsnqluumz"), // }, // }}, // } } }
Output:
func (*ServerlessRuntimesClient) ServerlessResourceByID ¶
func (client *ServerlessRuntimesClient) ServerlessResourceByID(ctx context.Context, resourceGroupName string, organizationName string, serverlessRuntimeName string, options *ServerlessRuntimesClientServerlessResourceByIDOptions) (ServerlessRuntimesClientServerlessResourceByIDResponse, error)
ServerlessResourceByID - Returns a serverless runtime resource by ID If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2024-05-08
- resourceGroupName - The name of the resource group. The name is case insensitive.
- organizationName - Name of the Organizations resource
- serverlessRuntimeName - Name of the Serverless Runtime resource
- options - ServerlessRuntimesClientServerlessResourceByIDOptions contains the optional parameters for the ServerlessRuntimesClient.ServerlessResourceByID method.
Example ¶
Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/56537883b7cdb95618c3d1ec1c0ee37b59d88d72/specification/informatica/resource-manager/Informatica.DataManagement/stable/2024-05-08/examples/ServerlessRuntimes_ServerlessResourceById_MaximumSet_Gen.json
package main import ( "context" "log" "github.com/Azure/azure-sdk-for-go/sdk/azidentity" "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/informaticadatamgmt/arminformaticadatamgmt" ) func main() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { log.Fatalf("failed to obtain a credential: %v", err) } ctx := context.Background() clientFactory, err := arminformaticadatamgmt.NewClientFactory("<subscription-id>", cred, nil) if err != nil { log.Fatalf("failed to create client: %v", err) } res, err := clientFactory.NewServerlessRuntimesClient().ServerlessResourceByID(ctx, "rgopenapi", "_RD_R", "serverlessRuntimeName159", nil) if err != nil { log.Fatalf("failed to finish the request: %v", err) } // You could use response here. We use blank identifier for just demo purposes. _ = res // If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes. // res.InformaticaServerlessRuntimeResource = arminformaticadatamgmt.InformaticaServerlessRuntimeResource{ // Name: to.Ptr("byzccgftqjthb"), // Type: to.Ptr("due"), // ID: to.Ptr("vcdjzfgqjv"), // SystemData: &arminformaticadatamgmt.SystemData{ // CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-12-05T15:45:15.582Z"); return t}()), // CreatedBy: to.Ptr("kocqbxulqrggzbfrifpvy"), // CreatedByType: to.Ptr(arminformaticadatamgmt.CreatedByTypeUser), // LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-12-05T15:45:15.582Z"); return t}()), // LastModifiedBy: to.Ptr("lzpllqnildoamkmgf"), // LastModifiedByType: to.Ptr(arminformaticadatamgmt.CreatedByTypeUser), // }, // Properties: &arminformaticadatamgmt.InformaticaServerlessRuntimeProperties{ // Description: to.Ptr("mqkaenjmxakvzrwmirelmhgiedto"), // AdvancedCustomProperties: []*arminformaticadatamgmt.AdvancedCustomProperties{ // { // Key: to.Ptr("qcmc"), // Value: to.Ptr("unraxmnohdmvutt"), // }}, // ApplicationType: to.Ptr(arminformaticadatamgmt.ApplicationTypeCDI), // ComputeUnits: to.Ptr("bsctukmndvowse"), // ExecutionTimeout: to.Ptr("ruiougpypny"), // Platform: to.Ptr(arminformaticadatamgmt.PlatformTypeAZURE), // ProvisioningState: to.Ptr(arminformaticadatamgmt.ProvisioningStateSucceeded), // ServerlessAccountLocation: to.Ptr("bkxdfopapbqucyhduewrubjpaei"), // ServerlessRuntimeConfig: &arminformaticadatamgmt.ServerlessRuntimeConfigProperties{ // CdiConfigProps: []*arminformaticadatamgmt.CdiConfigProps{ // { // ApplicationConfigs: []*arminformaticadatamgmt.ApplicationConfigs{ // { // Name: to.Ptr("upfvjrqcrwwedfujkmsodeinw"), // Type: to.Ptr("lw"), // Customized: to.Ptr("j"), // DefaultValue: to.Ptr("zvgkqwmi"), // Platform: to.Ptr("dixfyeobngivyvf"), // Value: to.Ptr("mozgsetpwjmtyl"), // }}, // EngineName: to.Ptr("hngsdqvtjdhwqlbqfotipaiwjuys"), // EngineVersion: to.Ptr("zlrlbg"), // }}, // CdieConfigProps: []*arminformaticadatamgmt.CdiConfigProps{ // { // ApplicationConfigs: []*arminformaticadatamgmt.ApplicationConfigs{ // { // Name: to.Ptr("upfvjrqcrwwedfujkmsodeinw"), // Type: to.Ptr("lw"), // Customized: to.Ptr("j"), // DefaultValue: to.Ptr("zvgkqwmi"), // Platform: to.Ptr("dixfyeobngivyvf"), // Value: to.Ptr("mozgsetpwjmtyl"), // }}, // EngineName: to.Ptr("hngsdqvtjdhwqlbqfotipaiwjuys"), // EngineVersion: to.Ptr("zlrlbg"), // }}, // }, // ServerlessRuntimeNetworkProfile: &arminformaticadatamgmt.ServerlessRuntimeNetworkProfile{ // NetworkInterfaceConfiguration: &arminformaticadatamgmt.NetworkInterfaceConfiguration{ // SubnetID: to.Ptr("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/subnet1"), // VnetID: to.Ptr("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/HypernetVnet1"), // VnetResourceGUID: to.Ptr("5328d299-1462-4be0-bef1-303a28e556a0"), // }, // }, // ServerlessRuntimeTags: []*arminformaticadatamgmt.ServerlessRuntimeTag{ // { // Name: to.Ptr("korveuycuwhs"), // Value: to.Ptr("uyiuegxnkgp"), // }}, // ServerlessRuntimeUserContextProperties: &arminformaticadatamgmt.ServerlessRuntimeUserContextProperties{ // UserContextToken: to.Ptr("oludf"), // }, // SupplementaryFileLocation: to.Ptr("zmlqtkncwgqhhupsnqluumz"), // }, // } }
Output:
func (*ServerlessRuntimesClient) StartFailedServerlessRuntime ¶
func (client *ServerlessRuntimesClient) StartFailedServerlessRuntime(ctx context.Context, resourceGroupName string, organizationName string, serverlessRuntimeName string, options *ServerlessRuntimesClientStartFailedServerlessRuntimeOptions) (ServerlessRuntimesClientStartFailedServerlessRuntimeResponse, error)
StartFailedServerlessRuntime - Starts a failed runtime resource If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2024-05-08
- resourceGroupName - The name of the resource group. The name is case insensitive.
- organizationName - Name of the Organizations resource
- serverlessRuntimeName - Name of the Serverless Runtime resource
- options - ServerlessRuntimesClientStartFailedServerlessRuntimeOptions contains the optional parameters for the ServerlessRuntimesClient.StartFailedServerlessRuntime method.
Example ¶
Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/56537883b7cdb95618c3d1ec1c0ee37b59d88d72/specification/informatica/resource-manager/Informatica.DataManagement/stable/2024-05-08/examples/ServerlessRuntimes_StartFailedServerlessRuntime_MaximumSet_Gen.json
package main import ( "context" "log" "github.com/Azure/azure-sdk-for-go/sdk/azidentity" "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/informaticadatamgmt/arminformaticadatamgmt" ) func main() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { log.Fatalf("failed to obtain a credential: %v", err) } ctx := context.Background() clientFactory, err := arminformaticadatamgmt.NewClientFactory("<subscription-id>", cred, nil) if err != nil { log.Fatalf("failed to create client: %v", err) } _, err = clientFactory.NewServerlessRuntimesClient().StartFailedServerlessRuntime(ctx, "rgopenapi", "9M4", "-25-G_", nil) if err != nil { log.Fatalf("failed to finish the request: %v", err) } }
Output:
func (*ServerlessRuntimesClient) Update ¶
func (client *ServerlessRuntimesClient) Update(ctx context.Context, resourceGroupName string, organizationName string, serverlessRuntimeName string, properties InformaticaServerlessRuntimeResourceUpdate, options *ServerlessRuntimesClientUpdateOptions) (ServerlessRuntimesClientUpdateResponse, error)
Update - Update a InformaticaServerlessRuntimeResource If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2024-05-08
- resourceGroupName - The name of the resource group. The name is case insensitive.
- organizationName - Name of the Organizations resource
- serverlessRuntimeName - Name of the Serverless Runtime resource
- properties - The resource properties to be updated.
- options - ServerlessRuntimesClientUpdateOptions contains the optional parameters for the ServerlessRuntimesClient.Update method.
Example (ServerlessRuntimesUpdate) ¶
Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/56537883b7cdb95618c3d1ec1c0ee37b59d88d72/specification/informatica/resource-manager/Informatica.DataManagement/stable/2024-05-08/examples/ServerlessRuntimes_Update_MaximumSet_Gen.json
package main import ( "context" "log" "github.com/Azure/azure-sdk-for-go/sdk/azcore/to" "github.com/Azure/azure-sdk-for-go/sdk/azidentity" "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/informaticadatamgmt/arminformaticadatamgmt" ) func main() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { log.Fatalf("failed to obtain a credential: %v", err) } ctx := context.Background() clientFactory, err := arminformaticadatamgmt.NewClientFactory("<subscription-id>", cred, nil) if err != nil { log.Fatalf("failed to create client: %v", err) } res, err := clientFactory.NewServerlessRuntimesClient().Update(ctx, "rgopenapi", "W5", "t_", arminformaticadatamgmt.InformaticaServerlessRuntimeResourceUpdate{ Properties: &arminformaticadatamgmt.ServerlessRuntimePropertiesCustomUpdate{ Description: to.Ptr("ocprslpljoikxyduackzqnkuhyzrh"), AdvancedCustomProperties: []*arminformaticadatamgmt.AdvancedCustomProperties{ { Key: to.Ptr("qcmc"), Value: to.Ptr("unraxmnohdmvutt"), }}, ApplicationType: to.Ptr(arminformaticadatamgmt.ApplicationTypeCDI), ComputeUnits: to.Ptr("uncwbpu"), ExecutionTimeout: to.Ptr("tjyfytuywriabt"), Platform: to.Ptr(arminformaticadatamgmt.PlatformTypeAZURE), ServerlessAccountLocation: to.Ptr("goaugkyfanqfnvcmntreibqrswfpis"), ServerlessRuntimeConfig: &arminformaticadatamgmt.ServerlessRuntimeConfigPropertiesUpdate{ CdiConfigProps: []*arminformaticadatamgmt.CdiConfigProps{ { ApplicationConfigs: []*arminformaticadatamgmt.ApplicationConfigs{ { Name: to.Ptr("upfvjrqcrwwedfujkmsodeinw"), Type: to.Ptr("lw"), Customized: to.Ptr("j"), DefaultValue: to.Ptr("zvgkqwmi"), Platform: to.Ptr("dixfyeobngivyvf"), Value: to.Ptr("mozgsetpwjmtyl"), }}, EngineName: to.Ptr("hngsdqvtjdhwqlbqfotipaiwjuys"), EngineVersion: to.Ptr("zlrlbg"), }}, CdieConfigProps: []*arminformaticadatamgmt.CdiConfigProps{ { ApplicationConfigs: []*arminformaticadatamgmt.ApplicationConfigs{ { Name: to.Ptr("upfvjrqcrwwedfujkmsodeinw"), Type: to.Ptr("lw"), Customized: to.Ptr("j"), DefaultValue: to.Ptr("zvgkqwmi"), Platform: to.Ptr("dixfyeobngivyvf"), Value: to.Ptr("mozgsetpwjmtyl"), }}, EngineName: to.Ptr("hngsdqvtjdhwqlbqfotipaiwjuys"), EngineVersion: to.Ptr("zlrlbg"), }}, }, ServerlessRuntimeNetworkProfile: &arminformaticadatamgmt.ServerlessRuntimeNetworkProfileUpdate{ NetworkInterfaceConfiguration: &arminformaticadatamgmt.NetworkInterfaceConfigurationUpdate{ SubnetID: to.Ptr("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/subnet1"), VnetID: to.Ptr("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/HypernetVnet1"), VnetResourceGUID: to.Ptr("5328d299-1462-4be0-bef1-303a28e556a0"), }, }, ServerlessRuntimeTags: []*arminformaticadatamgmt.ServerlessRuntimeTag{ { Name: to.Ptr("korveuycuwhs"), Value: to.Ptr("uyiuegxnkgp"), }}, ServerlessRuntimeUserContextProperties: &arminformaticadatamgmt.ServerlessRuntimeUserContextPropertiesUpdate{ UserContextToken: to.Ptr("ctgebtvjhwh"), }, SupplementaryFileLocation: to.Ptr("csxaqzpxu"), }, }, nil) if err != nil { log.Fatalf("failed to finish the request: %v", err) } // You could use response here. We use blank identifier for just demo purposes. _ = res // If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes. // res.InformaticaServerlessRuntimeResource = arminformaticadatamgmt.InformaticaServerlessRuntimeResource{ // Name: to.Ptr("byzccgftqjthb"), // Type: to.Ptr("due"), // ID: to.Ptr("vcdjzfgqjv"), // SystemData: &arminformaticadatamgmt.SystemData{ // CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-12-05T15:45:15.582Z"); return t}()), // CreatedBy: to.Ptr("kocqbxulqrggzbfrifpvy"), // CreatedByType: to.Ptr(arminformaticadatamgmt.CreatedByTypeUser), // LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-12-05T15:45:15.582Z"); return t}()), // LastModifiedBy: to.Ptr("lzpllqnildoamkmgf"), // LastModifiedByType: to.Ptr(arminformaticadatamgmt.CreatedByTypeUser), // }, // Properties: &arminformaticadatamgmt.InformaticaServerlessRuntimeProperties{ // Description: to.Ptr("mqkaenjmxakvzrwmirelmhgiedto"), // AdvancedCustomProperties: []*arminformaticadatamgmt.AdvancedCustomProperties{ // { // Key: to.Ptr("qcmc"), // Value: to.Ptr("unraxmnohdmvutt"), // }}, // ApplicationType: to.Ptr(arminformaticadatamgmt.ApplicationTypeCDI), // ComputeUnits: to.Ptr("bsctukmndvowse"), // ExecutionTimeout: to.Ptr("ruiougpypny"), // Platform: to.Ptr(arminformaticadatamgmt.PlatformTypeAZURE), // ProvisioningState: to.Ptr(arminformaticadatamgmt.ProvisioningStateSucceeded), // ServerlessAccountLocation: to.Ptr("bkxdfopapbqucyhduewrubjpaei"), // ServerlessRuntimeConfig: &arminformaticadatamgmt.ServerlessRuntimeConfigProperties{ // CdiConfigProps: []*arminformaticadatamgmt.CdiConfigProps{ // { // ApplicationConfigs: []*arminformaticadatamgmt.ApplicationConfigs{ // { // Name: to.Ptr("upfvjrqcrwwedfujkmsodeinw"), // Type: to.Ptr("lw"), // Customized: to.Ptr("j"), // DefaultValue: to.Ptr("zvgkqwmi"), // Platform: to.Ptr("dixfyeobngivyvf"), // Value: to.Ptr("mozgsetpwjmtyl"), // }}, // EngineName: to.Ptr("hngsdqvtjdhwqlbqfotipaiwjuys"), // EngineVersion: to.Ptr("zlrlbg"), // }}, // CdieConfigProps: []*arminformaticadatamgmt.CdiConfigProps{ // { // ApplicationConfigs: []*arminformaticadatamgmt.ApplicationConfigs{ // { // Name: to.Ptr("upfvjrqcrwwedfujkmsodeinw"), // Type: to.Ptr("lw"), // Customized: to.Ptr("j"), // DefaultValue: to.Ptr("zvgkqwmi"), // Platform: to.Ptr("dixfyeobngivyvf"), // Value: to.Ptr("mozgsetpwjmtyl"), // }}, // EngineName: to.Ptr("hngsdqvtjdhwqlbqfotipaiwjuys"), // EngineVersion: to.Ptr("zlrlbg"), // }}, // }, // ServerlessRuntimeNetworkProfile: &arminformaticadatamgmt.ServerlessRuntimeNetworkProfile{ // NetworkInterfaceConfiguration: &arminformaticadatamgmt.NetworkInterfaceConfiguration{ // SubnetID: to.Ptr("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/subnet1"), // VnetID: to.Ptr("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/HypernetVnet1"), // VnetResourceGUID: to.Ptr("5328d299-1462-4be0-bef1-303a28e556a0"), // }, // }, // ServerlessRuntimeTags: []*arminformaticadatamgmt.ServerlessRuntimeTag{ // { // Name: to.Ptr("korveuycuwhs"), // Value: to.Ptr("uyiuegxnkgp"), // }}, // ServerlessRuntimeUserContextProperties: &arminformaticadatamgmt.ServerlessRuntimeUserContextProperties{ // UserContextToken: to.Ptr("ctgebtvjhwh"), // }, // SupplementaryFileLocation: to.Ptr("zmlqtkncwgqhhupsnqluumz"), // }, // } }
Output:
Example (ServerlessRuntimesUpdateMin) ¶
Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/56537883b7cdb95618c3d1ec1c0ee37b59d88d72/specification/informatica/resource-manager/Informatica.DataManagement/stable/2024-05-08/examples/ServerlessRuntimes_Update_MinimumSet_Gen.json
package main import ( "context" "log" "github.com/Azure/azure-sdk-for-go/sdk/azidentity" "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/informaticadatamgmt/arminformaticadatamgmt" ) func main() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { log.Fatalf("failed to obtain a credential: %v", err) } ctx := context.Background() clientFactory, err := arminformaticadatamgmt.NewClientFactory("<subscription-id>", cred, nil) if err != nil { log.Fatalf("failed to create client: %v", err) } res, err := clientFactory.NewServerlessRuntimesClient().Update(ctx, "rgopenapi", "_f--", "8Zr__", arminformaticadatamgmt.InformaticaServerlessRuntimeResourceUpdate{}, nil) if err != nil { log.Fatalf("failed to finish the request: %v", err) } // You could use response here. We use blank identifier for just demo purposes. _ = res // If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes. // res.InformaticaServerlessRuntimeResource = arminformaticadatamgmt.InformaticaServerlessRuntimeResource{ // ID: to.Ptr("cadokiejnrth"), // } }
Output:
type ServerlessRuntimesClientBeginCreateOrUpdateOptions ¶
type ServerlessRuntimesClientBeginCreateOrUpdateOptions struct { // Resumes the LRO from the provided token. ResumeToken string }
ServerlessRuntimesClientBeginCreateOrUpdateOptions contains the optional parameters for the ServerlessRuntimesClient.BeginCreateOrUpdate method.
type ServerlessRuntimesClientBeginDeleteOptions ¶
type ServerlessRuntimesClientBeginDeleteOptions struct { // Resumes the LRO from the provided token. ResumeToken string }
ServerlessRuntimesClientBeginDeleteOptions contains the optional parameters for the ServerlessRuntimesClient.BeginDelete method.
type ServerlessRuntimesClientCheckDependenciesOptions ¶
type ServerlessRuntimesClientCheckDependenciesOptions struct { }
ServerlessRuntimesClientCheckDependenciesOptions contains the optional parameters for the ServerlessRuntimesClient.CheckDependencies method.
type ServerlessRuntimesClientCheckDependenciesResponse ¶
type ServerlessRuntimesClientCheckDependenciesResponse struct { // Model for the check dependencies API for an informatica serverless runtime resource CheckDependenciesResponse }
ServerlessRuntimesClientCheckDependenciesResponse contains the response from method ServerlessRuntimesClient.CheckDependencies.
type ServerlessRuntimesClientCreateOrUpdateResponse ¶
type ServerlessRuntimesClientCreateOrUpdateResponse struct { // A Serverless Runtime environment resource by Informatica. InformaticaServerlessRuntimeResource }
ServerlessRuntimesClientCreateOrUpdateResponse contains the response from method ServerlessRuntimesClient.BeginCreateOrUpdate.
type ServerlessRuntimesClientDeleteResponse ¶
type ServerlessRuntimesClientDeleteResponse struct { }
ServerlessRuntimesClientDeleteResponse contains the response from method ServerlessRuntimesClient.BeginDelete.
type ServerlessRuntimesClientGetOptions ¶
type ServerlessRuntimesClientGetOptions struct { }
ServerlessRuntimesClientGetOptions contains the optional parameters for the ServerlessRuntimesClient.Get method.
type ServerlessRuntimesClientGetResponse ¶
type ServerlessRuntimesClientGetResponse struct { // A Serverless Runtime environment resource by Informatica. InformaticaServerlessRuntimeResource }
ServerlessRuntimesClientGetResponse contains the response from method ServerlessRuntimesClient.Get.
type ServerlessRuntimesClientListByInformaticaOrganizationResourceOptions ¶
type ServerlessRuntimesClientListByInformaticaOrganizationResourceOptions struct { }
ServerlessRuntimesClientListByInformaticaOrganizationResourceOptions contains the optional parameters for the ServerlessRuntimesClient.NewListByInformaticaOrganizationResourcePager method.
type ServerlessRuntimesClientListByInformaticaOrganizationResourceResponse ¶
type ServerlessRuntimesClientListByInformaticaOrganizationResourceResponse struct { // The response of a InformaticaServerlessRuntimeResource list operation. InformaticaServerlessRuntimeResourceListResult }
ServerlessRuntimesClientListByInformaticaOrganizationResourceResponse contains the response from method ServerlessRuntimesClient.NewListByInformaticaOrganizationResourcePager.
type ServerlessRuntimesClientServerlessResourceByIDOptions ¶
type ServerlessRuntimesClientServerlessResourceByIDOptions struct { }
ServerlessRuntimesClientServerlessResourceByIDOptions contains the optional parameters for the ServerlessRuntimesClient.ServerlessResourceByID method.
type ServerlessRuntimesClientServerlessResourceByIDResponse ¶
type ServerlessRuntimesClientServerlessResourceByIDResponse struct { // A Serverless Runtime environment resource by Informatica. InformaticaServerlessRuntimeResource }
ServerlessRuntimesClientServerlessResourceByIDResponse contains the response from method ServerlessRuntimesClient.ServerlessResourceByID.
type ServerlessRuntimesClientStartFailedServerlessRuntimeOptions ¶
type ServerlessRuntimesClientStartFailedServerlessRuntimeOptions struct { }
ServerlessRuntimesClientStartFailedServerlessRuntimeOptions contains the optional parameters for the ServerlessRuntimesClient.StartFailedServerlessRuntime method.
type ServerlessRuntimesClientStartFailedServerlessRuntimeResponse ¶
type ServerlessRuntimesClientStartFailedServerlessRuntimeResponse struct { }
ServerlessRuntimesClientStartFailedServerlessRuntimeResponse contains the response from method ServerlessRuntimesClient.StartFailedServerlessRuntime.
type ServerlessRuntimesClientUpdateOptions ¶
type ServerlessRuntimesClientUpdateOptions struct { }
ServerlessRuntimesClientUpdateOptions contains the optional parameters for the ServerlessRuntimesClient.Update method.
type ServerlessRuntimesClientUpdateResponse ¶
type ServerlessRuntimesClientUpdateResponse struct { // A Serverless Runtime environment resource by Informatica. InformaticaServerlessRuntimeResource }
ServerlessRuntimesClientUpdateResponse contains the response from method ServerlessRuntimesClient.Update.
type SystemData ¶
type SystemData struct { // The timestamp of resource creation (UTC). CreatedAt *time.Time // The identity that created the resource. CreatedBy *string // The type of identity that created the resource. CreatedByType *CreatedByType // The timestamp of resource last modification (UTC) LastModifiedAt *time.Time // The identity that last modified the resource. LastModifiedBy *string // The type of identity that last modified the resource. LastModifiedByType *CreatedByType }
SystemData - Metadata pertaining to creation and last modification of the resource.
func (SystemData) MarshalJSON ¶
func (s SystemData) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type SystemData.
func (*SystemData) UnmarshalJSON ¶
func (s *SystemData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type SystemData.
type UserDetails ¶
type UserDetails struct { // User email address. EmailAddress *string // User first name. FirstName *string // User last name. LastName *string // Phone number of the user used by for contacting them if needed PhoneNumber *string // UPN of user Upn *string }
UserDetails - User Info of Informatica Organization resource.
func (UserDetails) MarshalJSON ¶
func (u UserDetails) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type UserDetails.
func (*UserDetails) UnmarshalJSON ¶
func (u *UserDetails) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type UserDetails.
type UserDetailsUpdate ¶
type UserDetailsUpdate struct { // User email address. EmailAddress *string // User first name. FirstName *string // User last name. LastName *string // Phone number of the user used by for contacting them if needed PhoneNumber *string // UPN of user Upn *string }
UserDetailsUpdate - User Info of Informatica Organization resource
func (UserDetailsUpdate) MarshalJSON ¶
func (u UserDetailsUpdate) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type UserDetailsUpdate.
func (*UserDetailsUpdate) UnmarshalJSON ¶
func (u *UserDetailsUpdate) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type UserDetailsUpdate.