/** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */ export interface _OperationListResult { /** The Operation items on this page */ value: Operation[]; /** The link to the next page of items */ nextLink?: string; } export declare function _operationListResultDeserializer(item: any): _OperationListResult; export declare function operationArrayDeserializer(result: Array): any[]; /** Details of a REST API operation, returned from the Resource Provider Operations API */ export interface Operation { /** The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action" */ readonly name?: string; /** Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for Azure Resource Manager/control-plane operations. */ readonly isDataAction?: boolean; /** Localized display information for this particular operation. */ display?: OperationDisplay; /** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system" */ readonly origin?: Origin; /** Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. */ readonly actionType?: ActionType; } export declare function operationDeserializer(item: any): Operation; /** Localized display information for and operation. */ export interface OperationDisplay { /** The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute". */ readonly provider?: string; /** The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections". */ readonly resource?: string; /** The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine". */ readonly operation?: string; /** The short, localized friendly description of the operation; suitable for tool tips and detailed views. */ readonly description?: string; } export declare function operationDisplayDeserializer(item: any): OperationDisplay; /** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system" */ export declare enum KnownOrigin { /** Indicates the operation is initiated by a user. */ User = "user", /** Indicates the operation is initiated by a system. */ System = "system", /** Indicates the operation is initiated by a user or system. */ UserSystem = "user,system" } /** * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system" \ * {@link KnownOrigin} can be used interchangeably with Origin, * this enum contains the known values that the service supports. * ### Known values supported by the service * **user**: Indicates the operation is initiated by a user. \ * **system**: Indicates the operation is initiated by a system. \ * **user,system**: Indicates the operation is initiated by a user or system. */ export type Origin = string; /** Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. */ export declare enum KnownActionType { /** Actions are for internal-only APIs. */ Internal = "Internal" } /** * Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. \ * {@link KnownActionType} can be used interchangeably with ActionType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Internal**: Actions are for internal-only APIs. */ export type ActionType = string; /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. */ export interface ErrorResponse { /** The error object. */ error?: ErrorDetail; } export declare function errorResponseDeserializer(item: any): ErrorResponse; /** The error detail. */ export interface ErrorDetail { /** The error code. */ readonly code?: string; /** The error message. */ readonly message?: string; /** The error target. */ readonly target?: string; /** The error details. */ readonly details?: ErrorDetail[]; /** The error additional info. */ readonly additionalInfo?: ErrorAdditionalInfo[]; } export declare function errorDetailDeserializer(item: any): ErrorDetail; export declare function errorDetailArrayDeserializer(result: Array): any[]; export declare function errorAdditionalInfoArrayDeserializer(result: Array): any[]; /** The resource management error additional info. */ export interface ErrorAdditionalInfo { /** The additional info type. */ readonly type?: string; /** The additional info. */ readonly info?: Record; } export declare function errorAdditionalInfoDeserializer(item: any): ErrorAdditionalInfo; /** model interface _ErrorAdditionalInfoInfo */ export interface _ErrorAdditionalInfoInfo { } export declare function _errorAdditionalInfoInfoDeserializer(item: any): _ErrorAdditionalInfoInfo; /** A Programmable Connectivity Gateway resource */ export interface Gateway extends TrackedResource { /** The resource-specific properties for this resource. */ properties?: GatewayProperties; } export declare function gatewaySerializer(item: Gateway): any; export declare function gatewayDeserializer(item: any): Gateway; /** Gateway resource properties */ export interface GatewayProperties { /** List of Operator API Connections selected by the user */ readonly operatorApiConnections?: string[]; /** Base URL of the Gateway resource. This is the URL that the users would use to make Open API Gateway requests to the Operators via Azure. */ readonly gatewayBaseUrl?: string; /** The status of the last operation on the Gateway resource. */ readonly provisioningState?: ProvisioningState; } export declare function gatewayPropertiesSerializer(item: GatewayProperties): any; export declare function gatewayPropertiesDeserializer(item: any): GatewayProperties; /** The provisioning state of a resource. */ export declare enum KnownProvisioningState { /** Resource has been created. */ Succeeded = "Succeeded", /** Resource creation failed. */ Failed = "Failed", /** Resource creation was canceled. */ Canceled = "Canceled", /** The resource is being provisioned */ Provisioning = "Provisioning", /** The resource is updating */ Updating = "Updating", /** The resource is being deleted */ Deleting = "Deleting", /** The resource create or update request has been accepted */ Accepted = "Accepted" } /** * The provisioning state of a resource. \ * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Succeeded**: Resource has been created. \ * **Failed**: Resource creation failed. \ * **Canceled**: Resource creation was canceled. \ * **Provisioning**: The resource is being provisioned \ * **Updating**: The resource is updating \ * **Deleting**: The resource is being deleted \ * **Accepted**: The resource create or update request has been accepted */ export type ProvisioningState = string; /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */ export interface TrackedResource extends Resource { /** Resource tags. */ tags?: Record; /** The geo-location where the resource lives */ location: string; } export declare function trackedResourceSerializer(item: TrackedResource): any; export declare function trackedResourceDeserializer(item: any): TrackedResource; /** Common fields that are returned in the response for all Azure Resource Manager resources */ export interface Resource { /** Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */ readonly id?: string; /** The name of the resource */ readonly name?: string; /** The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type?: string; /** Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData?: SystemData; } export declare function resourceSerializer(item: Resource): any; export declare function resourceDeserializer(item: any): Resource; /** Metadata pertaining to creation and last modification of the resource. */ export interface SystemData { /** The identity that created the resource. */ createdBy?: string; /** The type of identity that created the resource. */ createdByType?: CreatedByType; /** The timestamp of resource creation (UTC). */ createdAt?: Date; /** The identity that last modified the resource. */ lastModifiedBy?: string; /** The type of identity that last modified the resource. */ lastModifiedByType?: CreatedByType; /** The timestamp of resource last modification (UTC) */ lastModifiedAt?: Date; } export declare function systemDataDeserializer(item: any): SystemData; /** The kind of entity that created the resource. */ export declare enum KnownCreatedByType { /** The entity was created by a user. */ User = "User", /** The entity was created by an application. */ Application = "Application", /** The entity was created by a managed identity. */ ManagedIdentity = "ManagedIdentity", /** The entity was created by a key. */ Key = "Key" } /** * The kind of entity that created the resource. \ * {@link KnowncreatedByType} can be used interchangeably with createdByType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **User**: The entity was created by a user. \ * **Application**: The entity was created by an application. \ * **ManagedIdentity**: The entity was created by a managed identity. \ * **Key**: The entity was created by a key. */ export type CreatedByType = string; /** The type used for updating tags in Gateway resources. */ export interface GatewayTagsUpdate { /** Resource tags. */ tags?: Record; } export declare function gatewayTagsUpdateSerializer(item: GatewayTagsUpdate): any; /** The response of a Gateway list operation. */ export interface _GatewayListResult { /** The Gateway items on this page */ value: Gateway[]; /** The link to the next page of items */ nextLink?: string; } export declare function _gatewayListResultDeserializer(item: any): _GatewayListResult; export declare function gatewayArraySerializer(result: Array): any[]; export declare function gatewayArrayDeserializer(result: Array): any[]; /** A Programmable Connectivity Operator API Connection resource */ export interface OperatorApiConnection extends TrackedResource { /** The resource-specific properties for this resource. */ properties?: OperatorApiConnectionProperties; } export declare function operatorApiConnectionSerializer(item: OperatorApiConnection): any; export declare function operatorApiConnectionDeserializer(item: any): OperatorApiConnection; /** Operator API Connection resource properties that cannot be updated once a resource has been created. */ export interface OperatorApiConnectionProperties { /** Reference to the Operator API Plan Resource ID. */ operatorApiPlanId: string; /** Details about the SaaS offer purchased from the marketplace. */ saasProperties?: SaasProperties; /** Details about the Application that would use the Operator's Network APIs. */ configuredApplication?: ApplicationProperties; /** Application ID of the App Developer that is registered with the Operator in a specific country/region. */ appId?: string; /** Reference to the APC Gateway resource ID. */ gatewayId: string; /** Type of the account the user has with the Operator's Network API infrastructure. AzureManaged | UserManaged. */ accountType: AccountType; /** Application secret linked to the 'appId'. This should be stored securely and is not returned back when the resource information is read. */ appSecret?: string; /** Name of the Operator in the linked Operator API Plan belongs to. */ readonly operatorName?: string; /** The Network API for the current operator in the country/region provided in the linked Operator API Plan. */ readonly camaraApiName?: string; /** The status of the last operation. */ readonly provisioningState?: ProvisioningState; /** The status of the OperatorApiConnection resource. */ readonly status?: Status; } export declare function operatorApiConnectionPropertiesSerializer(item: OperatorApiConnectionProperties): any; export declare function operatorApiConnectionPropertiesDeserializer(item: any): OperatorApiConnectionProperties; /** Details about the SaaS offer purchased from the marketplace. */ export interface SaasProperties { /** Subscription ID of the SaaS offer purchased from the marketplace. */ saasSubscriptionId?: string; /** Resource ID of the SaaS offer purchased from the marketplace. */ saasResourceId?: string; } export declare function saasPropertiesSerializer(item: SaasProperties): any; export declare function saasPropertiesDeserializer(item: any): SaasProperties; /** Details about the Application that would use the Operator's Network APIs. */ export interface ApplicationProperties { /** Name of the application. Example: Contoso App. */ name?: string; /** Description of the application. */ applicationDescription?: string; /** The category that describes the application. */ applicationType?: string; /** Legal name of the organization owning the application. */ legalName?: string; /** A description of the organization owning the application. */ organizationDescription?: string; /** Unique Tax Number for the user's organization in the country/region the APC Gateway is being purchased. */ taxNumber?: string; /** Email address of the Privacy contact or Data Protection officer of the organization. */ privacyContactEmailAddress?: string; } export declare function applicationPropertiesSerializer(item: ApplicationProperties): any; export declare function applicationPropertiesDeserializer(item: any): ApplicationProperties; /** The Account Type of the Operator API Connections. */ export declare enum KnownAccountType { /** Managed by Azure on-behalf-of the user. */ AzureManaged = "AzureManaged", /** Managed by the User themselves on the Operator end. */ UserManaged = "UserManaged" } /** * The Account Type of the Operator API Connections. \ * {@link KnownAccountType} can be used interchangeably with AccountType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **AzureManaged**: Managed by Azure on-behalf-of the user. \ * **UserManaged**: Managed by the User themselves on the Operator end. */ export type AccountType = string; /** Description of the current status of the OperatorApiConnection resource. */ export interface Status { /** Current state of the OperatorApiConnection resource. */ state?: string; /** Explanation of the current state of the OperatorApiConnection resource. */ reason?: string; } export declare function statusDeserializer(item: any): Status; /** The type used for update operations of the OperatorApiConnection. */ export interface OperatorApiConnectionUpdate { /** Resource tags. */ tags?: Record; /** The resource-specific properties for this resource. */ properties?: OperatorApiConnectionUpdateProperties; } export declare function operatorApiConnectionUpdateSerializer(item: OperatorApiConnectionUpdate): any; /** The updatable properties of the OperatorApiConnection. */ export interface OperatorApiConnectionUpdateProperties { /** Reference to the Operator API Plan Resource ID. */ operatorApiPlanId?: string; /** Details about the SaaS offer purchased from the marketplace. */ saasProperties?: SaasProperties; /** Details about the Application that would use the Operator's Network APIs. */ configuredApplication?: ApplicationProperties; /** Application ID of the App Developer that is registered with the Operator in a specific country/region. */ appId?: string; /** Application secret linked to the 'appId'. This should be stored securely and is not returned back when the resource information is read. */ appSecret?: string; } export declare function operatorApiConnectionUpdatePropertiesSerializer(item: OperatorApiConnectionUpdateProperties): any; /** The response of a OperatorApiConnection list operation. */ export interface _OperatorApiConnectionListResult { /** The OperatorApiConnection items on this page */ value: OperatorApiConnection[]; /** The link to the next page of items */ nextLink?: string; } export declare function _operatorApiConnectionListResultDeserializer(item: any): _OperatorApiConnectionListResult; export declare function operatorApiConnectionArraySerializer(result: Array): any[]; export declare function operatorApiConnectionArrayDeserializer(result: Array): any[]; /** A Programmable Connectivity Operator API Plans resource. This is a readonly resource that indicates which Operator Network APIs are available in the user's subscription. */ export interface OperatorApiPlan extends ProxyResource { /** The resource-specific properties for this resource. */ properties?: OperatorApiPlanProperties; } export declare function operatorApiPlanDeserializer(item: any): OperatorApiPlan; /** Operator API Plan properties. */ export interface OperatorApiPlanProperties { /** Name of the Operator this plan belongs to. */ operatorName?: string; /** Standardized Network API name defined by CAMARA specifications. */ camaraApiName?: string; /** List of Azure regions where this offer is supported. */ supportedLocations?: string[]; /** List of country/region names where this plan is being supported by the Operator. */ operatorRegions?: string[]; /** List of country/region names where this plan is being supported by Azure Marketplace. */ markets?: string[]; /** The limits, if any, will be imposed by the operator. */ limits?: string; /** Azure marketplace properties for this plan. */ marketplaceProperties?: MarketplaceProperties; /** The status of the last operation on the Gateway resource. */ readonly provisioningState?: ProvisioningState; } export declare function operatorApiPlanPropertiesDeserializer(item: any): OperatorApiPlanProperties; /** Azure marketplace properties for a plan. */ export interface MarketplaceProperties { /** Azure marketplace Offer ID for this plan. */ offerId?: string; /** Azure marketplace Legacy Offer ID for this plan. This is used to fetch the details of the plan from the Azure marketplace. */ legacyOfferId?: string; /** Azure marketplace Publisher ID for this plan. */ publisherId?: string; /** Azure marketplace Plan ID for this plan. */ planId?: string; /** Azure marketplace Term ID for this plan. */ termId?: string; } export declare function marketplacePropertiesDeserializer(item: any): MarketplaceProperties; /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */ export interface ProxyResource extends Resource { } export declare function proxyResourceDeserializer(item: any): ProxyResource; /** The response of a OperatorApiPlan list operation. */ export interface _OperatorApiPlanListResult { /** The OperatorApiPlan items on this page */ value: OperatorApiPlan[]; /** The link to the next page of items */ nextLink?: string; } export declare function _operatorApiPlanListResultDeserializer(item: any): _OperatorApiPlanListResult; export declare function operatorApiPlanArrayDeserializer(result: Array): any[]; /** The available API versions. */ export declare enum KnownVersions { /** The 2024-01-15-preview API version. */ V20240115Preview = "2024-01-15-preview" } //# sourceMappingURL=models.d.ts.map