diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/__init__.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/__init__.py index 9082c0270d47..5f5eb54bbb00 100644 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/__init__.py +++ b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/__init__.py @@ -9,10 +9,11 @@ # regenerated. # -------------------------------------------------------------------------- -from .logic_management_client import LogicManagementClient -from .version import VERSION +from ._configuration import LogicManagementClientConfiguration +from ._logic_management_client import LogicManagementClient +__all__ = ['LogicManagementClient', 'LogicManagementClientConfiguration'] -__all__ = ['LogicManagementClient'] +from .version import VERSION __version__ = VERSION diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/_configuration.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/_configuration.py new file mode 100644 index 000000000000..5b28d6952a63 --- /dev/null +++ b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/_configuration.py @@ -0,0 +1,48 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- +from msrestazure import AzureConfiguration + +from .version import VERSION + + +class LogicManagementClientConfiguration(AzureConfiguration): + """Configuration for LogicManagementClient + Note that all parameters used to create this instance are saved as instance + attributes. + + :param credentials: Credentials needed for the client to connect to Azure. + :type credentials: :mod:`A msrestazure Credentials + object` + :param subscription_id: The subscription id. + :type subscription_id: str + :param str base_url: Service URL + """ + + def __init__( + self, credentials, subscription_id, base_url=None): + + if credentials is None: + raise ValueError("Parameter 'credentials' must not be None.") + if subscription_id is None: + raise ValueError("Parameter 'subscription_id' must not be None.") + if not base_url: + base_url = 'https://management.azure.com' + + super(LogicManagementClientConfiguration, self).__init__(base_url) + + # Starting Autorest.Python 4.0.64, make connection pool activated by default + self.keep_alive = True + + self.add_user_agent('azure-mgmt-logic/{}'.format(VERSION)) + self.add_user_agent('Azure-SDK-For-Python') + + self.credentials = credentials + self.subscription_id = subscription_id diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/logic_management_client.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/_logic_management_client.py similarity index 69% rename from sdk/logic/azure-mgmt-logic/azure/mgmt/logic/logic_management_client.py rename to sdk/logic/azure-mgmt-logic/azure/mgmt/logic/_logic_management_client.py index ea6f82d78e58..1f2ed09d1a9b 100644 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/logic_management_client.py +++ b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/_logic_management_client.py @@ -11,63 +11,36 @@ from msrest.service_client import SDKClient from msrest import Serializer, Deserializer -from msrestazure import AzureConfiguration -from .version import VERSION -from .operations.workflows_operations import WorkflowsOperations -from .operations.workflow_versions_operations import WorkflowVersionsOperations -from .operations.workflow_triggers_operations import WorkflowTriggersOperations -from .operations.workflow_version_triggers_operations import WorkflowVersionTriggersOperations -from .operations.workflow_trigger_histories_operations import WorkflowTriggerHistoriesOperations -from .operations.workflow_runs_operations import WorkflowRunsOperations -from .operations.workflow_run_actions_operations import WorkflowRunActionsOperations -from .operations.workflow_run_action_repetitions_operations import WorkflowRunActionRepetitionsOperations -from .operations.workflow_run_action_repetitions_request_histories_operations import WorkflowRunActionRepetitionsRequestHistoriesOperations -from .operations.workflow_run_action_request_histories_operations import WorkflowRunActionRequestHistoriesOperations -from .operations.workflow_run_action_scope_repetitions_operations import WorkflowRunActionScopeRepetitionsOperations -from .operations.workflow_run_operations import WorkflowRunOperations -from .operations.integration_accounts_operations import IntegrationAccountsOperations -from .operations.integration_account_assemblies_operations import IntegrationAccountAssembliesOperations -from .operations.integration_account_batch_configurations_operations import IntegrationAccountBatchConfigurationsOperations -from .operations.integration_account_schemas_operations import IntegrationAccountSchemasOperations -from .operations.integration_account_maps_operations import IntegrationAccountMapsOperations -from .operations.integration_account_partners_operations import IntegrationAccountPartnersOperations -from .operations.integration_account_agreements_operations import IntegrationAccountAgreementsOperations -from .operations.integration_account_certificates_operations import IntegrationAccountCertificatesOperations -from .operations.integration_account_sessions_operations import IntegrationAccountSessionsOperations -from .operations.operations import Operations -from . import models - - -class LogicManagementClientConfiguration(AzureConfiguration): - """Configuration for LogicManagementClient - Note that all parameters used to create this instance are saved as instance - attributes. - - :param credentials: Credentials needed for the client to connect to Azure. - :type credentials: :mod:`A msrestazure Credentials - object` - :param subscription_id: The subscription id. - :type subscription_id: str - :param str base_url: Service URL - """ - def __init__( - self, credentials, subscription_id, base_url=None): - - if credentials is None: - raise ValueError("Parameter 'credentials' must not be None.") - if subscription_id is None: - raise ValueError("Parameter 'subscription_id' must not be None.") - if not base_url: - base_url = 'https://management.azure.com' - - super(LogicManagementClientConfiguration, self).__init__(base_url) - - self.add_user_agent('azure-mgmt-logic/{}'.format(VERSION)) - self.add_user_agent('Azure-SDK-For-Python') - - self.credentials = credentials - self.subscription_id = subscription_id +from ._configuration import LogicManagementClientConfiguration +from .operations import WorkflowsOperations +from .operations import WorkflowVersionsOperations +from .operations import WorkflowTriggersOperations +from .operations import WorkflowVersionTriggersOperations +from .operations import WorkflowTriggerHistoriesOperations +from .operations import WorkflowRunsOperations +from .operations import WorkflowRunActionsOperations +from .operations import WorkflowRunActionRepetitionsOperations +from .operations import WorkflowRunActionRepetitionsRequestHistoriesOperations +from .operations import WorkflowRunActionRequestHistoriesOperations +from .operations import WorkflowRunActionScopeRepetitionsOperations +from .operations import WorkflowRunOperations +from .operations import IntegrationAccountsOperations +from .operations import IntegrationAccountAssembliesOperations +from .operations import IntegrationAccountBatchConfigurationsOperations +from .operations import IntegrationAccountSchemasOperations +from .operations import IntegrationAccountMapsOperations +from .operations import IntegrationAccountPartnersOperations +from .operations import IntegrationAccountAgreementsOperations +from .operations import IntegrationAccountCertificatesOperations +from .operations import IntegrationAccountSessionsOperations +from .operations import IntegrationServiceEnvironmentsOperations +from .operations import IntegrationServiceEnvironmentSkusOperations +from .operations import IntegrationServiceEnvironmentNetworkHealthOperations +from .operations import IntegrationServiceEnvironmentManagedApisOperations +from .operations import IntegrationServiceEnvironmentManagedApiOperations +from .operations import Operations +from . import models class LogicManagementClient(SDKClient): @@ -118,6 +91,16 @@ class LogicManagementClient(SDKClient): :vartype integration_account_certificates: azure.mgmt.logic.operations.IntegrationAccountCertificatesOperations :ivar integration_account_sessions: IntegrationAccountSessions operations :vartype integration_account_sessions: azure.mgmt.logic.operations.IntegrationAccountSessionsOperations + :ivar integration_service_environments: IntegrationServiceEnvironments operations + :vartype integration_service_environments: azure.mgmt.logic.operations.IntegrationServiceEnvironmentsOperations + :ivar integration_service_environment_skus: IntegrationServiceEnvironmentSkus operations + :vartype integration_service_environment_skus: azure.mgmt.logic.operations.IntegrationServiceEnvironmentSkusOperations + :ivar integration_service_environment_network_health: IntegrationServiceEnvironmentNetworkHealth operations + :vartype integration_service_environment_network_health: azure.mgmt.logic.operations.IntegrationServiceEnvironmentNetworkHealthOperations + :ivar integration_service_environment_managed_apis: IntegrationServiceEnvironmentManagedApis operations + :vartype integration_service_environment_managed_apis: azure.mgmt.logic.operations.IntegrationServiceEnvironmentManagedApisOperations + :ivar integration_service_environment_managed_api_operations: IntegrationServiceEnvironmentManagedApiOperations operations + :vartype integration_service_environment_managed_api_operations: azure.mgmt.logic.operations.IntegrationServiceEnvironmentManagedApiOperations :ivar operations: Operations operations :vartype operations: azure.mgmt.logic.operations.Operations @@ -136,7 +119,7 @@ def __init__( super(LogicManagementClient, self).__init__(self.config.credentials, self.config) client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} - self.api_version = '2018-07-01-preview' + self.api_version = '2019-05-01' self._serialize = Serializer(client_models) self._deserialize = Deserializer(client_models) @@ -182,5 +165,15 @@ def __init__( self._client, self.config, self._serialize, self._deserialize) self.integration_account_sessions = IntegrationAccountSessionsOperations( self._client, self.config, self._serialize, self._deserialize) + self.integration_service_environments = IntegrationServiceEnvironmentsOperations( + self._client, self.config, self._serialize, self._deserialize) + self.integration_service_environment_skus = IntegrationServiceEnvironmentSkusOperations( + self._client, self.config, self._serialize, self._deserialize) + self.integration_service_environment_network_health = IntegrationServiceEnvironmentNetworkHealthOperations( + self._client, self.config, self._serialize, self._deserialize) + self.integration_service_environment_managed_apis = IntegrationServiceEnvironmentManagedApisOperations( + self._client, self.config, self._serialize, self._deserialize) + self.integration_service_environment_managed_api_operations = IntegrationServiceEnvironmentManagedApiOperations( + self._client, self.config, self._serialize, self._deserialize) self.operations = Operations( self._client, self.config, self._serialize, self._deserialize) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/__init__.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/__init__.py index 62165dd50eb4..8a640acbf83e 100644 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/__init__.py +++ b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/__init__.py @@ -10,280 +10,383 @@ # -------------------------------------------------------------------------- try: - from .resource_py3 import Resource - from .sub_resource_py3 import SubResource - from .resource_reference_py3 import ResourceReference - from .sku_py3 import Sku - from .workflow_parameter_py3 import WorkflowParameter - from .workflow_py3 import Workflow - from .workflow_filter_py3 import WorkflowFilter - from .workflow_version_py3 import WorkflowVersion - from .recurrence_schedule_occurrence_py3 import RecurrenceScheduleOccurrence - from .recurrence_schedule_py3 import RecurrenceSchedule - from .workflow_trigger_recurrence_py3 import WorkflowTriggerRecurrence - from .workflow_trigger_py3 import WorkflowTrigger - from .workflow_trigger_filter_py3 import WorkflowTriggerFilter - from .workflow_trigger_list_callback_url_queries_py3 import WorkflowTriggerListCallbackUrlQueries - from .workflow_trigger_callback_url_py3 import WorkflowTriggerCallbackUrl - from .correlation_py3 import Correlation - from .content_hash_py3 import ContentHash - from .content_link_py3 import ContentLink - from .workflow_trigger_history_py3 import WorkflowTriggerHistory - from .workflow_trigger_history_filter_py3 import WorkflowTriggerHistoryFilter - from .workflow_run_trigger_py3 import WorkflowRunTrigger - from .workflow_output_parameter_py3 import WorkflowOutputParameter - from .workflow_run_py3 import WorkflowRun - from .workflow_run_filter_py3 import WorkflowRunFilter - from .error_properties_py3 import ErrorProperties - from .error_response_py3 import ErrorResponse, ErrorResponseException - from .retry_history_py3 import RetryHistory - from .workflow_run_action_py3 import WorkflowRunAction - from .workflow_run_action_filter_py3 import WorkflowRunActionFilter - from .regenerate_action_parameter_py3 import RegenerateActionParameter - from .generate_upgraded_definition_parameters_py3 import GenerateUpgradedDefinitionParameters - from .integration_account_sku_py3 import IntegrationAccountSku - from .integration_account_py3 import IntegrationAccount - from .get_callback_url_parameters_py3 import GetCallbackUrlParameters - from .callback_url_py3 import CallbackUrl - from .integration_account_schema_py3 import IntegrationAccountSchema - from .integration_account_schema_filter_py3 import IntegrationAccountSchemaFilter - from .integration_account_map_properties_parameters_schema_py3 import IntegrationAccountMapPropertiesParametersSchema - from .integration_account_map_py3 import IntegrationAccountMap - from .integration_account_map_filter_py3 import IntegrationAccountMapFilter - from .business_identity_py3 import BusinessIdentity - from .b2_bpartner_content_py3 import B2BPartnerContent - from .partner_content_py3 import PartnerContent - from .integration_account_partner_py3 import IntegrationAccountPartner - from .integration_account_partner_filter_py3 import IntegrationAccountPartnerFilter - from .as2_message_connection_settings_py3 import AS2MessageConnectionSettings - from .as2_acknowledgement_connection_settings_py3 import AS2AcknowledgementConnectionSettings - from .as2_mdn_settings_py3 import AS2MdnSettings - from .as2_security_settings_py3 import AS2SecuritySettings - from .as2_validation_settings_py3 import AS2ValidationSettings - from .as2_envelope_settings_py3 import AS2EnvelopeSettings - from .as2_error_settings_py3 import AS2ErrorSettings - from .as2_protocol_settings_py3 import AS2ProtocolSettings - from .as2_one_way_agreement_py3 import AS2OneWayAgreement - from .as2_agreement_content_py3 import AS2AgreementContent - from .x12_validation_settings_py3 import X12ValidationSettings - from .x12_framing_settings_py3 import X12FramingSettings - from .x12_envelope_settings_py3 import X12EnvelopeSettings - from .x12_acknowledgement_settings_py3 import X12AcknowledgementSettings - from .x12_message_filter_py3 import X12MessageFilter - from .x12_security_settings_py3 import X12SecuritySettings - from .x12_processing_settings_py3 import X12ProcessingSettings - from .x12_envelope_override_py3 import X12EnvelopeOverride - from .x12_validation_override_py3 import X12ValidationOverride - from .x12_message_identifier_py3 import X12MessageIdentifier - from .x12_schema_reference_py3 import X12SchemaReference - from .x12_delimiter_overrides_py3 import X12DelimiterOverrides - from .x12_protocol_settings_py3 import X12ProtocolSettings - from .x12_one_way_agreement_py3 import X12OneWayAgreement - from .x12_agreement_content_py3 import X12AgreementContent - from .edifact_validation_settings_py3 import EdifactValidationSettings - from .edifact_framing_settings_py3 import EdifactFramingSettings - from .edifact_envelope_settings_py3 import EdifactEnvelopeSettings - from .edifact_acknowledgement_settings_py3 import EdifactAcknowledgementSettings - from .edifact_message_filter_py3 import EdifactMessageFilter - from .edifact_processing_settings_py3 import EdifactProcessingSettings - from .edifact_envelope_override_py3 import EdifactEnvelopeOverride - from .edifact_message_identifier_py3 import EdifactMessageIdentifier - from .edifact_schema_reference_py3 import EdifactSchemaReference - from .edifact_validation_override_py3 import EdifactValidationOverride - from .edifact_delimiter_override_py3 import EdifactDelimiterOverride - from .edifact_protocol_settings_py3 import EdifactProtocolSettings - from .edifact_one_way_agreement_py3 import EdifactOneWayAgreement - from .edifact_agreement_content_py3 import EdifactAgreementContent - from .agreement_content_py3 import AgreementContent - from .integration_account_agreement_py3 import IntegrationAccountAgreement - from .integration_account_agreement_filter_py3 import IntegrationAccountAgreementFilter - from .key_vault_key_reference_key_vault_py3 import KeyVaultKeyReferenceKeyVault - from .key_vault_key_reference_py3 import KeyVaultKeyReference - from .integration_account_certificate_py3 import IntegrationAccountCertificate - from .integration_account_session_filter_py3 import IntegrationAccountSessionFilter - from .integration_account_session_py3 import IntegrationAccountSession - from .operation_display_py3 import OperationDisplay - from .operation_py3 import Operation - from .key_vault_reference_py3 import KeyVaultReference - from .list_key_vault_keys_definition_py3 import ListKeyVaultKeysDefinition - from .key_vault_key_attributes_py3 import KeyVaultKeyAttributes - from .key_vault_key_py3 import KeyVaultKey - from .tracking_event_error_info_py3 import TrackingEventErrorInfo - from .tracking_event_py3 import TrackingEvent - from .tracking_events_definition_py3 import TrackingEventsDefinition - from .set_trigger_state_action_definition_py3 import SetTriggerStateActionDefinition - from .expression_root_py3 import ExpressionRoot - from .azure_resource_error_info_py3 import AzureResourceErrorInfo - from .expression_py3 import Expression - from .error_info_py3 import ErrorInfo - from .repetition_index_py3 import RepetitionIndex - from .workflow_run_action_repetition_definition_py3 import WorkflowRunActionRepetitionDefinition - from .workflow_run_action_repetition_definition_collection_py3 import WorkflowRunActionRepetitionDefinitionCollection - from .operation_result_py3 import OperationResult - from .run_action_correlation_py3 import RunActionCorrelation - from .operation_result_properties_py3 import OperationResultProperties - from .run_correlation_py3 import RunCorrelation - from .json_schema_py3 import JsonSchema - from .assembly_properties_py3 import AssemblyProperties - from .assembly_definition_py3 import AssemblyDefinition - from .artifact_content_properties_definition_py3 import ArtifactContentPropertiesDefinition - from .artifact_properties_py3 import ArtifactProperties - from .batch_release_criteria_py3 import BatchReleaseCriteria - from .batch_configuration_properties_py3 import BatchConfigurationProperties - from .batch_configuration_py3 import BatchConfiguration - from .request_py3 import Request - from .response_py3 import Response - from .request_history_properties_py3 import RequestHistoryProperties - from .request_history_py3 import RequestHistory + from ._models_py3 import AgreementContent + from ._models_py3 import ApiDeploymentParameterMetadata + from ._models_py3 import ApiDeploymentParameterMetadataSet + from ._models_py3 import ApiOperation + from ._models_py3 import ApiOperationAnnotation + from ._models_py3 import ApiOperationPropertiesDefinition + from ._models_py3 import ApiReference + from ._models_py3 import ApiResourceBackendService + from ._models_py3 import ApiResourceDefinitions + from ._models_py3 import ApiResourceGeneralInformation + from ._models_py3 import ApiResourceMetadata + from ._models_py3 import ApiResourcePolicies + from ._models_py3 import ApiResourceProperties + from ._models_py3 import ArtifactContentPropertiesDefinition + from ._models_py3 import ArtifactProperties + from ._models_py3 import AS2AcknowledgementConnectionSettings + from ._models_py3 import AS2AgreementContent + from ._models_py3 import AS2EnvelopeSettings + from ._models_py3 import AS2ErrorSettings + from ._models_py3 import AS2MdnSettings + from ._models_py3 import AS2MessageConnectionSettings + from ._models_py3 import AS2OneWayAgreement + from ._models_py3 import AS2ProtocolSettings + from ._models_py3 import AS2SecuritySettings + from ._models_py3 import AS2ValidationSettings + from ._models_py3 import AssemblyDefinition + from ._models_py3 import AssemblyProperties + from ._models_py3 import AzureResourceErrorInfo + from ._models_py3 import B2BPartnerContent + from ._models_py3 import BatchConfiguration + from ._models_py3 import BatchConfigurationProperties + from ._models_py3 import BatchReleaseCriteria + from ._models_py3 import BusinessIdentity + from ._models_py3 import CallbackUrl + from ._models_py3 import ContentHash + from ._models_py3 import ContentLink + from ._models_py3 import Correlation + from ._models_py3 import EdifactAcknowledgementSettings + from ._models_py3 import EdifactAgreementContent + from ._models_py3 import EdifactDelimiterOverride + from ._models_py3 import EdifactEnvelopeOverride + from ._models_py3 import EdifactEnvelopeSettings + from ._models_py3 import EdifactFramingSettings + from ._models_py3 import EdifactMessageFilter + from ._models_py3 import EdifactMessageIdentifier + from ._models_py3 import EdifactOneWayAgreement + from ._models_py3 import EdifactProcessingSettings + from ._models_py3 import EdifactProtocolSettings + from ._models_py3 import EdifactSchemaReference + from ._models_py3 import EdifactValidationOverride + from ._models_py3 import EdifactValidationSettings + from ._models_py3 import ErrorInfo + from ._models_py3 import ErrorProperties + from ._models_py3 import ErrorResponse, ErrorResponseException + from ._models_py3 import Expression + from ._models_py3 import ExpressionRoot + from ._models_py3 import ExtendedErrorInfo + from ._models_py3 import FlowAccessControlConfiguration + from ._models_py3 import FlowAccessControlConfigurationPolicy + from ._models_py3 import FlowEndpoints + from ._models_py3 import FlowEndpointsConfiguration + from ._models_py3 import GenerateUpgradedDefinitionParameters + from ._models_py3 import GetCallbackUrlParameters + from ._models_py3 import IntegrationAccount + from ._models_py3 import IntegrationAccountAgreement + from ._models_py3 import IntegrationAccountAgreementFilter + from ._models_py3 import IntegrationAccountCertificate + from ._models_py3 import IntegrationAccountMap + from ._models_py3 import IntegrationAccountMapFilter + from ._models_py3 import IntegrationAccountMapPropertiesParametersSchema + from ._models_py3 import IntegrationAccountPartner + from ._models_py3 import IntegrationAccountPartnerFilter + from ._models_py3 import IntegrationAccountSchema + from ._models_py3 import IntegrationAccountSchemaFilter + from ._models_py3 import IntegrationAccountSession + from ._models_py3 import IntegrationAccountSessionFilter + from ._models_py3 import IntegrationAccountSku + from ._models_py3 import IntegrationServiceEnvironmenEncryptionConfiguration + from ._models_py3 import IntegrationServiceEnvironmenEncryptionKeyReference + from ._models_py3 import IntegrationServiceEnvironment + from ._models_py3 import IntegrationServiceEnvironmentAccessEndpoint + from ._models_py3 import IntegrationServiceEnvironmentNetworkDependency + from ._models_py3 import IntegrationServiceEnvironmentNetworkDependencyHealth + from ._models_py3 import IntegrationServiceEnvironmentNetworkEndpoint + from ._models_py3 import IntegrationServiceEnvironmentProperties + from ._models_py3 import IntegrationServiceEnvironmentSku + from ._models_py3 import IntegrationServiceEnvironmentSkuCapacity + from ._models_py3 import IntegrationServiceEnvironmentSkuDefinition + from ._models_py3 import IntegrationServiceEnvironmentSkuDefinitionSku + from ._models_py3 import IntegrationServiceEnvironmentSubnetNetworkHealth + from ._models_py3 import IpAddress + from ._models_py3 import IpAddressRange + from ._models_py3 import JsonSchema + from ._models_py3 import KeyVaultKey + from ._models_py3 import KeyVaultKeyAttributes + from ._models_py3 import KeyVaultKeyReference + from ._models_py3 import KeyVaultKeyReferenceKeyVault + from ._models_py3 import KeyVaultReference + from ._models_py3 import ListKeyVaultKeysDefinition + from ._models_py3 import ManagedApi + from ._models_py3 import NetworkConfiguration + from ._models_py3 import OpenAuthenticationAccessPolicies + from ._models_py3 import OpenAuthenticationAccessPolicy + from ._models_py3 import OpenAuthenticationPolicyClaim + from ._models_py3 import Operation + from ._models_py3 import OperationDisplay + from ._models_py3 import OperationResult + from ._models_py3 import OperationResultProperties + from ._models_py3 import PartnerContent + from ._models_py3 import RecurrenceSchedule + from ._models_py3 import RecurrenceScheduleOccurrence + from ._models_py3 import RegenerateActionParameter + from ._models_py3 import RepetitionIndex + from ._models_py3 import Request + from ._models_py3 import RequestHistory + from ._models_py3 import RequestHistoryProperties + from ._models_py3 import Resource + from ._models_py3 import ResourceReference + from ._models_py3 import Response + from ._models_py3 import RetryHistory + from ._models_py3 import RunActionCorrelation + from ._models_py3 import RunCorrelation + from ._models_py3 import SetTriggerStateActionDefinition + from ._models_py3 import Sku + from ._models_py3 import SubResource + from ._models_py3 import SwaggerCustomDynamicList + from ._models_py3 import SwaggerCustomDynamicProperties + from ._models_py3 import SwaggerCustomDynamicSchema + from ._models_py3 import SwaggerCustomDynamicTree + from ._models_py3 import SwaggerCustomDynamicTreeCommand + from ._models_py3 import SwaggerCustomDynamicTreeParameter + from ._models_py3 import SwaggerCustomDynamicTreeSettings + from ._models_py3 import SwaggerExternalDocumentation + from ._models_py3 import SwaggerSchema + from ._models_py3 import SwaggerXml + from ._models_py3 import TrackingEvent + from ._models_py3 import TrackingEventErrorInfo + from ._models_py3 import TrackingEventsDefinition + from ._models_py3 import Workflow + from ._models_py3 import WorkflowFilter + from ._models_py3 import WorkflowOutputParameter + from ._models_py3 import WorkflowParameter + from ._models_py3 import WorkflowReference + from ._models_py3 import WorkflowRun + from ._models_py3 import WorkflowRunAction + from ._models_py3 import WorkflowRunActionFilter + from ._models_py3 import WorkflowRunActionRepetitionDefinition + from ._models_py3 import WorkflowRunFilter + from ._models_py3 import WorkflowRunTrigger + from ._models_py3 import WorkflowTrigger + from ._models_py3 import WorkflowTriggerCallbackUrl + from ._models_py3 import WorkflowTriggerFilter + from ._models_py3 import WorkflowTriggerHistory + from ._models_py3 import WorkflowTriggerHistoryFilter + from ._models_py3 import WorkflowTriggerListCallbackUrlQueries + from ._models_py3 import WorkflowTriggerRecurrence + from ._models_py3 import WorkflowTriggerReference + from ._models_py3 import WorkflowVersion + from ._models_py3 import WsdlService + from ._models_py3 import X12AcknowledgementSettings + from ._models_py3 import X12AgreementContent + from ._models_py3 import X12DelimiterOverrides + from ._models_py3 import X12EnvelopeOverride + from ._models_py3 import X12EnvelopeSettings + from ._models_py3 import X12FramingSettings + from ._models_py3 import X12MessageFilter + from ._models_py3 import X12MessageIdentifier + from ._models_py3 import X12OneWayAgreement + from ._models_py3 import X12ProcessingSettings + from ._models_py3 import X12ProtocolSettings + from ._models_py3 import X12SchemaReference + from ._models_py3 import X12SecuritySettings + from ._models_py3 import X12ValidationOverride + from ._models_py3 import X12ValidationSettings except (SyntaxError, ImportError): - from .resource import Resource - from .sub_resource import SubResource - from .resource_reference import ResourceReference - from .sku import Sku - from .workflow_parameter import WorkflowParameter - from .workflow import Workflow - from .workflow_filter import WorkflowFilter - from .workflow_version import WorkflowVersion - from .recurrence_schedule_occurrence import RecurrenceScheduleOccurrence - from .recurrence_schedule import RecurrenceSchedule - from .workflow_trigger_recurrence import WorkflowTriggerRecurrence - from .workflow_trigger import WorkflowTrigger - from .workflow_trigger_filter import WorkflowTriggerFilter - from .workflow_trigger_list_callback_url_queries import WorkflowTriggerListCallbackUrlQueries - from .workflow_trigger_callback_url import WorkflowTriggerCallbackUrl - from .correlation import Correlation - from .content_hash import ContentHash - from .content_link import ContentLink - from .workflow_trigger_history import WorkflowTriggerHistory - from .workflow_trigger_history_filter import WorkflowTriggerHistoryFilter - from .workflow_run_trigger import WorkflowRunTrigger - from .workflow_output_parameter import WorkflowOutputParameter - from .workflow_run import WorkflowRun - from .workflow_run_filter import WorkflowRunFilter - from .error_properties import ErrorProperties - from .error_response import ErrorResponse, ErrorResponseException - from .retry_history import RetryHistory - from .workflow_run_action import WorkflowRunAction - from .workflow_run_action_filter import WorkflowRunActionFilter - from .regenerate_action_parameter import RegenerateActionParameter - from .generate_upgraded_definition_parameters import GenerateUpgradedDefinitionParameters - from .integration_account_sku import IntegrationAccountSku - from .integration_account import IntegrationAccount - from .get_callback_url_parameters import GetCallbackUrlParameters - from .callback_url import CallbackUrl - from .integration_account_schema import IntegrationAccountSchema - from .integration_account_schema_filter import IntegrationAccountSchemaFilter - from .integration_account_map_properties_parameters_schema import IntegrationAccountMapPropertiesParametersSchema - from .integration_account_map import IntegrationAccountMap - from .integration_account_map_filter import IntegrationAccountMapFilter - from .business_identity import BusinessIdentity - from .b2_bpartner_content import B2BPartnerContent - from .partner_content import PartnerContent - from .integration_account_partner import IntegrationAccountPartner - from .integration_account_partner_filter import IntegrationAccountPartnerFilter - from .as2_message_connection_settings import AS2MessageConnectionSettings - from .as2_acknowledgement_connection_settings import AS2AcknowledgementConnectionSettings - from .as2_mdn_settings import AS2MdnSettings - from .as2_security_settings import AS2SecuritySettings - from .as2_validation_settings import AS2ValidationSettings - from .as2_envelope_settings import AS2EnvelopeSettings - from .as2_error_settings import AS2ErrorSettings - from .as2_protocol_settings import AS2ProtocolSettings - from .as2_one_way_agreement import AS2OneWayAgreement - from .as2_agreement_content import AS2AgreementContent - from .x12_validation_settings import X12ValidationSettings - from .x12_framing_settings import X12FramingSettings - from .x12_envelope_settings import X12EnvelopeSettings - from .x12_acknowledgement_settings import X12AcknowledgementSettings - from .x12_message_filter import X12MessageFilter - from .x12_security_settings import X12SecuritySettings - from .x12_processing_settings import X12ProcessingSettings - from .x12_envelope_override import X12EnvelopeOverride - from .x12_validation_override import X12ValidationOverride - from .x12_message_identifier import X12MessageIdentifier - from .x12_schema_reference import X12SchemaReference - from .x12_delimiter_overrides import X12DelimiterOverrides - from .x12_protocol_settings import X12ProtocolSettings - from .x12_one_way_agreement import X12OneWayAgreement - from .x12_agreement_content import X12AgreementContent - from .edifact_validation_settings import EdifactValidationSettings - from .edifact_framing_settings import EdifactFramingSettings - from .edifact_envelope_settings import EdifactEnvelopeSettings - from .edifact_acknowledgement_settings import EdifactAcknowledgementSettings - from .edifact_message_filter import EdifactMessageFilter - from .edifact_processing_settings import EdifactProcessingSettings - from .edifact_envelope_override import EdifactEnvelopeOverride - from .edifact_message_identifier import EdifactMessageIdentifier - from .edifact_schema_reference import EdifactSchemaReference - from .edifact_validation_override import EdifactValidationOverride - from .edifact_delimiter_override import EdifactDelimiterOverride - from .edifact_protocol_settings import EdifactProtocolSettings - from .edifact_one_way_agreement import EdifactOneWayAgreement - from .edifact_agreement_content import EdifactAgreementContent - from .agreement_content import AgreementContent - from .integration_account_agreement import IntegrationAccountAgreement - from .integration_account_agreement_filter import IntegrationAccountAgreementFilter - from .key_vault_key_reference_key_vault import KeyVaultKeyReferenceKeyVault - from .key_vault_key_reference import KeyVaultKeyReference - from .integration_account_certificate import IntegrationAccountCertificate - from .integration_account_session_filter import IntegrationAccountSessionFilter - from .integration_account_session import IntegrationAccountSession - from .operation_display import OperationDisplay - from .operation import Operation - from .key_vault_reference import KeyVaultReference - from .list_key_vault_keys_definition import ListKeyVaultKeysDefinition - from .key_vault_key_attributes import KeyVaultKeyAttributes - from .key_vault_key import KeyVaultKey - from .tracking_event_error_info import TrackingEventErrorInfo - from .tracking_event import TrackingEvent - from .tracking_events_definition import TrackingEventsDefinition - from .set_trigger_state_action_definition import SetTriggerStateActionDefinition - from .expression_root import ExpressionRoot - from .azure_resource_error_info import AzureResourceErrorInfo - from .expression import Expression - from .error_info import ErrorInfo - from .repetition_index import RepetitionIndex - from .workflow_run_action_repetition_definition import WorkflowRunActionRepetitionDefinition - from .workflow_run_action_repetition_definition_collection import WorkflowRunActionRepetitionDefinitionCollection - from .operation_result import OperationResult - from .run_action_correlation import RunActionCorrelation - from .operation_result_properties import OperationResultProperties - from .run_correlation import RunCorrelation - from .json_schema import JsonSchema - from .assembly_properties import AssemblyProperties - from .assembly_definition import AssemblyDefinition - from .artifact_content_properties_definition import ArtifactContentPropertiesDefinition - from .artifact_properties import ArtifactProperties - from .batch_release_criteria import BatchReleaseCriteria - from .batch_configuration_properties import BatchConfigurationProperties - from .batch_configuration import BatchConfiguration - from .request import Request - from .response import Response - from .request_history_properties import RequestHistoryProperties - from .request_history import RequestHistory -from .workflow_paged import WorkflowPaged -from .workflow_version_paged import WorkflowVersionPaged -from .workflow_trigger_paged import WorkflowTriggerPaged -from .workflow_trigger_history_paged import WorkflowTriggerHistoryPaged -from .workflow_run_paged import WorkflowRunPaged -from .workflow_run_action_paged import WorkflowRunActionPaged -from .expression_root_paged import ExpressionRootPaged -from .workflow_run_action_repetition_definition_paged import WorkflowRunActionRepetitionDefinitionPaged -from .request_history_paged import RequestHistoryPaged -from .integration_account_paged import IntegrationAccountPaged -from .key_vault_key_paged import KeyVaultKeyPaged -from .assembly_definition_paged import AssemblyDefinitionPaged -from .batch_configuration_paged import BatchConfigurationPaged -from .integration_account_schema_paged import IntegrationAccountSchemaPaged -from .integration_account_map_paged import IntegrationAccountMapPaged -from .integration_account_partner_paged import IntegrationAccountPartnerPaged -from .integration_account_agreement_paged import IntegrationAccountAgreementPaged -from .integration_account_certificate_paged import IntegrationAccountCertificatePaged -from .integration_account_session_paged import IntegrationAccountSessionPaged -from .operation_paged import OperationPaged -from .logic_management_client_enums import ( + from ._models import AgreementContent + from ._models import ApiDeploymentParameterMetadata + from ._models import ApiDeploymentParameterMetadataSet + from ._models import ApiOperation + from ._models import ApiOperationAnnotation + from ._models import ApiOperationPropertiesDefinition + from ._models import ApiReference + from ._models import ApiResourceBackendService + from ._models import ApiResourceDefinitions + from ._models import ApiResourceGeneralInformation + from ._models import ApiResourceMetadata + from ._models import ApiResourcePolicies + from ._models import ApiResourceProperties + from ._models import ArtifactContentPropertiesDefinition + from ._models import ArtifactProperties + from ._models import AS2AcknowledgementConnectionSettings + from ._models import AS2AgreementContent + from ._models import AS2EnvelopeSettings + from ._models import AS2ErrorSettings + from ._models import AS2MdnSettings + from ._models import AS2MessageConnectionSettings + from ._models import AS2OneWayAgreement + from ._models import AS2ProtocolSettings + from ._models import AS2SecuritySettings + from ._models import AS2ValidationSettings + from ._models import AssemblyDefinition + from ._models import AssemblyProperties + from ._models import AzureResourceErrorInfo + from ._models import B2BPartnerContent + from ._models import BatchConfiguration + from ._models import BatchConfigurationProperties + from ._models import BatchReleaseCriteria + from ._models import BusinessIdentity + from ._models import CallbackUrl + from ._models import ContentHash + from ._models import ContentLink + from ._models import Correlation + from ._models import EdifactAcknowledgementSettings + from ._models import EdifactAgreementContent + from ._models import EdifactDelimiterOverride + from ._models import EdifactEnvelopeOverride + from ._models import EdifactEnvelopeSettings + from ._models import EdifactFramingSettings + from ._models import EdifactMessageFilter + from ._models import EdifactMessageIdentifier + from ._models import EdifactOneWayAgreement + from ._models import EdifactProcessingSettings + from ._models import EdifactProtocolSettings + from ._models import EdifactSchemaReference + from ._models import EdifactValidationOverride + from ._models import EdifactValidationSettings + from ._models import ErrorInfo + from ._models import ErrorProperties + from ._models import ErrorResponse, ErrorResponseException + from ._models import Expression + from ._models import ExpressionRoot + from ._models import ExtendedErrorInfo + from ._models import FlowAccessControlConfiguration + from ._models import FlowAccessControlConfigurationPolicy + from ._models import FlowEndpoints + from ._models import FlowEndpointsConfiguration + from ._models import GenerateUpgradedDefinitionParameters + from ._models import GetCallbackUrlParameters + from ._models import IntegrationAccount + from ._models import IntegrationAccountAgreement + from ._models import IntegrationAccountAgreementFilter + from ._models import IntegrationAccountCertificate + from ._models import IntegrationAccountMap + from ._models import IntegrationAccountMapFilter + from ._models import IntegrationAccountMapPropertiesParametersSchema + from ._models import IntegrationAccountPartner + from ._models import IntegrationAccountPartnerFilter + from ._models import IntegrationAccountSchema + from ._models import IntegrationAccountSchemaFilter + from ._models import IntegrationAccountSession + from ._models import IntegrationAccountSessionFilter + from ._models import IntegrationAccountSku + from ._models import IntegrationServiceEnvironmenEncryptionConfiguration + from ._models import IntegrationServiceEnvironmenEncryptionKeyReference + from ._models import IntegrationServiceEnvironment + from ._models import IntegrationServiceEnvironmentAccessEndpoint + from ._models import IntegrationServiceEnvironmentNetworkDependency + from ._models import IntegrationServiceEnvironmentNetworkDependencyHealth + from ._models import IntegrationServiceEnvironmentNetworkEndpoint + from ._models import IntegrationServiceEnvironmentProperties + from ._models import IntegrationServiceEnvironmentSku + from ._models import IntegrationServiceEnvironmentSkuCapacity + from ._models import IntegrationServiceEnvironmentSkuDefinition + from ._models import IntegrationServiceEnvironmentSkuDefinitionSku + from ._models import IntegrationServiceEnvironmentSubnetNetworkHealth + from ._models import IpAddress + from ._models import IpAddressRange + from ._models import JsonSchema + from ._models import KeyVaultKey + from ._models import KeyVaultKeyAttributes + from ._models import KeyVaultKeyReference + from ._models import KeyVaultKeyReferenceKeyVault + from ._models import KeyVaultReference + from ._models import ListKeyVaultKeysDefinition + from ._models import ManagedApi + from ._models import NetworkConfiguration + from ._models import OpenAuthenticationAccessPolicies + from ._models import OpenAuthenticationAccessPolicy + from ._models import OpenAuthenticationPolicyClaim + from ._models import Operation + from ._models import OperationDisplay + from ._models import OperationResult + from ._models import OperationResultProperties + from ._models import PartnerContent + from ._models import RecurrenceSchedule + from ._models import RecurrenceScheduleOccurrence + from ._models import RegenerateActionParameter + from ._models import RepetitionIndex + from ._models import Request + from ._models import RequestHistory + from ._models import RequestHistoryProperties + from ._models import Resource + from ._models import ResourceReference + from ._models import Response + from ._models import RetryHistory + from ._models import RunActionCorrelation + from ._models import RunCorrelation + from ._models import SetTriggerStateActionDefinition + from ._models import Sku + from ._models import SubResource + from ._models import SwaggerCustomDynamicList + from ._models import SwaggerCustomDynamicProperties + from ._models import SwaggerCustomDynamicSchema + from ._models import SwaggerCustomDynamicTree + from ._models import SwaggerCustomDynamicTreeCommand + from ._models import SwaggerCustomDynamicTreeParameter + from ._models import SwaggerCustomDynamicTreeSettings + from ._models import SwaggerExternalDocumentation + from ._models import SwaggerSchema + from ._models import SwaggerXml + from ._models import TrackingEvent + from ._models import TrackingEventErrorInfo + from ._models import TrackingEventsDefinition + from ._models import Workflow + from ._models import WorkflowFilter + from ._models import WorkflowOutputParameter + from ._models import WorkflowParameter + from ._models import WorkflowReference + from ._models import WorkflowRun + from ._models import WorkflowRunAction + from ._models import WorkflowRunActionFilter + from ._models import WorkflowRunActionRepetitionDefinition + from ._models import WorkflowRunFilter + from ._models import WorkflowRunTrigger + from ._models import WorkflowTrigger + from ._models import WorkflowTriggerCallbackUrl + from ._models import WorkflowTriggerFilter + from ._models import WorkflowTriggerHistory + from ._models import WorkflowTriggerHistoryFilter + from ._models import WorkflowTriggerListCallbackUrlQueries + from ._models import WorkflowTriggerRecurrence + from ._models import WorkflowTriggerReference + from ._models import WorkflowVersion + from ._models import WsdlService + from ._models import X12AcknowledgementSettings + from ._models import X12AgreementContent + from ._models import X12DelimiterOverrides + from ._models import X12EnvelopeOverride + from ._models import X12EnvelopeSettings + from ._models import X12FramingSettings + from ._models import X12MessageFilter + from ._models import X12MessageIdentifier + from ._models import X12OneWayAgreement + from ._models import X12ProcessingSettings + from ._models import X12ProtocolSettings + from ._models import X12SchemaReference + from ._models import X12SecuritySettings + from ._models import X12ValidationOverride + from ._models import X12ValidationSettings +from ._paged_models import ApiOperationPaged +from ._paged_models import AssemblyDefinitionPaged +from ._paged_models import BatchConfigurationPaged +from ._paged_models import ExpressionRootPaged +from ._paged_models import IntegrationAccountAgreementPaged +from ._paged_models import IntegrationAccountCertificatePaged +from ._paged_models import IntegrationAccountMapPaged +from ._paged_models import IntegrationAccountPaged +from ._paged_models import IntegrationAccountPartnerPaged +from ._paged_models import IntegrationAccountSchemaPaged +from ._paged_models import IntegrationAccountSessionPaged +from ._paged_models import IntegrationServiceEnvironmentPaged +from ._paged_models import IntegrationServiceEnvironmentSkuDefinitionPaged +from ._paged_models import KeyVaultKeyPaged +from ._paged_models import ManagedApiPaged +from ._paged_models import OperationPaged +from ._paged_models import RequestHistoryPaged +from ._paged_models import WorkflowPaged +from ._paged_models import WorkflowRunActionPaged +from ._paged_models import WorkflowRunActionRepetitionDefinitionPaged +from ._paged_models import WorkflowRunPaged +from ._paged_models import WorkflowTriggerHistoryPaged +from ._paged_models import WorkflowTriggerPaged +from ._paged_models import WorkflowVersionPaged +from ._logic_management_client_enums import ( WorkflowProvisioningState, WorkflowState, + OpenAuthenticationProviderType, SkuName, ParameterType, WorkflowTriggerProvisioningState, @@ -292,6 +395,20 @@ DaysOfWeek, DayOfWeek, KeyType, + ApiTier, + StatusAnnotation, + SwaggerSchemaType, + ApiType, + WsdlImportMethod, + ApiDeploymentParameterVisibility, + IntegrationServiceEnvironmentNetworkEndPointAccessibilityState, + IntegrationServiceEnvironmentNetworkDependencyCategoryType, + IntegrationServiceEnvironmentNetworkDependencyHealthState, + ErrorResponseCode, + AzureAsyncOperationState, + IntegrationServiceEnvironmentAccessEndpointType, + IntegrationServiceEnvironmentSkuName, + IntegrationServiceEnvironmentSkuScaleType, IntegrationAccountSkuName, SchemaType, MapType, @@ -315,131 +432,180 @@ ) __all__ = [ - 'Resource', - 'SubResource', - 'ResourceReference', - 'Sku', - 'WorkflowParameter', - 'Workflow', - 'WorkflowFilter', - 'WorkflowVersion', - 'RecurrenceScheduleOccurrence', - 'RecurrenceSchedule', - 'WorkflowTriggerRecurrence', - 'WorkflowTrigger', - 'WorkflowTriggerFilter', - 'WorkflowTriggerListCallbackUrlQueries', - 'WorkflowTriggerCallbackUrl', - 'Correlation', - 'ContentHash', - 'ContentLink', - 'WorkflowTriggerHistory', - 'WorkflowTriggerHistoryFilter', - 'WorkflowRunTrigger', - 'WorkflowOutputParameter', - 'WorkflowRun', - 'WorkflowRunFilter', - 'ErrorProperties', - 'ErrorResponse', 'ErrorResponseException', - 'RetryHistory', - 'WorkflowRunAction', - 'WorkflowRunActionFilter', - 'RegenerateActionParameter', - 'GenerateUpgradedDefinitionParameters', - 'IntegrationAccountSku', - 'IntegrationAccount', - 'GetCallbackUrlParameters', - 'CallbackUrl', - 'IntegrationAccountSchema', - 'IntegrationAccountSchemaFilter', - 'IntegrationAccountMapPropertiesParametersSchema', - 'IntegrationAccountMap', - 'IntegrationAccountMapFilter', - 'BusinessIdentity', - 'B2BPartnerContent', - 'PartnerContent', - 'IntegrationAccountPartner', - 'IntegrationAccountPartnerFilter', - 'AS2MessageConnectionSettings', + 'AgreementContent', + 'ApiDeploymentParameterMetadata', + 'ApiDeploymentParameterMetadataSet', + 'ApiOperation', + 'ApiOperationAnnotation', + 'ApiOperationPropertiesDefinition', + 'ApiReference', + 'ApiResourceBackendService', + 'ApiResourceDefinitions', + 'ApiResourceGeneralInformation', + 'ApiResourceMetadata', + 'ApiResourcePolicies', + 'ApiResourceProperties', + 'ArtifactContentPropertiesDefinition', + 'ArtifactProperties', 'AS2AcknowledgementConnectionSettings', - 'AS2MdnSettings', - 'AS2SecuritySettings', - 'AS2ValidationSettings', + 'AS2AgreementContent', 'AS2EnvelopeSettings', 'AS2ErrorSettings', - 'AS2ProtocolSettings', + 'AS2MdnSettings', + 'AS2MessageConnectionSettings', 'AS2OneWayAgreement', - 'AS2AgreementContent', - 'X12ValidationSettings', - 'X12FramingSettings', - 'X12EnvelopeSettings', - 'X12AcknowledgementSettings', - 'X12MessageFilter', - 'X12SecuritySettings', - 'X12ProcessingSettings', - 'X12EnvelopeOverride', - 'X12ValidationOverride', - 'X12MessageIdentifier', - 'X12SchemaReference', - 'X12DelimiterOverrides', - 'X12ProtocolSettings', - 'X12OneWayAgreement', - 'X12AgreementContent', - 'EdifactValidationSettings', - 'EdifactFramingSettings', - 'EdifactEnvelopeSettings', + 'AS2ProtocolSettings', + 'AS2SecuritySettings', + 'AS2ValidationSettings', + 'AssemblyDefinition', + 'AssemblyProperties', + 'AzureResourceErrorInfo', + 'B2BPartnerContent', + 'BatchConfiguration', + 'BatchConfigurationProperties', + 'BatchReleaseCriteria', + 'BusinessIdentity', + 'CallbackUrl', + 'ContentHash', + 'ContentLink', + 'Correlation', 'EdifactAcknowledgementSettings', - 'EdifactMessageFilter', - 'EdifactProcessingSettings', + 'EdifactAgreementContent', + 'EdifactDelimiterOverride', 'EdifactEnvelopeOverride', + 'EdifactEnvelopeSettings', + 'EdifactFramingSettings', + 'EdifactMessageFilter', 'EdifactMessageIdentifier', + 'EdifactOneWayAgreement', + 'EdifactProcessingSettings', + 'EdifactProtocolSettings', 'EdifactSchemaReference', 'EdifactValidationOverride', - 'EdifactDelimiterOverride', - 'EdifactProtocolSettings', - 'EdifactOneWayAgreement', - 'EdifactAgreementContent', - 'AgreementContent', + 'EdifactValidationSettings', + 'ErrorInfo', + 'ErrorProperties', + 'ErrorResponse', 'ErrorResponseException', + 'Expression', + 'ExpressionRoot', + 'ExtendedErrorInfo', + 'FlowAccessControlConfiguration', + 'FlowAccessControlConfigurationPolicy', + 'FlowEndpoints', + 'FlowEndpointsConfiguration', + 'GenerateUpgradedDefinitionParameters', + 'GetCallbackUrlParameters', + 'IntegrationAccount', 'IntegrationAccountAgreement', 'IntegrationAccountAgreementFilter', - 'KeyVaultKeyReferenceKeyVault', - 'KeyVaultKeyReference', 'IntegrationAccountCertificate', - 'IntegrationAccountSessionFilter', + 'IntegrationAccountMap', + 'IntegrationAccountMapFilter', + 'IntegrationAccountMapPropertiesParametersSchema', + 'IntegrationAccountPartner', + 'IntegrationAccountPartnerFilter', + 'IntegrationAccountSchema', + 'IntegrationAccountSchemaFilter', 'IntegrationAccountSession', - 'OperationDisplay', - 'Operation', + 'IntegrationAccountSessionFilter', + 'IntegrationAccountSku', + 'IntegrationServiceEnvironmenEncryptionConfiguration', + 'IntegrationServiceEnvironmenEncryptionKeyReference', + 'IntegrationServiceEnvironment', + 'IntegrationServiceEnvironmentAccessEndpoint', + 'IntegrationServiceEnvironmentNetworkDependency', + 'IntegrationServiceEnvironmentNetworkDependencyHealth', + 'IntegrationServiceEnvironmentNetworkEndpoint', + 'IntegrationServiceEnvironmentProperties', + 'IntegrationServiceEnvironmentSku', + 'IntegrationServiceEnvironmentSkuCapacity', + 'IntegrationServiceEnvironmentSkuDefinition', + 'IntegrationServiceEnvironmentSkuDefinitionSku', + 'IntegrationServiceEnvironmentSubnetNetworkHealth', + 'IpAddress', + 'IpAddressRange', + 'JsonSchema', + 'KeyVaultKey', + 'KeyVaultKeyAttributes', + 'KeyVaultKeyReference', + 'KeyVaultKeyReferenceKeyVault', 'KeyVaultReference', 'ListKeyVaultKeysDefinition', - 'KeyVaultKeyAttributes', - 'KeyVaultKey', - 'TrackingEventErrorInfo', - 'TrackingEvent', - 'TrackingEventsDefinition', - 'SetTriggerStateActionDefinition', - 'ExpressionRoot', - 'AzureResourceErrorInfo', - 'Expression', - 'ErrorInfo', - 'RepetitionIndex', - 'WorkflowRunActionRepetitionDefinition', - 'WorkflowRunActionRepetitionDefinitionCollection', + 'ManagedApi', + 'NetworkConfiguration', + 'OpenAuthenticationAccessPolicies', + 'OpenAuthenticationAccessPolicy', + 'OpenAuthenticationPolicyClaim', + 'Operation', + 'OperationDisplay', 'OperationResult', - 'RunActionCorrelation', 'OperationResultProperties', - 'RunCorrelation', - 'JsonSchema', - 'AssemblyProperties', - 'AssemblyDefinition', - 'ArtifactContentPropertiesDefinition', - 'ArtifactProperties', - 'BatchReleaseCriteria', - 'BatchConfigurationProperties', - 'BatchConfiguration', + 'PartnerContent', + 'RecurrenceSchedule', + 'RecurrenceScheduleOccurrence', + 'RegenerateActionParameter', + 'RepetitionIndex', 'Request', - 'Response', - 'RequestHistoryProperties', 'RequestHistory', + 'RequestHistoryProperties', + 'Resource', + 'ResourceReference', + 'Response', + 'RetryHistory', + 'RunActionCorrelation', + 'RunCorrelation', + 'SetTriggerStateActionDefinition', + 'Sku', + 'SubResource', + 'SwaggerCustomDynamicList', + 'SwaggerCustomDynamicProperties', + 'SwaggerCustomDynamicSchema', + 'SwaggerCustomDynamicTree', + 'SwaggerCustomDynamicTreeCommand', + 'SwaggerCustomDynamicTreeParameter', + 'SwaggerCustomDynamicTreeSettings', + 'SwaggerExternalDocumentation', + 'SwaggerSchema', + 'SwaggerXml', + 'TrackingEvent', + 'TrackingEventErrorInfo', + 'TrackingEventsDefinition', + 'Workflow', + 'WorkflowFilter', + 'WorkflowOutputParameter', + 'WorkflowParameter', + 'WorkflowReference', + 'WorkflowRun', + 'WorkflowRunAction', + 'WorkflowRunActionFilter', + 'WorkflowRunActionRepetitionDefinition', + 'WorkflowRunFilter', + 'WorkflowRunTrigger', + 'WorkflowTrigger', + 'WorkflowTriggerCallbackUrl', + 'WorkflowTriggerFilter', + 'WorkflowTriggerHistory', + 'WorkflowTriggerHistoryFilter', + 'WorkflowTriggerListCallbackUrlQueries', + 'WorkflowTriggerRecurrence', + 'WorkflowTriggerReference', + 'WorkflowVersion', + 'WsdlService', + 'X12AcknowledgementSettings', + 'X12AgreementContent', + 'X12DelimiterOverrides', + 'X12EnvelopeOverride', + 'X12EnvelopeSettings', + 'X12FramingSettings', + 'X12MessageFilter', + 'X12MessageIdentifier', + 'X12OneWayAgreement', + 'X12ProcessingSettings', + 'X12ProtocolSettings', + 'X12SchemaReference', + 'X12SecuritySettings', + 'X12ValidationOverride', + 'X12ValidationSettings', 'WorkflowPaged', 'WorkflowVersionPaged', 'WorkflowTriggerPaged', @@ -459,9 +625,14 @@ 'IntegrationAccountAgreementPaged', 'IntegrationAccountCertificatePaged', 'IntegrationAccountSessionPaged', + 'IntegrationServiceEnvironmentPaged', + 'IntegrationServiceEnvironmentSkuDefinitionPaged', + 'ManagedApiPaged', + 'ApiOperationPaged', 'OperationPaged', 'WorkflowProvisioningState', 'WorkflowState', + 'OpenAuthenticationProviderType', 'SkuName', 'ParameterType', 'WorkflowTriggerProvisioningState', @@ -470,6 +641,20 @@ 'DaysOfWeek', 'DayOfWeek', 'KeyType', + 'ApiTier', + 'StatusAnnotation', + 'SwaggerSchemaType', + 'ApiType', + 'WsdlImportMethod', + 'ApiDeploymentParameterVisibility', + 'IntegrationServiceEnvironmentNetworkEndPointAccessibilityState', + 'IntegrationServiceEnvironmentNetworkDependencyCategoryType', + 'IntegrationServiceEnvironmentNetworkDependencyHealthState', + 'ErrorResponseCode', + 'AzureAsyncOperationState', + 'IntegrationServiceEnvironmentAccessEndpointType', + 'IntegrationServiceEnvironmentSkuName', + 'IntegrationServiceEnvironmentSkuScaleType', 'IntegrationAccountSkuName', 'SchemaType', 'MapType', diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/logic_management_client_enums.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/_logic_management_client_enums.py similarity index 71% rename from sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/logic_management_client_enums.py rename to sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/_logic_management_client_enums.py index a87fce21bef8..7ec2c36f57d2 100644 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/logic_management_client_enums.py +++ b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/_logic_management_client_enums.py @@ -32,6 +32,10 @@ class WorkflowProvisioningState(str, Enum): unregistering = "Unregistering" unregistered = "Unregistered" completed = "Completed" + renewing = "Renewing" + pending = "Pending" + waiting = "Waiting" + in_progress = "InProgress" class WorkflowState(str, Enum): @@ -44,6 +48,11 @@ class WorkflowState(str, Enum): suspended = "Suspended" +class OpenAuthenticationProviderType(str, Enum): + + aad = "AAD" + + class SkuName(str, Enum): not_specified = "NotSpecified" @@ -147,6 +156,123 @@ class KeyType(str, Enum): secondary = "Secondary" +class ApiTier(str, Enum): + + not_specified = "NotSpecified" + enterprise = "Enterprise" + standard = "Standard" + premium = "Premium" + + +class StatusAnnotation(str, Enum): + + not_specified = "NotSpecified" + preview = "Preview" + production = "Production" + + +class SwaggerSchemaType(str, Enum): + + string = "String" + number = "Number" + integer = "Integer" + boolean = "Boolean" + array = "Array" + file = "File" + object_enum = "Object" + null = "Null" + + +class ApiType(str, Enum): + + not_specified = "NotSpecified" + rest = "Rest" + soap = "Soap" + + +class WsdlImportMethod(str, Enum): + + not_specified = "NotSpecified" + soap_to_rest = "SoapToRest" + soap_pass_through = "SoapPassThrough" + + +class ApiDeploymentParameterVisibility(str, Enum): + + not_specified = "NotSpecified" + default = "Default" + internal = "Internal" + + +class IntegrationServiceEnvironmentNetworkEndPointAccessibilityState(str, Enum): + + not_specified = "NotSpecified" + unknown = "Unknown" + available = "Available" + not_available = "NotAvailable" + + +class IntegrationServiceEnvironmentNetworkDependencyCategoryType(str, Enum): + + not_specified = "NotSpecified" + azure_storage = "AzureStorage" + azure_management = "AzureManagement" + azure_active_directory = "AzureActiveDirectory" + ssl_certificate_verification = "SSLCertificateVerification" + diagnostic_logs_and_metrics = "DiagnosticLogsAndMetrics" + integration_service_environment_connectors = "IntegrationServiceEnvironmentConnectors" + redis_cache = "RedisCache" + access_endpoints = "AccessEndpoints" + recovery_service = "RecoveryService" + sql = "SQL" + regional_service = "RegionalService" + + +class IntegrationServiceEnvironmentNetworkDependencyHealthState(str, Enum): + + not_specified = "NotSpecified" + healthy = "Healthy" + unhealthy = "Unhealthy" + unknown = "Unknown" + + +class ErrorResponseCode(str, Enum): + + not_specified = "NotSpecified" + integration_service_environment_not_found = "IntegrationServiceEnvironmentNotFound" + internal_server_error = "InternalServerError" + invalid_operation_id = "InvalidOperationId" + + +class AzureAsyncOperationState(str, Enum): + + failed = "Failed" + succeeded = "Succeeded" + pending = "Pending" + canceled = "Canceled" + + +class IntegrationServiceEnvironmentAccessEndpointType(str, Enum): + + not_specified = "NotSpecified" + external = "External" + internal = "Internal" + + +class IntegrationServiceEnvironmentSkuName(str, Enum): + + not_specified = "NotSpecified" + premium = "Premium" + developer = "Developer" + + +class IntegrationServiceEnvironmentSkuScaleType(str, Enum): + + manual = "Manual" + automatic = "Automatic" + none = "None" + + class IntegrationAccountSkuName(str, Enum): not_specified = "NotSpecified" diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/_models.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/_models.py new file mode 100644 index 000000000000..2a2d6e6c9214 --- /dev/null +++ b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/_models.py @@ -0,0 +1,7141 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model +from msrest.exceptions import HttpOperationError + + +class AgreementContent(Model): + """The integration account agreement content. + + :param a_s2: The AS2 agreement content. + :type a_s2: ~azure.mgmt.logic.models.AS2AgreementContent + :param x12: The X12 agreement content. + :type x12: ~azure.mgmt.logic.models.X12AgreementContent + :param edifact: The EDIFACT agreement content. + :type edifact: ~azure.mgmt.logic.models.EdifactAgreementContent + """ + + _attribute_map = { + 'a_s2': {'key': 'aS2', 'type': 'AS2AgreementContent'}, + 'x12': {'key': 'x12', 'type': 'X12AgreementContent'}, + 'edifact': {'key': 'edifact', 'type': 'EdifactAgreementContent'}, + } + + def __init__(self, **kwargs): + super(AgreementContent, self).__init__(**kwargs) + self.a_s2 = kwargs.get('a_s2', None) + self.x12 = kwargs.get('x12', None) + self.edifact = kwargs.get('edifact', None) + + +class ApiDeploymentParameterMetadata(Model): + """The API deployment parameter metadata. + + :param type: The type. + :type type: str + :param is_required: Indicates whether its required. + :type is_required: bool + :param display_name: The display name. + :type display_name: str + :param description: The description. + :type description: str + :param visibility: The visibility. Possible values include: + 'NotSpecified', 'Default', 'Internal' + :type visibility: str or + ~azure.mgmt.logic.models.ApiDeploymentParameterVisibility + """ + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + 'is_required': {'key': 'isRequired', 'type': 'bool'}, + 'display_name': {'key': 'displayName', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + 'visibility': {'key': 'visibility', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(ApiDeploymentParameterMetadata, self).__init__(**kwargs) + self.type = kwargs.get('type', None) + self.is_required = kwargs.get('is_required', None) + self.display_name = kwargs.get('display_name', None) + self.description = kwargs.get('description', None) + self.visibility = kwargs.get('visibility', None) + + +class ApiDeploymentParameterMetadataSet(Model): + """The API deployment parameters metadata. + + :param package_content_link: The package content link parameter. + :type package_content_link: + ~azure.mgmt.logic.models.ApiDeploymentParameterMetadata + :param redis_cache_connection_string: The package content link parameter. + :type redis_cache_connection_string: + ~azure.mgmt.logic.models.ApiDeploymentParameterMetadata + """ + + _attribute_map = { + 'package_content_link': {'key': 'packageContentLink', 'type': 'ApiDeploymentParameterMetadata'}, + 'redis_cache_connection_string': {'key': 'redisCacheConnectionString', 'type': 'ApiDeploymentParameterMetadata'}, + } + + def __init__(self, **kwargs): + super(ApiDeploymentParameterMetadataSet, self).__init__(**kwargs) + self.package_content_link = kwargs.get('package_content_link', None) + self.redis_cache_connection_string = kwargs.get('redis_cache_connection_string', None) + + +class Resource(Model): + """The base resource type. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar id: The resource id. + :vartype id: str + :ivar name: Gets the resource name. + :vartype name: str + :ivar type: Gets the resource type. + :vartype type: str + :param location: The resource location. + :type location: str + :param tags: The resource tags. + :type tags: dict[str, str] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + } + + def __init__(self, **kwargs): + super(Resource, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None + self.location = kwargs.get('location', None) + self.tags = kwargs.get('tags', None) + + +class ApiOperation(Resource): + """The api operation. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar id: The resource id. + :vartype id: str + :ivar name: Gets the resource name. + :vartype name: str + :ivar type: Gets the resource type. + :vartype type: str + :param location: The resource location. + :type location: str + :param tags: The resource tags. + :type tags: dict[str, str] + :param properties: + :type properties: + ~azure.mgmt.logic.models.ApiOperationPropertiesDefinition + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'properties': {'key': 'properties', 'type': 'ApiOperationPropertiesDefinition'}, + } + + def __init__(self, **kwargs): + super(ApiOperation, self).__init__(**kwargs) + self.properties = kwargs.get('properties', None) + + +class ApiOperationAnnotation(Model): + """The Api Operation Annotation. + + :param status: Possible values include: 'NotSpecified', 'Preview', + 'Production' + :type status: str or ~azure.mgmt.logic.models.StatusAnnotation + :param family: The family. + :type family: str + :param revision: The revision. + :type revision: int + """ + + _attribute_map = { + 'status': {'key': 'status', 'type': 'str'}, + 'family': {'key': 'family', 'type': 'str'}, + 'revision': {'key': 'revision', 'type': 'int'}, + } + + def __init__(self, **kwargs): + super(ApiOperationAnnotation, self).__init__(**kwargs) + self.status = kwargs.get('status', None) + self.family = kwargs.get('family', None) + self.revision = kwargs.get('revision', None) + + +class ApiOperationPropertiesDefinition(Model): + """The api operations properties. + + :param summary: The summary of the api operation. + :type summary: str + :param description: The description of the api operation. + :type description: str + :param visibility: The visibility of the api operation. + :type visibility: str + :param trigger: The trigger type of api operation. + :type trigger: str + :param trigger_hint: The trigger hint for the api operation. + :type trigger_hint: str + :param pageable: Indicates whether the api operation is pageable. + :type pageable: bool + :param annotation: The annotation of api operation. + :type annotation: ~azure.mgmt.logic.models.ApiOperationAnnotation + :param api: The api reference. + :type api: ~azure.mgmt.logic.models.ApiReference + :param inputs_definition: The operation inputs definition schema. + :type inputs_definition: ~azure.mgmt.logic.models.SwaggerSchema + :param responses_definition: The operation responses definition schemas. + :type responses_definition: dict[str, + ~azure.mgmt.logic.models.SwaggerSchema] + :param is_webhook: Indicates whether the API operation is webhook or not. + :type is_webhook: bool + :param is_notification: Indicates whether the API operation is + notification or not. + :type is_notification: bool + """ + + _attribute_map = { + 'summary': {'key': 'summary', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + 'visibility': {'key': 'visibility', 'type': 'str'}, + 'trigger': {'key': 'trigger', 'type': 'str'}, + 'trigger_hint': {'key': 'triggerHint', 'type': 'str'}, + 'pageable': {'key': 'pageable', 'type': 'bool'}, + 'annotation': {'key': 'annotation', 'type': 'ApiOperationAnnotation'}, + 'api': {'key': 'api', 'type': 'ApiReference'}, + 'inputs_definition': {'key': 'inputsDefinition', 'type': 'SwaggerSchema'}, + 'responses_definition': {'key': 'responsesDefinition', 'type': '{SwaggerSchema}'}, + 'is_webhook': {'key': 'isWebhook', 'type': 'bool'}, + 'is_notification': {'key': 'isNotification', 'type': 'bool'}, + } + + def __init__(self, **kwargs): + super(ApiOperationPropertiesDefinition, self).__init__(**kwargs) + self.summary = kwargs.get('summary', None) + self.description = kwargs.get('description', None) + self.visibility = kwargs.get('visibility', None) + self.trigger = kwargs.get('trigger', None) + self.trigger_hint = kwargs.get('trigger_hint', None) + self.pageable = kwargs.get('pageable', None) + self.annotation = kwargs.get('annotation', None) + self.api = kwargs.get('api', None) + self.inputs_definition = kwargs.get('inputs_definition', None) + self.responses_definition = kwargs.get('responses_definition', None) + self.is_webhook = kwargs.get('is_webhook', None) + self.is_notification = kwargs.get('is_notification', None) + + +class ResourceReference(Model): + """The resource reference. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :param id: The resource id. + :type id: str + :ivar name: Gets the resource name. + :vartype name: str + :ivar type: Gets the resource type. + :vartype type: str + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(ResourceReference, self).__init__(**kwargs) + self.id = kwargs.get('id', None) + self.name = None + self.type = None + + +class ApiReference(ResourceReference): + """The Api reference. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :param id: The resource id. + :type id: str + :ivar name: Gets the resource name. + :vartype name: str + :ivar type: Gets the resource type. + :vartype type: str + :param display_name: The display name of the api. + :type display_name: str + :param description: The description of the api. + :type description: str + :param icon_uri: The icon uri of the api. + :type icon_uri: str + :param swagger: The swagger of the api. + :type swagger: object + :param brand_color: The brand color of the api. + :type brand_color: str + :param category: The tier. Possible values include: 'NotSpecified', + 'Enterprise', 'Standard', 'Premium' + :type category: str or ~azure.mgmt.logic.models.ApiTier + :param integration_service_environment: The integration service + environment reference. + :type integration_service_environment: + ~azure.mgmt.logic.models.ResourceReference + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'display_name': {'key': 'displayName', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + 'icon_uri': {'key': 'iconUri', 'type': 'str'}, + 'swagger': {'key': 'swagger', 'type': 'object'}, + 'brand_color': {'key': 'brandColor', 'type': 'str'}, + 'category': {'key': 'category', 'type': 'str'}, + 'integration_service_environment': {'key': 'integrationServiceEnvironment', 'type': 'ResourceReference'}, + } + + def __init__(self, **kwargs): + super(ApiReference, self).__init__(**kwargs) + self.display_name = kwargs.get('display_name', None) + self.description = kwargs.get('description', None) + self.icon_uri = kwargs.get('icon_uri', None) + self.swagger = kwargs.get('swagger', None) + self.brand_color = kwargs.get('brand_color', None) + self.category = kwargs.get('category', None) + self.integration_service_environment = kwargs.get('integration_service_environment', None) + + +class ApiResourceBackendService(Model): + """The API backend service. + + :param service_url: The service URL. + :type service_url: str + """ + + _attribute_map = { + 'service_url': {'key': 'serviceUrl', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(ApiResourceBackendService, self).__init__(**kwargs) + self.service_url = kwargs.get('service_url', None) + + +class ApiResourceDefinitions(Model): + """The Api resource definition. + + :param original_swagger_url: The original swagger url. + :type original_swagger_url: str + :param modified_swagger_url: The modified swagger url. + :type modified_swagger_url: str + """ + + _attribute_map = { + 'original_swagger_url': {'key': 'originalSwaggerUrl', 'type': 'str'}, + 'modified_swagger_url': {'key': 'modifiedSwaggerUrl', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(ApiResourceDefinitions, self).__init__(**kwargs) + self.original_swagger_url = kwargs.get('original_swagger_url', None) + self.modified_swagger_url = kwargs.get('modified_swagger_url', None) + + +class ApiResourceGeneralInformation(Model): + """The API general information. + + :param icon_url: The icon url. + :type icon_url: str + :param display_name: The display name. + :type display_name: str + :param description: The description. + :type description: str + :param terms_of_use_url: The terms of use url. + :type terms_of_use_url: str + :param release_tag: The release tag. + :type release_tag: str + :param tier: The tier. Possible values include: 'NotSpecified', + 'Enterprise', 'Standard', 'Premium' + :type tier: str or ~azure.mgmt.logic.models.ApiTier + """ + + _attribute_map = { + 'icon_url': {'key': 'iconUrl', 'type': 'str'}, + 'display_name': {'key': 'displayName', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + 'terms_of_use_url': {'key': 'termsOfUseUrl', 'type': 'str'}, + 'release_tag': {'key': 'releaseTag', 'type': 'str'}, + 'tier': {'key': 'tier', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(ApiResourceGeneralInformation, self).__init__(**kwargs) + self.icon_url = kwargs.get('icon_url', None) + self.display_name = kwargs.get('display_name', None) + self.description = kwargs.get('description', None) + self.terms_of_use_url = kwargs.get('terms_of_use_url', None) + self.release_tag = kwargs.get('release_tag', None) + self.tier = kwargs.get('tier', None) + + +class ApiResourceMetadata(Model): + """The api resource metadata. + + :param source: The source. + :type source: str + :param brand_color: The brand color. + :type brand_color: str + :param hide_key: The hide key. + :type hide_key: str + :param tags: The tags. + :type tags: dict[str, str] + :param api_type: The api type. Possible values include: 'NotSpecified', + 'Rest', 'Soap' + :type api_type: str or ~azure.mgmt.logic.models.ApiType + :param wsdl_service: The WSDL service. + :type wsdl_service: ~azure.mgmt.logic.models.WsdlService + :param wsdl_import_method: The WSDL import method. Possible values + include: 'NotSpecified', 'SoapToRest', 'SoapPassThrough' + :type wsdl_import_method: str or ~azure.mgmt.logic.models.WsdlImportMethod + :param connection_type: The connection type. + :type connection_type: str + :param provisioning_state: The provisioning state. Possible values + include: 'NotSpecified', 'Accepted', 'Running', 'Ready', 'Creating', + 'Created', 'Deleting', 'Deleted', 'Canceled', 'Failed', 'Succeeded', + 'Moving', 'Updating', 'Registering', 'Registered', 'Unregistering', + 'Unregistered', 'Completed', 'Renewing', 'Pending', 'Waiting', + 'InProgress' + :type provisioning_state: str or + ~azure.mgmt.logic.models.WorkflowProvisioningState + :param deployment_parameters: The connector deployment parameters + metadata. + :type deployment_parameters: + ~azure.mgmt.logic.models.ApiDeploymentParameterMetadataSet + """ + + _attribute_map = { + 'source': {'key': 'source', 'type': 'str'}, + 'brand_color': {'key': 'brandColor', 'type': 'str'}, + 'hide_key': {'key': 'hideKey', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'api_type': {'key': 'ApiType', 'type': 'str'}, + 'wsdl_service': {'key': 'wsdlService', 'type': 'WsdlService'}, + 'wsdl_import_method': {'key': 'wsdlImportMethod', 'type': 'str'}, + 'connection_type': {'key': 'connectionType', 'type': 'str'}, + 'provisioning_state': {'key': 'provisioningState', 'type': 'str'}, + 'deployment_parameters': {'key': 'deploymentParameters', 'type': 'ApiDeploymentParameterMetadataSet'}, + } + + def __init__(self, **kwargs): + super(ApiResourceMetadata, self).__init__(**kwargs) + self.source = kwargs.get('source', None) + self.brand_color = kwargs.get('brand_color', None) + self.hide_key = kwargs.get('hide_key', None) + self.tags = kwargs.get('tags', None) + self.api_type = kwargs.get('api_type', None) + self.wsdl_service = kwargs.get('wsdl_service', None) + self.wsdl_import_method = kwargs.get('wsdl_import_method', None) + self.connection_type = kwargs.get('connection_type', None) + self.provisioning_state = kwargs.get('provisioning_state', None) + self.deployment_parameters = kwargs.get('deployment_parameters', None) + + +class ApiResourcePolicies(Model): + """The API resource policies. + + :param content: The API level only policies XML as embedded content. + :type content: str + :param content_link: The content link to the policies. + :type content_link: str + """ + + _attribute_map = { + 'content': {'key': 'content', 'type': 'str'}, + 'content_link': {'key': 'contentLink', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(ApiResourcePolicies, self).__init__(**kwargs) + self.content = kwargs.get('content', None) + self.content_link = kwargs.get('content_link', None) + + +class ApiResourceProperties(Model): + """The API resource properties. + + :param name: The name + :type name: str + :param connection_parameters: The connection parameters. + :type connection_parameters: dict[str, object] + :param metadata: The metadata. + :type metadata: ~azure.mgmt.logic.models.ApiResourceMetadata + :param runtime_urls: The runtime urls. + :type runtime_urls: list[str] + :param general_information: The api general information. + :type general_information: + ~azure.mgmt.logic.models.ApiResourceGeneralInformation + :param capabilities: The capabilities. + :type capabilities: list[str] + :param backend_service: The backend service. + :type backend_service: ~azure.mgmt.logic.models.ApiResourceBackendService + :param policies: The policies for the API. + :type policies: ~azure.mgmt.logic.models.ApiResourcePolicies + :param api_definition_url: The API definition. + :type api_definition_url: str + :param api_definitions: The api definitions. + :type api_definitions: ~azure.mgmt.logic.models.ApiResourceDefinitions + :param integration_service_environment: The integration service + environment reference. + :type integration_service_environment: + ~azure.mgmt.logic.models.ResourceReference + :param provisioning_state: The provisioning state. Possible values + include: 'NotSpecified', 'Accepted', 'Running', 'Ready', 'Creating', + 'Created', 'Deleting', 'Deleted', 'Canceled', 'Failed', 'Succeeded', + 'Moving', 'Updating', 'Registering', 'Registered', 'Unregistering', + 'Unregistered', 'Completed', 'Renewing', 'Pending', 'Waiting', + 'InProgress' + :type provisioning_state: str or + ~azure.mgmt.logic.models.WorkflowProvisioningState + :param category: The category. Possible values include: 'NotSpecified', + 'Enterprise', 'Standard', 'Premium' + :type category: str or ~azure.mgmt.logic.models.ApiTier + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'connection_parameters': {'key': 'connectionParameters', 'type': '{object}'}, + 'metadata': {'key': 'metadata', 'type': 'ApiResourceMetadata'}, + 'runtime_urls': {'key': 'runtimeUrls', 'type': '[str]'}, + 'general_information': {'key': 'generalInformation', 'type': 'ApiResourceGeneralInformation'}, + 'capabilities': {'key': 'capabilities', 'type': '[str]'}, + 'backend_service': {'key': 'backendService', 'type': 'ApiResourceBackendService'}, + 'policies': {'key': 'policies', 'type': 'ApiResourcePolicies'}, + 'api_definition_url': {'key': 'apiDefinitionUrl', 'type': 'str'}, + 'api_definitions': {'key': 'apiDefinitions', 'type': 'ApiResourceDefinitions'}, + 'integration_service_environment': {'key': 'integrationServiceEnvironment', 'type': 'ResourceReference'}, + 'provisioning_state': {'key': 'provisioningState', 'type': 'str'}, + 'category': {'key': 'category', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(ApiResourceProperties, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.connection_parameters = kwargs.get('connection_parameters', None) + self.metadata = kwargs.get('metadata', None) + self.runtime_urls = kwargs.get('runtime_urls', None) + self.general_information = kwargs.get('general_information', None) + self.capabilities = kwargs.get('capabilities', None) + self.backend_service = kwargs.get('backend_service', None) + self.policies = kwargs.get('policies', None) + self.api_definition_url = kwargs.get('api_definition_url', None) + self.api_definitions = kwargs.get('api_definitions', None) + self.integration_service_environment = kwargs.get('integration_service_environment', None) + self.provisioning_state = kwargs.get('provisioning_state', None) + self.category = kwargs.get('category', None) + + +class ArtifactProperties(Model): + """The artifact properties definition. + + :param created_time: The artifact creation time. + :type created_time: datetime + :param changed_time: The artifact changed time. + :type changed_time: datetime + :param metadata: + :type metadata: object + """ + + _attribute_map = { + 'created_time': {'key': 'createdTime', 'type': 'iso-8601'}, + 'changed_time': {'key': 'changedTime', 'type': 'iso-8601'}, + 'metadata': {'key': 'metadata', 'type': 'object'}, + } + + def __init__(self, **kwargs): + super(ArtifactProperties, self).__init__(**kwargs) + self.created_time = kwargs.get('created_time', None) + self.changed_time = kwargs.get('changed_time', None) + self.metadata = kwargs.get('metadata', None) + + +class ArtifactContentPropertiesDefinition(ArtifactProperties): + """The artifact content properties definition. + + :param created_time: The artifact creation time. + :type created_time: datetime + :param changed_time: The artifact changed time. + :type changed_time: datetime + :param metadata: + :type metadata: object + :param content: + :type content: object + :param content_type: The content type. + :type content_type: str + :param content_link: The content link. + :type content_link: ~azure.mgmt.logic.models.ContentLink + """ + + _attribute_map = { + 'created_time': {'key': 'createdTime', 'type': 'iso-8601'}, + 'changed_time': {'key': 'changedTime', 'type': 'iso-8601'}, + 'metadata': {'key': 'metadata', 'type': 'object'}, + 'content': {'key': 'content', 'type': 'object'}, + 'content_type': {'key': 'contentType', 'type': 'str'}, + 'content_link': {'key': 'contentLink', 'type': 'ContentLink'}, + } + + def __init__(self, **kwargs): + super(ArtifactContentPropertiesDefinition, self).__init__(**kwargs) + self.content = kwargs.get('content', None) + self.content_type = kwargs.get('content_type', None) + self.content_link = kwargs.get('content_link', None) + + +class AS2AcknowledgementConnectionSettings(Model): + """The AS2 agreement acknowledgement connection settings. + + All required parameters must be populated in order to send to Azure. + + :param ignore_certificate_name_mismatch: Required. Indicates whether to + ignore mismatch in certificate name. + :type ignore_certificate_name_mismatch: bool + :param support_http_status_code_continue: Required. Indicates whether to + support HTTP status code 'CONTINUE'. + :type support_http_status_code_continue: bool + :param keep_http_connection_alive: Required. Indicates whether to keep the + connection alive. + :type keep_http_connection_alive: bool + :param unfold_http_headers: Required. Indicates whether to unfold the HTTP + headers. + :type unfold_http_headers: bool + """ + + _validation = { + 'ignore_certificate_name_mismatch': {'required': True}, + 'support_http_status_code_continue': {'required': True}, + 'keep_http_connection_alive': {'required': True}, + 'unfold_http_headers': {'required': True}, + } + + _attribute_map = { + 'ignore_certificate_name_mismatch': {'key': 'ignoreCertificateNameMismatch', 'type': 'bool'}, + 'support_http_status_code_continue': {'key': 'supportHttpStatusCodeContinue', 'type': 'bool'}, + 'keep_http_connection_alive': {'key': 'keepHttpConnectionAlive', 'type': 'bool'}, + 'unfold_http_headers': {'key': 'unfoldHttpHeaders', 'type': 'bool'}, + } + + def __init__(self, **kwargs): + super(AS2AcknowledgementConnectionSettings, self).__init__(**kwargs) + self.ignore_certificate_name_mismatch = kwargs.get('ignore_certificate_name_mismatch', None) + self.support_http_status_code_continue = kwargs.get('support_http_status_code_continue', None) + self.keep_http_connection_alive = kwargs.get('keep_http_connection_alive', None) + self.unfold_http_headers = kwargs.get('unfold_http_headers', None) + + +class AS2AgreementContent(Model): + """The integration account AS2 agreement content. + + All required parameters must be populated in order to send to Azure. + + :param receive_agreement: Required. The AS2 one-way receive agreement. + :type receive_agreement: ~azure.mgmt.logic.models.AS2OneWayAgreement + :param send_agreement: Required. The AS2 one-way send agreement. + :type send_agreement: ~azure.mgmt.logic.models.AS2OneWayAgreement + """ + + _validation = { + 'receive_agreement': {'required': True}, + 'send_agreement': {'required': True}, + } + + _attribute_map = { + 'receive_agreement': {'key': 'receiveAgreement', 'type': 'AS2OneWayAgreement'}, + 'send_agreement': {'key': 'sendAgreement', 'type': 'AS2OneWayAgreement'}, + } + + def __init__(self, **kwargs): + super(AS2AgreementContent, self).__init__(**kwargs) + self.receive_agreement = kwargs.get('receive_agreement', None) + self.send_agreement = kwargs.get('send_agreement', None) + + +class AS2EnvelopeSettings(Model): + """The AS2 agreement envelope settings. + + All required parameters must be populated in order to send to Azure. + + :param message_content_type: Required. The message content type. + :type message_content_type: str + :param transmit_file_name_in_mime_header: Required. The value indicating + whether to transmit file name in mime header. + :type transmit_file_name_in_mime_header: bool + :param file_name_template: Required. The template for file name. + :type file_name_template: str + :param suspend_message_on_file_name_generation_error: Required. The value + indicating whether to suspend message on file name generation error. + :type suspend_message_on_file_name_generation_error: bool + :param autogenerate_file_name: Required. The value indicating whether to + auto generate file name. + :type autogenerate_file_name: bool + """ + + _validation = { + 'message_content_type': {'required': True}, + 'transmit_file_name_in_mime_header': {'required': True}, + 'file_name_template': {'required': True}, + 'suspend_message_on_file_name_generation_error': {'required': True}, + 'autogenerate_file_name': {'required': True}, + } + + _attribute_map = { + 'message_content_type': {'key': 'messageContentType', 'type': 'str'}, + 'transmit_file_name_in_mime_header': {'key': 'transmitFileNameInMimeHeader', 'type': 'bool'}, + 'file_name_template': {'key': 'fileNameTemplate', 'type': 'str'}, + 'suspend_message_on_file_name_generation_error': {'key': 'suspendMessageOnFileNameGenerationError', 'type': 'bool'}, + 'autogenerate_file_name': {'key': 'autogenerateFileName', 'type': 'bool'}, + } + + def __init__(self, **kwargs): + super(AS2EnvelopeSettings, self).__init__(**kwargs) + self.message_content_type = kwargs.get('message_content_type', None) + self.transmit_file_name_in_mime_header = kwargs.get('transmit_file_name_in_mime_header', None) + self.file_name_template = kwargs.get('file_name_template', None) + self.suspend_message_on_file_name_generation_error = kwargs.get('suspend_message_on_file_name_generation_error', None) + self.autogenerate_file_name = kwargs.get('autogenerate_file_name', None) + + +class AS2ErrorSettings(Model): + """The AS2 agreement error settings. + + All required parameters must be populated in order to send to Azure. + + :param suspend_duplicate_message: Required. The value indicating whether + to suspend duplicate message. + :type suspend_duplicate_message: bool + :param resend_if_mdn_not_received: Required. The value indicating whether + to resend message If MDN is not received. + :type resend_if_mdn_not_received: bool + """ + + _validation = { + 'suspend_duplicate_message': {'required': True}, + 'resend_if_mdn_not_received': {'required': True}, + } + + _attribute_map = { + 'suspend_duplicate_message': {'key': 'suspendDuplicateMessage', 'type': 'bool'}, + 'resend_if_mdn_not_received': {'key': 'resendIfMDNNotReceived', 'type': 'bool'}, + } + + def __init__(self, **kwargs): + super(AS2ErrorSettings, self).__init__(**kwargs) + self.suspend_duplicate_message = kwargs.get('suspend_duplicate_message', None) + self.resend_if_mdn_not_received = kwargs.get('resend_if_mdn_not_received', None) + + +class AS2MdnSettings(Model): + """The AS2 agreement mdn settings. + + All required parameters must be populated in order to send to Azure. + + :param need_mdn: Required. The value indicating whether to send or request + a MDN. + :type need_mdn: bool + :param sign_mdn: Required. The value indicating whether the MDN needs to + be signed or not. + :type sign_mdn: bool + :param send_mdn_asynchronously: Required. The value indicating whether to + send the asynchronous MDN. + :type send_mdn_asynchronously: bool + :param receipt_delivery_url: The receipt delivery URL. + :type receipt_delivery_url: str + :param disposition_notification_to: The disposition notification to header + value. + :type disposition_notification_to: str + :param sign_outbound_mdn_if_optional: Required. The value indicating + whether to sign the outbound MDN if optional. + :type sign_outbound_mdn_if_optional: bool + :param mdn_text: The MDN text. + :type mdn_text: str + :param send_inbound_mdn_to_message_box: Required. The value indicating + whether to send inbound MDN to message box. + :type send_inbound_mdn_to_message_box: bool + :param mic_hashing_algorithm: Required. The signing or hashing algorithm. + Possible values include: 'NotSpecified', 'None', 'MD5', 'SHA1', 'SHA2256', + 'SHA2384', 'SHA2512' + :type mic_hashing_algorithm: str or + ~azure.mgmt.logic.models.HashingAlgorithm + """ + + _validation = { + 'need_mdn': {'required': True}, + 'sign_mdn': {'required': True}, + 'send_mdn_asynchronously': {'required': True}, + 'sign_outbound_mdn_if_optional': {'required': True}, + 'send_inbound_mdn_to_message_box': {'required': True}, + 'mic_hashing_algorithm': {'required': True}, + } + + _attribute_map = { + 'need_mdn': {'key': 'needMDN', 'type': 'bool'}, + 'sign_mdn': {'key': 'signMDN', 'type': 'bool'}, + 'send_mdn_asynchronously': {'key': 'sendMDNAsynchronously', 'type': 'bool'}, + 'receipt_delivery_url': {'key': 'receiptDeliveryUrl', 'type': 'str'}, + 'disposition_notification_to': {'key': 'dispositionNotificationTo', 'type': 'str'}, + 'sign_outbound_mdn_if_optional': {'key': 'signOutboundMDNIfOptional', 'type': 'bool'}, + 'mdn_text': {'key': 'mdnText', 'type': 'str'}, + 'send_inbound_mdn_to_message_box': {'key': 'sendInboundMDNToMessageBox', 'type': 'bool'}, + 'mic_hashing_algorithm': {'key': 'micHashingAlgorithm', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(AS2MdnSettings, self).__init__(**kwargs) + self.need_mdn = kwargs.get('need_mdn', None) + self.sign_mdn = kwargs.get('sign_mdn', None) + self.send_mdn_asynchronously = kwargs.get('send_mdn_asynchronously', None) + self.receipt_delivery_url = kwargs.get('receipt_delivery_url', None) + self.disposition_notification_to = kwargs.get('disposition_notification_to', None) + self.sign_outbound_mdn_if_optional = kwargs.get('sign_outbound_mdn_if_optional', None) + self.mdn_text = kwargs.get('mdn_text', None) + self.send_inbound_mdn_to_message_box = kwargs.get('send_inbound_mdn_to_message_box', None) + self.mic_hashing_algorithm = kwargs.get('mic_hashing_algorithm', None) + + +class AS2MessageConnectionSettings(Model): + """The AS2 agreement message connection settings. + + All required parameters must be populated in order to send to Azure. + + :param ignore_certificate_name_mismatch: Required. The value indicating + whether to ignore mismatch in certificate name. + :type ignore_certificate_name_mismatch: bool + :param support_http_status_code_continue: Required. The value indicating + whether to support HTTP status code 'CONTINUE'. + :type support_http_status_code_continue: bool + :param keep_http_connection_alive: Required. The value indicating whether + to keep the connection alive. + :type keep_http_connection_alive: bool + :param unfold_http_headers: Required. The value indicating whether to + unfold the HTTP headers. + :type unfold_http_headers: bool + """ + + _validation = { + 'ignore_certificate_name_mismatch': {'required': True}, + 'support_http_status_code_continue': {'required': True}, + 'keep_http_connection_alive': {'required': True}, + 'unfold_http_headers': {'required': True}, + } + + _attribute_map = { + 'ignore_certificate_name_mismatch': {'key': 'ignoreCertificateNameMismatch', 'type': 'bool'}, + 'support_http_status_code_continue': {'key': 'supportHttpStatusCodeContinue', 'type': 'bool'}, + 'keep_http_connection_alive': {'key': 'keepHttpConnectionAlive', 'type': 'bool'}, + 'unfold_http_headers': {'key': 'unfoldHttpHeaders', 'type': 'bool'}, + } + + def __init__(self, **kwargs): + super(AS2MessageConnectionSettings, self).__init__(**kwargs) + self.ignore_certificate_name_mismatch = kwargs.get('ignore_certificate_name_mismatch', None) + self.support_http_status_code_continue = kwargs.get('support_http_status_code_continue', None) + self.keep_http_connection_alive = kwargs.get('keep_http_connection_alive', None) + self.unfold_http_headers = kwargs.get('unfold_http_headers', None) + + +class AS2OneWayAgreement(Model): + """The integration account AS2 one-way agreement. + + All required parameters must be populated in order to send to Azure. + + :param sender_business_identity: Required. The sender business identity + :type sender_business_identity: ~azure.mgmt.logic.models.BusinessIdentity + :param receiver_business_identity: Required. The receiver business + identity + :type receiver_business_identity: + ~azure.mgmt.logic.models.BusinessIdentity + :param protocol_settings: Required. The AS2 protocol settings. + :type protocol_settings: ~azure.mgmt.logic.models.AS2ProtocolSettings + """ + + _validation = { + 'sender_business_identity': {'required': True}, + 'receiver_business_identity': {'required': True}, + 'protocol_settings': {'required': True}, + } + + _attribute_map = { + 'sender_business_identity': {'key': 'senderBusinessIdentity', 'type': 'BusinessIdentity'}, + 'receiver_business_identity': {'key': 'receiverBusinessIdentity', 'type': 'BusinessIdentity'}, + 'protocol_settings': {'key': 'protocolSettings', 'type': 'AS2ProtocolSettings'}, + } + + def __init__(self, **kwargs): + super(AS2OneWayAgreement, self).__init__(**kwargs) + self.sender_business_identity = kwargs.get('sender_business_identity', None) + self.receiver_business_identity = kwargs.get('receiver_business_identity', None) + self.protocol_settings = kwargs.get('protocol_settings', None) + + +class AS2ProtocolSettings(Model): + """The AS2 agreement protocol settings. + + All required parameters must be populated in order to send to Azure. + + :param message_connection_settings: Required. The message connection + settings. + :type message_connection_settings: + ~azure.mgmt.logic.models.AS2MessageConnectionSettings + :param acknowledgement_connection_settings: Required. The acknowledgement + connection settings. + :type acknowledgement_connection_settings: + ~azure.mgmt.logic.models.AS2AcknowledgementConnectionSettings + :param mdn_settings: Required. The MDN settings. + :type mdn_settings: ~azure.mgmt.logic.models.AS2MdnSettings + :param security_settings: Required. The security settings. + :type security_settings: ~azure.mgmt.logic.models.AS2SecuritySettings + :param validation_settings: Required. The validation settings. + :type validation_settings: ~azure.mgmt.logic.models.AS2ValidationSettings + :param envelope_settings: Required. The envelope settings. + :type envelope_settings: ~azure.mgmt.logic.models.AS2EnvelopeSettings + :param error_settings: Required. The error settings. + :type error_settings: ~azure.mgmt.logic.models.AS2ErrorSettings + """ + + _validation = { + 'message_connection_settings': {'required': True}, + 'acknowledgement_connection_settings': {'required': True}, + 'mdn_settings': {'required': True}, + 'security_settings': {'required': True}, + 'validation_settings': {'required': True}, + 'envelope_settings': {'required': True}, + 'error_settings': {'required': True}, + } + + _attribute_map = { + 'message_connection_settings': {'key': 'messageConnectionSettings', 'type': 'AS2MessageConnectionSettings'}, + 'acknowledgement_connection_settings': {'key': 'acknowledgementConnectionSettings', 'type': 'AS2AcknowledgementConnectionSettings'}, + 'mdn_settings': {'key': 'mdnSettings', 'type': 'AS2MdnSettings'}, + 'security_settings': {'key': 'securitySettings', 'type': 'AS2SecuritySettings'}, + 'validation_settings': {'key': 'validationSettings', 'type': 'AS2ValidationSettings'}, + 'envelope_settings': {'key': 'envelopeSettings', 'type': 'AS2EnvelopeSettings'}, + 'error_settings': {'key': 'errorSettings', 'type': 'AS2ErrorSettings'}, + } + + def __init__(self, **kwargs): + super(AS2ProtocolSettings, self).__init__(**kwargs) + self.message_connection_settings = kwargs.get('message_connection_settings', None) + self.acknowledgement_connection_settings = kwargs.get('acknowledgement_connection_settings', None) + self.mdn_settings = kwargs.get('mdn_settings', None) + self.security_settings = kwargs.get('security_settings', None) + self.validation_settings = kwargs.get('validation_settings', None) + self.envelope_settings = kwargs.get('envelope_settings', None) + self.error_settings = kwargs.get('error_settings', None) + + +class AS2SecuritySettings(Model): + """The AS2 agreement security settings. + + All required parameters must be populated in order to send to Azure. + + :param override_group_signing_certificate: Required. The value indicating + whether to send or request a MDN. + :type override_group_signing_certificate: bool + :param signing_certificate_name: The name of the signing certificate. + :type signing_certificate_name: str + :param encryption_certificate_name: The name of the encryption + certificate. + :type encryption_certificate_name: str + :param enable_nrr_for_inbound_encoded_messages: Required. The value + indicating whether to enable NRR for inbound encoded messages. + :type enable_nrr_for_inbound_encoded_messages: bool + :param enable_nrr_for_inbound_decoded_messages: Required. The value + indicating whether to enable NRR for inbound decoded messages. + :type enable_nrr_for_inbound_decoded_messages: bool + :param enable_nrr_for_outbound_mdn: Required. The value indicating whether + to enable NRR for outbound MDN. + :type enable_nrr_for_outbound_mdn: bool + :param enable_nrr_for_outbound_encoded_messages: Required. The value + indicating whether to enable NRR for outbound encoded messages. + :type enable_nrr_for_outbound_encoded_messages: bool + :param enable_nrr_for_outbound_decoded_messages: Required. The value + indicating whether to enable NRR for outbound decoded messages. + :type enable_nrr_for_outbound_decoded_messages: bool + :param enable_nrr_for_inbound_mdn: Required. The value indicating whether + to enable NRR for inbound MDN. + :type enable_nrr_for_inbound_mdn: bool + :param sha2_algorithm_format: The Sha2 algorithm format. Valid values are + Sha2, ShaHashSize, ShaHyphenHashSize, Sha2UnderscoreHashSize. + :type sha2_algorithm_format: str + """ + + _validation = { + 'override_group_signing_certificate': {'required': True}, + 'enable_nrr_for_inbound_encoded_messages': {'required': True}, + 'enable_nrr_for_inbound_decoded_messages': {'required': True}, + 'enable_nrr_for_outbound_mdn': {'required': True}, + 'enable_nrr_for_outbound_encoded_messages': {'required': True}, + 'enable_nrr_for_outbound_decoded_messages': {'required': True}, + 'enable_nrr_for_inbound_mdn': {'required': True}, + } + + _attribute_map = { + 'override_group_signing_certificate': {'key': 'overrideGroupSigningCertificate', 'type': 'bool'}, + 'signing_certificate_name': {'key': 'signingCertificateName', 'type': 'str'}, + 'encryption_certificate_name': {'key': 'encryptionCertificateName', 'type': 'str'}, + 'enable_nrr_for_inbound_encoded_messages': {'key': 'enableNRRForInboundEncodedMessages', 'type': 'bool'}, + 'enable_nrr_for_inbound_decoded_messages': {'key': 'enableNRRForInboundDecodedMessages', 'type': 'bool'}, + 'enable_nrr_for_outbound_mdn': {'key': 'enableNRRForOutboundMDN', 'type': 'bool'}, + 'enable_nrr_for_outbound_encoded_messages': {'key': 'enableNRRForOutboundEncodedMessages', 'type': 'bool'}, + 'enable_nrr_for_outbound_decoded_messages': {'key': 'enableNRRForOutboundDecodedMessages', 'type': 'bool'}, + 'enable_nrr_for_inbound_mdn': {'key': 'enableNRRForInboundMDN', 'type': 'bool'}, + 'sha2_algorithm_format': {'key': 'sha2AlgorithmFormat', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(AS2SecuritySettings, self).__init__(**kwargs) + self.override_group_signing_certificate = kwargs.get('override_group_signing_certificate', None) + self.signing_certificate_name = kwargs.get('signing_certificate_name', None) + self.encryption_certificate_name = kwargs.get('encryption_certificate_name', None) + self.enable_nrr_for_inbound_encoded_messages = kwargs.get('enable_nrr_for_inbound_encoded_messages', None) + self.enable_nrr_for_inbound_decoded_messages = kwargs.get('enable_nrr_for_inbound_decoded_messages', None) + self.enable_nrr_for_outbound_mdn = kwargs.get('enable_nrr_for_outbound_mdn', None) + self.enable_nrr_for_outbound_encoded_messages = kwargs.get('enable_nrr_for_outbound_encoded_messages', None) + self.enable_nrr_for_outbound_decoded_messages = kwargs.get('enable_nrr_for_outbound_decoded_messages', None) + self.enable_nrr_for_inbound_mdn = kwargs.get('enable_nrr_for_inbound_mdn', None) + self.sha2_algorithm_format = kwargs.get('sha2_algorithm_format', None) + + +class AS2ValidationSettings(Model): + """The AS2 agreement validation settings. + + All required parameters must be populated in order to send to Azure. + + :param override_message_properties: Required. The value indicating whether + to override incoming message properties with those in agreement. + :type override_message_properties: bool + :param encrypt_message: Required. The value indicating whether the message + has to be encrypted. + :type encrypt_message: bool + :param sign_message: Required. The value indicating whether the message + has to be signed. + :type sign_message: bool + :param compress_message: Required. The value indicating whether the + message has to be compressed. + :type compress_message: bool + :param check_duplicate_message: Required. The value indicating whether to + check for duplicate message. + :type check_duplicate_message: bool + :param interchange_duplicates_validity_days: Required. The number of days + to look back for duplicate interchange. + :type interchange_duplicates_validity_days: int + :param check_certificate_revocation_list_on_send: Required. The value + indicating whether to check for certificate revocation list on send. + :type check_certificate_revocation_list_on_send: bool + :param check_certificate_revocation_list_on_receive: Required. The value + indicating whether to check for certificate revocation list on receive. + :type check_certificate_revocation_list_on_receive: bool + :param encryption_algorithm: Required. The encryption algorithm. Possible + values include: 'NotSpecified', 'None', 'DES3', 'RC2', 'AES128', 'AES192', + 'AES256' + :type encryption_algorithm: str or + ~azure.mgmt.logic.models.EncryptionAlgorithm + :param signing_algorithm: The signing algorithm. Possible values include: + 'NotSpecified', 'Default', 'SHA1', 'SHA2256', 'SHA2384', 'SHA2512' + :type signing_algorithm: str or ~azure.mgmt.logic.models.SigningAlgorithm + """ + + _validation = { + 'override_message_properties': {'required': True}, + 'encrypt_message': {'required': True}, + 'sign_message': {'required': True}, + 'compress_message': {'required': True}, + 'check_duplicate_message': {'required': True}, + 'interchange_duplicates_validity_days': {'required': True}, + 'check_certificate_revocation_list_on_send': {'required': True}, + 'check_certificate_revocation_list_on_receive': {'required': True}, + 'encryption_algorithm': {'required': True}, + } + + _attribute_map = { + 'override_message_properties': {'key': 'overrideMessageProperties', 'type': 'bool'}, + 'encrypt_message': {'key': 'encryptMessage', 'type': 'bool'}, + 'sign_message': {'key': 'signMessage', 'type': 'bool'}, + 'compress_message': {'key': 'compressMessage', 'type': 'bool'}, + 'check_duplicate_message': {'key': 'checkDuplicateMessage', 'type': 'bool'}, + 'interchange_duplicates_validity_days': {'key': 'interchangeDuplicatesValidityDays', 'type': 'int'}, + 'check_certificate_revocation_list_on_send': {'key': 'checkCertificateRevocationListOnSend', 'type': 'bool'}, + 'check_certificate_revocation_list_on_receive': {'key': 'checkCertificateRevocationListOnReceive', 'type': 'bool'}, + 'encryption_algorithm': {'key': 'encryptionAlgorithm', 'type': 'str'}, + 'signing_algorithm': {'key': 'signingAlgorithm', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(AS2ValidationSettings, self).__init__(**kwargs) + self.override_message_properties = kwargs.get('override_message_properties', None) + self.encrypt_message = kwargs.get('encrypt_message', None) + self.sign_message = kwargs.get('sign_message', None) + self.compress_message = kwargs.get('compress_message', None) + self.check_duplicate_message = kwargs.get('check_duplicate_message', None) + self.interchange_duplicates_validity_days = kwargs.get('interchange_duplicates_validity_days', None) + self.check_certificate_revocation_list_on_send = kwargs.get('check_certificate_revocation_list_on_send', None) + self.check_certificate_revocation_list_on_receive = kwargs.get('check_certificate_revocation_list_on_receive', None) + self.encryption_algorithm = kwargs.get('encryption_algorithm', None) + self.signing_algorithm = kwargs.get('signing_algorithm', None) + + +class AssemblyDefinition(Resource): + """The assembly definition. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The resource id. + :vartype id: str + :ivar name: Gets the resource name. + :vartype name: str + :ivar type: Gets the resource type. + :vartype type: str + :param location: The resource location. + :type location: str + :param tags: The resource tags. + :type tags: dict[str, str] + :param properties: Required. The assembly properties. + :type properties: ~azure.mgmt.logic.models.AssemblyProperties + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'properties': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'properties': {'key': 'properties', 'type': 'AssemblyProperties'}, + } + + def __init__(self, **kwargs): + super(AssemblyDefinition, self).__init__(**kwargs) + self.properties = kwargs.get('properties', None) + + +class AssemblyProperties(ArtifactContentPropertiesDefinition): + """The assembly properties definition. + + All required parameters must be populated in order to send to Azure. + + :param created_time: The artifact creation time. + :type created_time: datetime + :param changed_time: The artifact changed time. + :type changed_time: datetime + :param metadata: + :type metadata: object + :param content: + :type content: object + :param content_type: The content type. + :type content_type: str + :param content_link: The content link. + :type content_link: ~azure.mgmt.logic.models.ContentLink + :param assembly_name: Required. The assembly name. + :type assembly_name: str + :param assembly_version: The assembly version. + :type assembly_version: str + :param assembly_culture: The assembly culture. + :type assembly_culture: str + :param assembly_public_key_token: The assembly public key token. + :type assembly_public_key_token: str + """ + + _validation = { + 'assembly_name': {'required': True}, + } + + _attribute_map = { + 'created_time': {'key': 'createdTime', 'type': 'iso-8601'}, + 'changed_time': {'key': 'changedTime', 'type': 'iso-8601'}, + 'metadata': {'key': 'metadata', 'type': 'object'}, + 'content': {'key': 'content', 'type': 'object'}, + 'content_type': {'key': 'contentType', 'type': 'str'}, + 'content_link': {'key': 'contentLink', 'type': 'ContentLink'}, + 'assembly_name': {'key': 'assemblyName', 'type': 'str'}, + 'assembly_version': {'key': 'assemblyVersion', 'type': 'str'}, + 'assembly_culture': {'key': 'assemblyCulture', 'type': 'str'}, + 'assembly_public_key_token': {'key': 'assemblyPublicKeyToken', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(AssemblyProperties, self).__init__(**kwargs) + self.assembly_name = kwargs.get('assembly_name', None) + self.assembly_version = kwargs.get('assembly_version', None) + self.assembly_culture = kwargs.get('assembly_culture', None) + self.assembly_public_key_token = kwargs.get('assembly_public_key_token', None) + + +class ErrorInfo(Model): + """The error info. + + All required parameters must be populated in order to send to Azure. + + :param code: Required. The error code. + :type code: str + """ + + _validation = { + 'code': {'required': True}, + } + + _attribute_map = { + 'code': {'key': 'code', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(ErrorInfo, self).__init__(**kwargs) + self.code = kwargs.get('code', None) + + +class AzureResourceErrorInfo(ErrorInfo): + """The azure resource error info. + + All required parameters must be populated in order to send to Azure. + + :param code: Required. The error code. + :type code: str + :param message: Required. The error message. + :type message: str + :param details: The error details. + :type details: list[~azure.mgmt.logic.models.AzureResourceErrorInfo] + """ + + _validation = { + 'code': {'required': True}, + 'message': {'required': True}, + } + + _attribute_map = { + 'code': {'key': 'code', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + 'details': {'key': 'details', 'type': '[AzureResourceErrorInfo]'}, + } + + def __init__(self, **kwargs): + super(AzureResourceErrorInfo, self).__init__(**kwargs) + self.message = kwargs.get('message', None) + self.details = kwargs.get('details', None) + + +class B2BPartnerContent(Model): + """The B2B partner content. + + :param business_identities: The list of partner business identities. + :type business_identities: list[~azure.mgmt.logic.models.BusinessIdentity] + """ + + _attribute_map = { + 'business_identities': {'key': 'businessIdentities', 'type': '[BusinessIdentity]'}, + } + + def __init__(self, **kwargs): + super(B2BPartnerContent, self).__init__(**kwargs) + self.business_identities = kwargs.get('business_identities', None) + + +class BatchConfiguration(Resource): + """The batch configuration resource definition. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The resource id. + :vartype id: str + :ivar name: Gets the resource name. + :vartype name: str + :ivar type: Gets the resource type. + :vartype type: str + :param location: The resource location. + :type location: str + :param tags: The resource tags. + :type tags: dict[str, str] + :param properties: Required. The batch configuration properties. + :type properties: ~azure.mgmt.logic.models.BatchConfigurationProperties + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'properties': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'properties': {'key': 'properties', 'type': 'BatchConfigurationProperties'}, + } + + def __init__(self, **kwargs): + super(BatchConfiguration, self).__init__(**kwargs) + self.properties = kwargs.get('properties', None) + + +class BatchConfigurationProperties(ArtifactProperties): + """The batch configuration properties definition. + + All required parameters must be populated in order to send to Azure. + + :param created_time: The artifact creation time. + :type created_time: datetime + :param changed_time: The artifact changed time. + :type changed_time: datetime + :param metadata: + :type metadata: object + :param batch_group_name: Required. The name of the batch group. + :type batch_group_name: str + :param release_criteria: Required. The batch release criteria. + :type release_criteria: ~azure.mgmt.logic.models.BatchReleaseCriteria + """ + + _validation = { + 'batch_group_name': {'required': True}, + 'release_criteria': {'required': True}, + } + + _attribute_map = { + 'created_time': {'key': 'createdTime', 'type': 'iso-8601'}, + 'changed_time': {'key': 'changedTime', 'type': 'iso-8601'}, + 'metadata': {'key': 'metadata', 'type': 'object'}, + 'batch_group_name': {'key': 'batchGroupName', 'type': 'str'}, + 'release_criteria': {'key': 'releaseCriteria', 'type': 'BatchReleaseCriteria'}, + } + + def __init__(self, **kwargs): + super(BatchConfigurationProperties, self).__init__(**kwargs) + self.batch_group_name = kwargs.get('batch_group_name', None) + self.release_criteria = kwargs.get('release_criteria', None) + + +class BatchReleaseCriteria(Model): + """The batch release criteria. + + :param message_count: The message count. + :type message_count: int + :param batch_size: The batch size in bytes. + :type batch_size: int + :param recurrence: The recurrence. + :type recurrence: ~azure.mgmt.logic.models.WorkflowTriggerRecurrence + """ + + _attribute_map = { + 'message_count': {'key': 'messageCount', 'type': 'int'}, + 'batch_size': {'key': 'batchSize', 'type': 'int'}, + 'recurrence': {'key': 'recurrence', 'type': 'WorkflowTriggerRecurrence'}, + } + + def __init__(self, **kwargs): + super(BatchReleaseCriteria, self).__init__(**kwargs) + self.message_count = kwargs.get('message_count', None) + self.batch_size = kwargs.get('batch_size', None) + self.recurrence = kwargs.get('recurrence', None) + + +class BusinessIdentity(Model): + """The integration account partner's business identity. + + All required parameters must be populated in order to send to Azure. + + :param qualifier: Required. The business identity qualifier e.g. + as2identity, ZZ, ZZZ, 31, 32 + :type qualifier: str + :param value: Required. The user defined business identity value. + :type value: str + """ + + _validation = { + 'qualifier': {'required': True}, + 'value': {'required': True}, + } + + _attribute_map = { + 'qualifier': {'key': 'qualifier', 'type': 'str'}, + 'value': {'key': 'value', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(BusinessIdentity, self).__init__(**kwargs) + self.qualifier = kwargs.get('qualifier', None) + self.value = kwargs.get('value', None) + + +class CallbackUrl(Model): + """The callback url. + + :param value: The URL value. + :type value: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(CallbackUrl, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + + +class CloudError(Model): + """CloudError. + """ + + _attribute_map = { + } + + +class ContentHash(Model): + """The content hash. + + :param algorithm: The algorithm of the content hash. + :type algorithm: str + :param value: The value of the content hash. + :type value: str + """ + + _attribute_map = { + 'algorithm': {'key': 'algorithm', 'type': 'str'}, + 'value': {'key': 'value', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(ContentHash, self).__init__(**kwargs) + self.algorithm = kwargs.get('algorithm', None) + self.value = kwargs.get('value', None) + + +class ContentLink(Model): + """The content link. + + :param uri: The content link URI. + :type uri: str + :param content_version: The content version. + :type content_version: str + :param content_size: The content size. + :type content_size: long + :param content_hash: The content hash. + :type content_hash: ~azure.mgmt.logic.models.ContentHash + :param metadata: The metadata. + :type metadata: object + """ + + _attribute_map = { + 'uri': {'key': 'uri', 'type': 'str'}, + 'content_version': {'key': 'contentVersion', 'type': 'str'}, + 'content_size': {'key': 'contentSize', 'type': 'long'}, + 'content_hash': {'key': 'contentHash', 'type': 'ContentHash'}, + 'metadata': {'key': 'metadata', 'type': 'object'}, + } + + def __init__(self, **kwargs): + super(ContentLink, self).__init__(**kwargs) + self.uri = kwargs.get('uri', None) + self.content_version = kwargs.get('content_version', None) + self.content_size = kwargs.get('content_size', None) + self.content_hash = kwargs.get('content_hash', None) + self.metadata = kwargs.get('metadata', None) + + +class Correlation(Model): + """The correlation property. + + :param client_tracking_id: The client tracking id. + :type client_tracking_id: str + """ + + _attribute_map = { + 'client_tracking_id': {'key': 'clientTrackingId', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(Correlation, self).__init__(**kwargs) + self.client_tracking_id = kwargs.get('client_tracking_id', None) + + +class EdifactAcknowledgementSettings(Model): + """The Edifact agreement acknowledgement settings. + + All required parameters must be populated in order to send to Azure. + + :param need_technical_acknowledgement: Required. The value indicating + whether technical acknowledgement is needed. + :type need_technical_acknowledgement: bool + :param batch_technical_acknowledgements: Required. The value indicating + whether to batch the technical acknowledgements. + :type batch_technical_acknowledgements: bool + :param need_functional_acknowledgement: Required. The value indicating + whether functional acknowledgement is needed. + :type need_functional_acknowledgement: bool + :param batch_functional_acknowledgements: Required. The value indicating + whether to batch functional acknowledgements. + :type batch_functional_acknowledgements: bool + :param need_loop_for_valid_messages: Required. The value indicating + whether a loop is needed for valid messages. + :type need_loop_for_valid_messages: bool + :param send_synchronous_acknowledgement: Required. The value indicating + whether to send synchronous acknowledgement. + :type send_synchronous_acknowledgement: bool + :param acknowledgement_control_number_prefix: The acknowledgement control + number prefix. + :type acknowledgement_control_number_prefix: str + :param acknowledgement_control_number_suffix: The acknowledgement control + number suffix. + :type acknowledgement_control_number_suffix: str + :param acknowledgement_control_number_lower_bound: Required. The + acknowledgement control number lower bound. + :type acknowledgement_control_number_lower_bound: int + :param acknowledgement_control_number_upper_bound: Required. The + acknowledgement control number upper bound. + :type acknowledgement_control_number_upper_bound: int + :param rollover_acknowledgement_control_number: Required. The value + indicating whether to rollover acknowledgement control number. + :type rollover_acknowledgement_control_number: bool + """ + + _validation = { + 'need_technical_acknowledgement': {'required': True}, + 'batch_technical_acknowledgements': {'required': True}, + 'need_functional_acknowledgement': {'required': True}, + 'batch_functional_acknowledgements': {'required': True}, + 'need_loop_for_valid_messages': {'required': True}, + 'send_synchronous_acknowledgement': {'required': True}, + 'acknowledgement_control_number_lower_bound': {'required': True}, + 'acknowledgement_control_number_upper_bound': {'required': True}, + 'rollover_acknowledgement_control_number': {'required': True}, + } + + _attribute_map = { + 'need_technical_acknowledgement': {'key': 'needTechnicalAcknowledgement', 'type': 'bool'}, + 'batch_technical_acknowledgements': {'key': 'batchTechnicalAcknowledgements', 'type': 'bool'}, + 'need_functional_acknowledgement': {'key': 'needFunctionalAcknowledgement', 'type': 'bool'}, + 'batch_functional_acknowledgements': {'key': 'batchFunctionalAcknowledgements', 'type': 'bool'}, + 'need_loop_for_valid_messages': {'key': 'needLoopForValidMessages', 'type': 'bool'}, + 'send_synchronous_acknowledgement': {'key': 'sendSynchronousAcknowledgement', 'type': 'bool'}, + 'acknowledgement_control_number_prefix': {'key': 'acknowledgementControlNumberPrefix', 'type': 'str'}, + 'acknowledgement_control_number_suffix': {'key': 'acknowledgementControlNumberSuffix', 'type': 'str'}, + 'acknowledgement_control_number_lower_bound': {'key': 'acknowledgementControlNumberLowerBound', 'type': 'int'}, + 'acknowledgement_control_number_upper_bound': {'key': 'acknowledgementControlNumberUpperBound', 'type': 'int'}, + 'rollover_acknowledgement_control_number': {'key': 'rolloverAcknowledgementControlNumber', 'type': 'bool'}, + } + + def __init__(self, **kwargs): + super(EdifactAcknowledgementSettings, self).__init__(**kwargs) + self.need_technical_acknowledgement = kwargs.get('need_technical_acknowledgement', None) + self.batch_technical_acknowledgements = kwargs.get('batch_technical_acknowledgements', None) + self.need_functional_acknowledgement = kwargs.get('need_functional_acknowledgement', None) + self.batch_functional_acknowledgements = kwargs.get('batch_functional_acknowledgements', None) + self.need_loop_for_valid_messages = kwargs.get('need_loop_for_valid_messages', None) + self.send_synchronous_acknowledgement = kwargs.get('send_synchronous_acknowledgement', None) + self.acknowledgement_control_number_prefix = kwargs.get('acknowledgement_control_number_prefix', None) + self.acknowledgement_control_number_suffix = kwargs.get('acknowledgement_control_number_suffix', None) + self.acknowledgement_control_number_lower_bound = kwargs.get('acknowledgement_control_number_lower_bound', None) + self.acknowledgement_control_number_upper_bound = kwargs.get('acknowledgement_control_number_upper_bound', None) + self.rollover_acknowledgement_control_number = kwargs.get('rollover_acknowledgement_control_number', None) + + +class EdifactAgreementContent(Model): + """The Edifact agreement content. + + All required parameters must be populated in order to send to Azure. + + :param receive_agreement: Required. The EDIFACT one-way receive agreement. + :type receive_agreement: ~azure.mgmt.logic.models.EdifactOneWayAgreement + :param send_agreement: Required. The EDIFACT one-way send agreement. + :type send_agreement: ~azure.mgmt.logic.models.EdifactOneWayAgreement + """ + + _validation = { + 'receive_agreement': {'required': True}, + 'send_agreement': {'required': True}, + } + + _attribute_map = { + 'receive_agreement': {'key': 'receiveAgreement', 'type': 'EdifactOneWayAgreement'}, + 'send_agreement': {'key': 'sendAgreement', 'type': 'EdifactOneWayAgreement'}, + } + + def __init__(self, **kwargs): + super(EdifactAgreementContent, self).__init__(**kwargs) + self.receive_agreement = kwargs.get('receive_agreement', None) + self.send_agreement = kwargs.get('send_agreement', None) + + +class EdifactDelimiterOverride(Model): + """The Edifact delimiter override settings. + + All required parameters must be populated in order to send to Azure. + + :param message_id: The message id. + :type message_id: str + :param message_version: The message version. + :type message_version: str + :param message_release: The message release. + :type message_release: str + :param data_element_separator: Required. The data element separator. + :type data_element_separator: int + :param component_separator: Required. The component separator. + :type component_separator: int + :param segment_terminator: Required. The segment terminator. + :type segment_terminator: int + :param repetition_separator: Required. The repetition separator. + :type repetition_separator: int + :param segment_terminator_suffix: Required. The segment terminator suffix. + Possible values include: 'NotSpecified', 'None', 'CR', 'LF', 'CRLF' + :type segment_terminator_suffix: str or + ~azure.mgmt.logic.models.SegmentTerminatorSuffix + :param decimal_point_indicator: Required. The decimal point indicator. + Possible values include: 'NotSpecified', 'Comma', 'Decimal' + :type decimal_point_indicator: str or + ~azure.mgmt.logic.models.EdifactDecimalIndicator + :param release_indicator: Required. The release indicator. + :type release_indicator: int + :param message_association_assigned_code: The message association assigned + code. + :type message_association_assigned_code: str + :param target_namespace: The target namespace on which this delimiter + settings has to be applied. + :type target_namespace: str + """ + + _validation = { + 'data_element_separator': {'required': True}, + 'component_separator': {'required': True}, + 'segment_terminator': {'required': True}, + 'repetition_separator': {'required': True}, + 'segment_terminator_suffix': {'required': True}, + 'decimal_point_indicator': {'required': True}, + 'release_indicator': {'required': True}, + } + + _attribute_map = { + 'message_id': {'key': 'messageId', 'type': 'str'}, + 'message_version': {'key': 'messageVersion', 'type': 'str'}, + 'message_release': {'key': 'messageRelease', 'type': 'str'}, + 'data_element_separator': {'key': 'dataElementSeparator', 'type': 'int'}, + 'component_separator': {'key': 'componentSeparator', 'type': 'int'}, + 'segment_terminator': {'key': 'segmentTerminator', 'type': 'int'}, + 'repetition_separator': {'key': 'repetitionSeparator', 'type': 'int'}, + 'segment_terminator_suffix': {'key': 'segmentTerminatorSuffix', 'type': 'SegmentTerminatorSuffix'}, + 'decimal_point_indicator': {'key': 'decimalPointIndicator', 'type': 'EdifactDecimalIndicator'}, + 'release_indicator': {'key': 'releaseIndicator', 'type': 'int'}, + 'message_association_assigned_code': {'key': 'messageAssociationAssignedCode', 'type': 'str'}, + 'target_namespace': {'key': 'targetNamespace', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(EdifactDelimiterOverride, self).__init__(**kwargs) + self.message_id = kwargs.get('message_id', None) + self.message_version = kwargs.get('message_version', None) + self.message_release = kwargs.get('message_release', None) + self.data_element_separator = kwargs.get('data_element_separator', None) + self.component_separator = kwargs.get('component_separator', None) + self.segment_terminator = kwargs.get('segment_terminator', None) + self.repetition_separator = kwargs.get('repetition_separator', None) + self.segment_terminator_suffix = kwargs.get('segment_terminator_suffix', None) + self.decimal_point_indicator = kwargs.get('decimal_point_indicator', None) + self.release_indicator = kwargs.get('release_indicator', None) + self.message_association_assigned_code = kwargs.get('message_association_assigned_code', None) + self.target_namespace = kwargs.get('target_namespace', None) + + +class EdifactEnvelopeOverride(Model): + """The Edifact envelope override settings. + + :param message_id: The message id on which this envelope settings has to + be applied. + :type message_id: str + :param message_version: The message version on which this envelope + settings has to be applied. + :type message_version: str + :param message_release: The message release version on which this envelope + settings has to be applied. + :type message_release: str + :param message_association_assigned_code: The message association assigned + code. + :type message_association_assigned_code: str + :param target_namespace: The target namespace on which this envelope + settings has to be applied. + :type target_namespace: str + :param functional_group_id: The functional group id. + :type functional_group_id: str + :param sender_application_qualifier: The sender application qualifier. + :type sender_application_qualifier: str + :param sender_application_id: The sender application id. + :type sender_application_id: str + :param receiver_application_qualifier: The receiver application qualifier. + :type receiver_application_qualifier: str + :param receiver_application_id: The receiver application id. + :type receiver_application_id: str + :param controlling_agency_code: The controlling agency code. + :type controlling_agency_code: str + :param group_header_message_version: The group header message version. + :type group_header_message_version: str + :param group_header_message_release: The group header message release. + :type group_header_message_release: str + :param association_assigned_code: The association assigned code. + :type association_assigned_code: str + :param application_password: The application password. + :type application_password: str + """ + + _attribute_map = { + 'message_id': {'key': 'messageId', 'type': 'str'}, + 'message_version': {'key': 'messageVersion', 'type': 'str'}, + 'message_release': {'key': 'messageRelease', 'type': 'str'}, + 'message_association_assigned_code': {'key': 'messageAssociationAssignedCode', 'type': 'str'}, + 'target_namespace': {'key': 'targetNamespace', 'type': 'str'}, + 'functional_group_id': {'key': 'functionalGroupId', 'type': 'str'}, + 'sender_application_qualifier': {'key': 'senderApplicationQualifier', 'type': 'str'}, + 'sender_application_id': {'key': 'senderApplicationId', 'type': 'str'}, + 'receiver_application_qualifier': {'key': 'receiverApplicationQualifier', 'type': 'str'}, + 'receiver_application_id': {'key': 'receiverApplicationId', 'type': 'str'}, + 'controlling_agency_code': {'key': 'controllingAgencyCode', 'type': 'str'}, + 'group_header_message_version': {'key': 'groupHeaderMessageVersion', 'type': 'str'}, + 'group_header_message_release': {'key': 'groupHeaderMessageRelease', 'type': 'str'}, + 'association_assigned_code': {'key': 'associationAssignedCode', 'type': 'str'}, + 'application_password': {'key': 'applicationPassword', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(EdifactEnvelopeOverride, self).__init__(**kwargs) + self.message_id = kwargs.get('message_id', None) + self.message_version = kwargs.get('message_version', None) + self.message_release = kwargs.get('message_release', None) + self.message_association_assigned_code = kwargs.get('message_association_assigned_code', None) + self.target_namespace = kwargs.get('target_namespace', None) + self.functional_group_id = kwargs.get('functional_group_id', None) + self.sender_application_qualifier = kwargs.get('sender_application_qualifier', None) + self.sender_application_id = kwargs.get('sender_application_id', None) + self.receiver_application_qualifier = kwargs.get('receiver_application_qualifier', None) + self.receiver_application_id = kwargs.get('receiver_application_id', None) + self.controlling_agency_code = kwargs.get('controlling_agency_code', None) + self.group_header_message_version = kwargs.get('group_header_message_version', None) + self.group_header_message_release = kwargs.get('group_header_message_release', None) + self.association_assigned_code = kwargs.get('association_assigned_code', None) + self.application_password = kwargs.get('application_password', None) + + +class EdifactEnvelopeSettings(Model): + """The Edifact agreement envelope settings. + + All required parameters must be populated in order to send to Azure. + + :param group_association_assigned_code: The group association assigned + code. + :type group_association_assigned_code: str + :param communication_agreement_id: The communication agreement id. + :type communication_agreement_id: str + :param apply_delimiter_string_advice: Required. The value indicating + whether to apply delimiter string advice. + :type apply_delimiter_string_advice: bool + :param create_grouping_segments: Required. The value indicating whether to + create grouping segments. + :type create_grouping_segments: bool + :param enable_default_group_headers: Required. The value indicating + whether to enable default group headers. + :type enable_default_group_headers: bool + :param recipient_reference_password_value: The recipient reference + password value. + :type recipient_reference_password_value: str + :param recipient_reference_password_qualifier: The recipient reference + password qualifier. + :type recipient_reference_password_qualifier: str + :param application_reference_id: The application reference id. + :type application_reference_id: str + :param processing_priority_code: The processing priority code. + :type processing_priority_code: str + :param interchange_control_number_lower_bound: Required. The interchange + control number lower bound. + :type interchange_control_number_lower_bound: long + :param interchange_control_number_upper_bound: Required. The interchange + control number upper bound. + :type interchange_control_number_upper_bound: long + :param rollover_interchange_control_number: Required. The value indicating + whether to rollover interchange control number. + :type rollover_interchange_control_number: bool + :param interchange_control_number_prefix: The interchange control number + prefix. + :type interchange_control_number_prefix: str + :param interchange_control_number_suffix: The interchange control number + suffix. + :type interchange_control_number_suffix: str + :param sender_reverse_routing_address: The sender reverse routing address. + :type sender_reverse_routing_address: str + :param receiver_reverse_routing_address: The receiver reverse routing + address. + :type receiver_reverse_routing_address: str + :param functional_group_id: The functional group id. + :type functional_group_id: str + :param group_controlling_agency_code: The group controlling agency code. + :type group_controlling_agency_code: str + :param group_message_version: The group message version. + :type group_message_version: str + :param group_message_release: The group message release. + :type group_message_release: str + :param group_control_number_lower_bound: Required. The group control + number lower bound. + :type group_control_number_lower_bound: long + :param group_control_number_upper_bound: Required. The group control + number upper bound. + :type group_control_number_upper_bound: long + :param rollover_group_control_number: Required. The value indicating + whether to rollover group control number. + :type rollover_group_control_number: bool + :param group_control_number_prefix: The group control number prefix. + :type group_control_number_prefix: str + :param group_control_number_suffix: The group control number suffix. + :type group_control_number_suffix: str + :param group_application_receiver_qualifier: The group application + receiver qualifier. + :type group_application_receiver_qualifier: str + :param group_application_receiver_id: The group application receiver id. + :type group_application_receiver_id: str + :param group_application_sender_qualifier: The group application sender + qualifier. + :type group_application_sender_qualifier: str + :param group_application_sender_id: The group application sender id. + :type group_application_sender_id: str + :param group_application_password: The group application password. + :type group_application_password: str + :param overwrite_existing_transaction_set_control_number: Required. The + value indicating whether to overwrite existing transaction set control + number. + :type overwrite_existing_transaction_set_control_number: bool + :param transaction_set_control_number_prefix: The transaction set control + number prefix. + :type transaction_set_control_number_prefix: str + :param transaction_set_control_number_suffix: The transaction set control + number suffix. + :type transaction_set_control_number_suffix: str + :param transaction_set_control_number_lower_bound: Required. The + transaction set control number lower bound. + :type transaction_set_control_number_lower_bound: long + :param transaction_set_control_number_upper_bound: Required. The + transaction set control number upper bound. + :type transaction_set_control_number_upper_bound: long + :param rollover_transaction_set_control_number: Required. The value + indicating whether to rollover transaction set control number. + :type rollover_transaction_set_control_number: bool + :param is_test_interchange: Required. The value indicating whether the + message is a test interchange. + :type is_test_interchange: bool + :param sender_internal_identification: The sender internal identification. + :type sender_internal_identification: str + :param sender_internal_sub_identification: The sender internal sub + identification. + :type sender_internal_sub_identification: str + :param receiver_internal_identification: The receiver internal + identification. + :type receiver_internal_identification: str + :param receiver_internal_sub_identification: The receiver internal sub + identification. + :type receiver_internal_sub_identification: str + """ + + _validation = { + 'apply_delimiter_string_advice': {'required': True}, + 'create_grouping_segments': {'required': True}, + 'enable_default_group_headers': {'required': True}, + 'interchange_control_number_lower_bound': {'required': True}, + 'interchange_control_number_upper_bound': {'required': True}, + 'rollover_interchange_control_number': {'required': True}, + 'group_control_number_lower_bound': {'required': True}, + 'group_control_number_upper_bound': {'required': True}, + 'rollover_group_control_number': {'required': True}, + 'overwrite_existing_transaction_set_control_number': {'required': True}, + 'transaction_set_control_number_lower_bound': {'required': True}, + 'transaction_set_control_number_upper_bound': {'required': True}, + 'rollover_transaction_set_control_number': {'required': True}, + 'is_test_interchange': {'required': True}, + } + + _attribute_map = { + 'group_association_assigned_code': {'key': 'groupAssociationAssignedCode', 'type': 'str'}, + 'communication_agreement_id': {'key': 'communicationAgreementId', 'type': 'str'}, + 'apply_delimiter_string_advice': {'key': 'applyDelimiterStringAdvice', 'type': 'bool'}, + 'create_grouping_segments': {'key': 'createGroupingSegments', 'type': 'bool'}, + 'enable_default_group_headers': {'key': 'enableDefaultGroupHeaders', 'type': 'bool'}, + 'recipient_reference_password_value': {'key': 'recipientReferencePasswordValue', 'type': 'str'}, + 'recipient_reference_password_qualifier': {'key': 'recipientReferencePasswordQualifier', 'type': 'str'}, + 'application_reference_id': {'key': 'applicationReferenceId', 'type': 'str'}, + 'processing_priority_code': {'key': 'processingPriorityCode', 'type': 'str'}, + 'interchange_control_number_lower_bound': {'key': 'interchangeControlNumberLowerBound', 'type': 'long'}, + 'interchange_control_number_upper_bound': {'key': 'interchangeControlNumberUpperBound', 'type': 'long'}, + 'rollover_interchange_control_number': {'key': 'rolloverInterchangeControlNumber', 'type': 'bool'}, + 'interchange_control_number_prefix': {'key': 'interchangeControlNumberPrefix', 'type': 'str'}, + 'interchange_control_number_suffix': {'key': 'interchangeControlNumberSuffix', 'type': 'str'}, + 'sender_reverse_routing_address': {'key': 'senderReverseRoutingAddress', 'type': 'str'}, + 'receiver_reverse_routing_address': {'key': 'receiverReverseRoutingAddress', 'type': 'str'}, + 'functional_group_id': {'key': 'functionalGroupId', 'type': 'str'}, + 'group_controlling_agency_code': {'key': 'groupControllingAgencyCode', 'type': 'str'}, + 'group_message_version': {'key': 'groupMessageVersion', 'type': 'str'}, + 'group_message_release': {'key': 'groupMessageRelease', 'type': 'str'}, + 'group_control_number_lower_bound': {'key': 'groupControlNumberLowerBound', 'type': 'long'}, + 'group_control_number_upper_bound': {'key': 'groupControlNumberUpperBound', 'type': 'long'}, + 'rollover_group_control_number': {'key': 'rolloverGroupControlNumber', 'type': 'bool'}, + 'group_control_number_prefix': {'key': 'groupControlNumberPrefix', 'type': 'str'}, + 'group_control_number_suffix': {'key': 'groupControlNumberSuffix', 'type': 'str'}, + 'group_application_receiver_qualifier': {'key': 'groupApplicationReceiverQualifier', 'type': 'str'}, + 'group_application_receiver_id': {'key': 'groupApplicationReceiverId', 'type': 'str'}, + 'group_application_sender_qualifier': {'key': 'groupApplicationSenderQualifier', 'type': 'str'}, + 'group_application_sender_id': {'key': 'groupApplicationSenderId', 'type': 'str'}, + 'group_application_password': {'key': 'groupApplicationPassword', 'type': 'str'}, + 'overwrite_existing_transaction_set_control_number': {'key': 'overwriteExistingTransactionSetControlNumber', 'type': 'bool'}, + 'transaction_set_control_number_prefix': {'key': 'transactionSetControlNumberPrefix', 'type': 'str'}, + 'transaction_set_control_number_suffix': {'key': 'transactionSetControlNumberSuffix', 'type': 'str'}, + 'transaction_set_control_number_lower_bound': {'key': 'transactionSetControlNumberLowerBound', 'type': 'long'}, + 'transaction_set_control_number_upper_bound': {'key': 'transactionSetControlNumberUpperBound', 'type': 'long'}, + 'rollover_transaction_set_control_number': {'key': 'rolloverTransactionSetControlNumber', 'type': 'bool'}, + 'is_test_interchange': {'key': 'isTestInterchange', 'type': 'bool'}, + 'sender_internal_identification': {'key': 'senderInternalIdentification', 'type': 'str'}, + 'sender_internal_sub_identification': {'key': 'senderInternalSubIdentification', 'type': 'str'}, + 'receiver_internal_identification': {'key': 'receiverInternalIdentification', 'type': 'str'}, + 'receiver_internal_sub_identification': {'key': 'receiverInternalSubIdentification', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(EdifactEnvelopeSettings, self).__init__(**kwargs) + self.group_association_assigned_code = kwargs.get('group_association_assigned_code', None) + self.communication_agreement_id = kwargs.get('communication_agreement_id', None) + self.apply_delimiter_string_advice = kwargs.get('apply_delimiter_string_advice', None) + self.create_grouping_segments = kwargs.get('create_grouping_segments', None) + self.enable_default_group_headers = kwargs.get('enable_default_group_headers', None) + self.recipient_reference_password_value = kwargs.get('recipient_reference_password_value', None) + self.recipient_reference_password_qualifier = kwargs.get('recipient_reference_password_qualifier', None) + self.application_reference_id = kwargs.get('application_reference_id', None) + self.processing_priority_code = kwargs.get('processing_priority_code', None) + self.interchange_control_number_lower_bound = kwargs.get('interchange_control_number_lower_bound', None) + self.interchange_control_number_upper_bound = kwargs.get('interchange_control_number_upper_bound', None) + self.rollover_interchange_control_number = kwargs.get('rollover_interchange_control_number', None) + self.interchange_control_number_prefix = kwargs.get('interchange_control_number_prefix', None) + self.interchange_control_number_suffix = kwargs.get('interchange_control_number_suffix', None) + self.sender_reverse_routing_address = kwargs.get('sender_reverse_routing_address', None) + self.receiver_reverse_routing_address = kwargs.get('receiver_reverse_routing_address', None) + self.functional_group_id = kwargs.get('functional_group_id', None) + self.group_controlling_agency_code = kwargs.get('group_controlling_agency_code', None) + self.group_message_version = kwargs.get('group_message_version', None) + self.group_message_release = kwargs.get('group_message_release', None) + self.group_control_number_lower_bound = kwargs.get('group_control_number_lower_bound', None) + self.group_control_number_upper_bound = kwargs.get('group_control_number_upper_bound', None) + self.rollover_group_control_number = kwargs.get('rollover_group_control_number', None) + self.group_control_number_prefix = kwargs.get('group_control_number_prefix', None) + self.group_control_number_suffix = kwargs.get('group_control_number_suffix', None) + self.group_application_receiver_qualifier = kwargs.get('group_application_receiver_qualifier', None) + self.group_application_receiver_id = kwargs.get('group_application_receiver_id', None) + self.group_application_sender_qualifier = kwargs.get('group_application_sender_qualifier', None) + self.group_application_sender_id = kwargs.get('group_application_sender_id', None) + self.group_application_password = kwargs.get('group_application_password', None) + self.overwrite_existing_transaction_set_control_number = kwargs.get('overwrite_existing_transaction_set_control_number', None) + self.transaction_set_control_number_prefix = kwargs.get('transaction_set_control_number_prefix', None) + self.transaction_set_control_number_suffix = kwargs.get('transaction_set_control_number_suffix', None) + self.transaction_set_control_number_lower_bound = kwargs.get('transaction_set_control_number_lower_bound', None) + self.transaction_set_control_number_upper_bound = kwargs.get('transaction_set_control_number_upper_bound', None) + self.rollover_transaction_set_control_number = kwargs.get('rollover_transaction_set_control_number', None) + self.is_test_interchange = kwargs.get('is_test_interchange', None) + self.sender_internal_identification = kwargs.get('sender_internal_identification', None) + self.sender_internal_sub_identification = kwargs.get('sender_internal_sub_identification', None) + self.receiver_internal_identification = kwargs.get('receiver_internal_identification', None) + self.receiver_internal_sub_identification = kwargs.get('receiver_internal_sub_identification', None) + + +class EdifactFramingSettings(Model): + """The Edifact agreement framing settings. + + All required parameters must be populated in order to send to Azure. + + :param service_code_list_directory_version: The service code list + directory version. + :type service_code_list_directory_version: str + :param character_encoding: The character encoding. + :type character_encoding: str + :param protocol_version: Required. The protocol version. + :type protocol_version: int + :param data_element_separator: Required. The data element separator. + :type data_element_separator: int + :param component_separator: Required. The component separator. + :type component_separator: int + :param segment_terminator: Required. The segment terminator. + :type segment_terminator: int + :param release_indicator: Required. The release indicator. + :type release_indicator: int + :param repetition_separator: Required. The repetition separator. + :type repetition_separator: int + :param character_set: Required. The EDIFACT frame setting characterSet. + Possible values include: 'NotSpecified', 'UNOB', 'UNOA', 'UNOC', 'UNOD', + 'UNOE', 'UNOF', 'UNOG', 'UNOH', 'UNOI', 'UNOJ', 'UNOK', 'UNOX', 'UNOY', + 'KECA' + :type character_set: str or ~azure.mgmt.logic.models.EdifactCharacterSet + :param decimal_point_indicator: Required. The EDIFACT frame setting + decimal indicator. Possible values include: 'NotSpecified', 'Comma', + 'Decimal' + :type decimal_point_indicator: str or + ~azure.mgmt.logic.models.EdifactDecimalIndicator + :param segment_terminator_suffix: Required. The EDIFACT frame setting + segment terminator suffix. Possible values include: 'NotSpecified', + 'None', 'CR', 'LF', 'CRLF' + :type segment_terminator_suffix: str or + ~azure.mgmt.logic.models.SegmentTerminatorSuffix + """ + + _validation = { + 'protocol_version': {'required': True}, + 'data_element_separator': {'required': True}, + 'component_separator': {'required': True}, + 'segment_terminator': {'required': True}, + 'release_indicator': {'required': True}, + 'repetition_separator': {'required': True}, + 'character_set': {'required': True}, + 'decimal_point_indicator': {'required': True}, + 'segment_terminator_suffix': {'required': True}, + } + + _attribute_map = { + 'service_code_list_directory_version': {'key': 'serviceCodeListDirectoryVersion', 'type': 'str'}, + 'character_encoding': {'key': 'characterEncoding', 'type': 'str'}, + 'protocol_version': {'key': 'protocolVersion', 'type': 'int'}, + 'data_element_separator': {'key': 'dataElementSeparator', 'type': 'int'}, + 'component_separator': {'key': 'componentSeparator', 'type': 'int'}, + 'segment_terminator': {'key': 'segmentTerminator', 'type': 'int'}, + 'release_indicator': {'key': 'releaseIndicator', 'type': 'int'}, + 'repetition_separator': {'key': 'repetitionSeparator', 'type': 'int'}, + 'character_set': {'key': 'characterSet', 'type': 'str'}, + 'decimal_point_indicator': {'key': 'decimalPointIndicator', 'type': 'EdifactDecimalIndicator'}, + 'segment_terminator_suffix': {'key': 'segmentTerminatorSuffix', 'type': 'SegmentTerminatorSuffix'}, + } + + def __init__(self, **kwargs): + super(EdifactFramingSettings, self).__init__(**kwargs) + self.service_code_list_directory_version = kwargs.get('service_code_list_directory_version', None) + self.character_encoding = kwargs.get('character_encoding', None) + self.protocol_version = kwargs.get('protocol_version', None) + self.data_element_separator = kwargs.get('data_element_separator', None) + self.component_separator = kwargs.get('component_separator', None) + self.segment_terminator = kwargs.get('segment_terminator', None) + self.release_indicator = kwargs.get('release_indicator', None) + self.repetition_separator = kwargs.get('repetition_separator', None) + self.character_set = kwargs.get('character_set', None) + self.decimal_point_indicator = kwargs.get('decimal_point_indicator', None) + self.segment_terminator_suffix = kwargs.get('segment_terminator_suffix', None) + + +class EdifactMessageFilter(Model): + """The Edifact message filter for odata query. + + All required parameters must be populated in order to send to Azure. + + :param message_filter_type: Required. The message filter type. Possible + values include: 'NotSpecified', 'Include', 'Exclude' + :type message_filter_type: str or + ~azure.mgmt.logic.models.MessageFilterType + """ + + _validation = { + 'message_filter_type': {'required': True}, + } + + _attribute_map = { + 'message_filter_type': {'key': 'messageFilterType', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(EdifactMessageFilter, self).__init__(**kwargs) + self.message_filter_type = kwargs.get('message_filter_type', None) + + +class EdifactMessageIdentifier(Model): + """The Edifact message identifier. + + All required parameters must be populated in order to send to Azure. + + :param message_id: Required. The message id on which this envelope + settings has to be applied. + :type message_id: str + """ + + _validation = { + 'message_id': {'required': True}, + } + + _attribute_map = { + 'message_id': {'key': 'messageId', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(EdifactMessageIdentifier, self).__init__(**kwargs) + self.message_id = kwargs.get('message_id', None) + + +class EdifactOneWayAgreement(Model): + """The Edifact one way agreement. + + All required parameters must be populated in order to send to Azure. + + :param sender_business_identity: Required. The sender business identity + :type sender_business_identity: ~azure.mgmt.logic.models.BusinessIdentity + :param receiver_business_identity: Required. The receiver business + identity + :type receiver_business_identity: + ~azure.mgmt.logic.models.BusinessIdentity + :param protocol_settings: Required. The EDIFACT protocol settings. + :type protocol_settings: ~azure.mgmt.logic.models.EdifactProtocolSettings + """ + + _validation = { + 'sender_business_identity': {'required': True}, + 'receiver_business_identity': {'required': True}, + 'protocol_settings': {'required': True}, + } + + _attribute_map = { + 'sender_business_identity': {'key': 'senderBusinessIdentity', 'type': 'BusinessIdentity'}, + 'receiver_business_identity': {'key': 'receiverBusinessIdentity', 'type': 'BusinessIdentity'}, + 'protocol_settings': {'key': 'protocolSettings', 'type': 'EdifactProtocolSettings'}, + } + + def __init__(self, **kwargs): + super(EdifactOneWayAgreement, self).__init__(**kwargs) + self.sender_business_identity = kwargs.get('sender_business_identity', None) + self.receiver_business_identity = kwargs.get('receiver_business_identity', None) + self.protocol_settings = kwargs.get('protocol_settings', None) + + +class EdifactProcessingSettings(Model): + """The Edifact agreement protocol settings. + + All required parameters must be populated in order to send to Azure. + + :param mask_security_info: Required. The value indicating whether to mask + security information. + :type mask_security_info: bool + :param preserve_interchange: Required. The value indicating whether to + preserve interchange. + :type preserve_interchange: bool + :param suspend_interchange_on_error: Required. The value indicating + whether to suspend interchange on error. + :type suspend_interchange_on_error: bool + :param create_empty_xml_tags_for_trailing_separators: Required. The value + indicating whether to create empty xml tags for trailing separators. + :type create_empty_xml_tags_for_trailing_separators: bool + :param use_dot_as_decimal_separator: Required. The value indicating + whether to use dot as decimal separator. + :type use_dot_as_decimal_separator: bool + """ + + _validation = { + 'mask_security_info': {'required': True}, + 'preserve_interchange': {'required': True}, + 'suspend_interchange_on_error': {'required': True}, + 'create_empty_xml_tags_for_trailing_separators': {'required': True}, + 'use_dot_as_decimal_separator': {'required': True}, + } + + _attribute_map = { + 'mask_security_info': {'key': 'maskSecurityInfo', 'type': 'bool'}, + 'preserve_interchange': {'key': 'preserveInterchange', 'type': 'bool'}, + 'suspend_interchange_on_error': {'key': 'suspendInterchangeOnError', 'type': 'bool'}, + 'create_empty_xml_tags_for_trailing_separators': {'key': 'createEmptyXmlTagsForTrailingSeparators', 'type': 'bool'}, + 'use_dot_as_decimal_separator': {'key': 'useDotAsDecimalSeparator', 'type': 'bool'}, + } + + def __init__(self, **kwargs): + super(EdifactProcessingSettings, self).__init__(**kwargs) + self.mask_security_info = kwargs.get('mask_security_info', None) + self.preserve_interchange = kwargs.get('preserve_interchange', None) + self.suspend_interchange_on_error = kwargs.get('suspend_interchange_on_error', None) + self.create_empty_xml_tags_for_trailing_separators = kwargs.get('create_empty_xml_tags_for_trailing_separators', None) + self.use_dot_as_decimal_separator = kwargs.get('use_dot_as_decimal_separator', None) + + +class EdifactProtocolSettings(Model): + """The Edifact agreement protocol settings. + + All required parameters must be populated in order to send to Azure. + + :param validation_settings: Required. The EDIFACT validation settings. + :type validation_settings: + ~azure.mgmt.logic.models.EdifactValidationSettings + :param framing_settings: Required. The EDIFACT framing settings. + :type framing_settings: ~azure.mgmt.logic.models.EdifactFramingSettings + :param envelope_settings: Required. The EDIFACT envelope settings. + :type envelope_settings: ~azure.mgmt.logic.models.EdifactEnvelopeSettings + :param acknowledgement_settings: Required. The EDIFACT acknowledgement + settings. + :type acknowledgement_settings: + ~azure.mgmt.logic.models.EdifactAcknowledgementSettings + :param message_filter: Required. The EDIFACT message filter. + :type message_filter: ~azure.mgmt.logic.models.EdifactMessageFilter + :param processing_settings: Required. The EDIFACT processing Settings. + :type processing_settings: + ~azure.mgmt.logic.models.EdifactProcessingSettings + :param envelope_overrides: The EDIFACT envelope override settings. + :type envelope_overrides: + list[~azure.mgmt.logic.models.EdifactEnvelopeOverride] + :param message_filter_list: The EDIFACT message filter list. + :type message_filter_list: + list[~azure.mgmt.logic.models.EdifactMessageIdentifier] + :param schema_references: Required. The EDIFACT schema references. + :type schema_references: + list[~azure.mgmt.logic.models.EdifactSchemaReference] + :param validation_overrides: The EDIFACT validation override settings. + :type validation_overrides: + list[~azure.mgmt.logic.models.EdifactValidationOverride] + :param edifact_delimiter_overrides: The EDIFACT delimiter override + settings. + :type edifact_delimiter_overrides: + list[~azure.mgmt.logic.models.EdifactDelimiterOverride] + """ + + _validation = { + 'validation_settings': {'required': True}, + 'framing_settings': {'required': True}, + 'envelope_settings': {'required': True}, + 'acknowledgement_settings': {'required': True}, + 'message_filter': {'required': True}, + 'processing_settings': {'required': True}, + 'schema_references': {'required': True}, + } + + _attribute_map = { + 'validation_settings': {'key': 'validationSettings', 'type': 'EdifactValidationSettings'}, + 'framing_settings': {'key': 'framingSettings', 'type': 'EdifactFramingSettings'}, + 'envelope_settings': {'key': 'envelopeSettings', 'type': 'EdifactEnvelopeSettings'}, + 'acknowledgement_settings': {'key': 'acknowledgementSettings', 'type': 'EdifactAcknowledgementSettings'}, + 'message_filter': {'key': 'messageFilter', 'type': 'EdifactMessageFilter'}, + 'processing_settings': {'key': 'processingSettings', 'type': 'EdifactProcessingSettings'}, + 'envelope_overrides': {'key': 'envelopeOverrides', 'type': '[EdifactEnvelopeOverride]'}, + 'message_filter_list': {'key': 'messageFilterList', 'type': '[EdifactMessageIdentifier]'}, + 'schema_references': {'key': 'schemaReferences', 'type': '[EdifactSchemaReference]'}, + 'validation_overrides': {'key': 'validationOverrides', 'type': '[EdifactValidationOverride]'}, + 'edifact_delimiter_overrides': {'key': 'edifactDelimiterOverrides', 'type': '[EdifactDelimiterOverride]'}, + } + + def __init__(self, **kwargs): + super(EdifactProtocolSettings, self).__init__(**kwargs) + self.validation_settings = kwargs.get('validation_settings', None) + self.framing_settings = kwargs.get('framing_settings', None) + self.envelope_settings = kwargs.get('envelope_settings', None) + self.acknowledgement_settings = kwargs.get('acknowledgement_settings', None) + self.message_filter = kwargs.get('message_filter', None) + self.processing_settings = kwargs.get('processing_settings', None) + self.envelope_overrides = kwargs.get('envelope_overrides', None) + self.message_filter_list = kwargs.get('message_filter_list', None) + self.schema_references = kwargs.get('schema_references', None) + self.validation_overrides = kwargs.get('validation_overrides', None) + self.edifact_delimiter_overrides = kwargs.get('edifact_delimiter_overrides', None) + + +class EdifactSchemaReference(Model): + """The Edifact schema reference. + + All required parameters must be populated in order to send to Azure. + + :param message_id: Required. The message id. + :type message_id: str + :param message_version: Required. The message version. + :type message_version: str + :param message_release: Required. The message release version. + :type message_release: str + :param sender_application_id: The sender application id. + :type sender_application_id: str + :param sender_application_qualifier: The sender application qualifier. + :type sender_application_qualifier: str + :param association_assigned_code: The association assigned code. + :type association_assigned_code: str + :param schema_name: Required. The schema name. + :type schema_name: str + """ + + _validation = { + 'message_id': {'required': True}, + 'message_version': {'required': True}, + 'message_release': {'required': True}, + 'schema_name': {'required': True}, + } + + _attribute_map = { + 'message_id': {'key': 'messageId', 'type': 'str'}, + 'message_version': {'key': 'messageVersion', 'type': 'str'}, + 'message_release': {'key': 'messageRelease', 'type': 'str'}, + 'sender_application_id': {'key': 'senderApplicationId', 'type': 'str'}, + 'sender_application_qualifier': {'key': 'senderApplicationQualifier', 'type': 'str'}, + 'association_assigned_code': {'key': 'associationAssignedCode', 'type': 'str'}, + 'schema_name': {'key': 'schemaName', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(EdifactSchemaReference, self).__init__(**kwargs) + self.message_id = kwargs.get('message_id', None) + self.message_version = kwargs.get('message_version', None) + self.message_release = kwargs.get('message_release', None) + self.sender_application_id = kwargs.get('sender_application_id', None) + self.sender_application_qualifier = kwargs.get('sender_application_qualifier', None) + self.association_assigned_code = kwargs.get('association_assigned_code', None) + self.schema_name = kwargs.get('schema_name', None) + + +class EdifactValidationOverride(Model): + """The Edifact validation override settings. + + All required parameters must be populated in order to send to Azure. + + :param message_id: Required. The message id on which the validation + settings has to be applied. + :type message_id: str + :param enforce_character_set: Required. The value indicating whether to + validate character Set. + :type enforce_character_set: bool + :param validate_edi_types: Required. The value indicating whether to + validate EDI types. + :type validate_edi_types: bool + :param validate_xsd_types: Required. The value indicating whether to + validate XSD types. + :type validate_xsd_types: bool + :param allow_leading_and_trailing_spaces_and_zeroes: Required. The value + indicating whether to allow leading and trailing spaces and zeroes. + :type allow_leading_and_trailing_spaces_and_zeroes: bool + :param trailing_separator_policy: Required. The trailing separator policy. + Possible values include: 'NotSpecified', 'NotAllowed', 'Optional', + 'Mandatory' + :type trailing_separator_policy: str or + ~azure.mgmt.logic.models.TrailingSeparatorPolicy + :param trim_leading_and_trailing_spaces_and_zeroes: Required. The value + indicating whether to trim leading and trailing spaces and zeroes. + :type trim_leading_and_trailing_spaces_and_zeroes: bool + """ + + _validation = { + 'message_id': {'required': True}, + 'enforce_character_set': {'required': True}, + 'validate_edi_types': {'required': True}, + 'validate_xsd_types': {'required': True}, + 'allow_leading_and_trailing_spaces_and_zeroes': {'required': True}, + 'trailing_separator_policy': {'required': True}, + 'trim_leading_and_trailing_spaces_and_zeroes': {'required': True}, + } + + _attribute_map = { + 'message_id': {'key': 'messageId', 'type': 'str'}, + 'enforce_character_set': {'key': 'enforceCharacterSet', 'type': 'bool'}, + 'validate_edi_types': {'key': 'validateEDITypes', 'type': 'bool'}, + 'validate_xsd_types': {'key': 'validateXSDTypes', 'type': 'bool'}, + 'allow_leading_and_trailing_spaces_and_zeroes': {'key': 'allowLeadingAndTrailingSpacesAndZeroes', 'type': 'bool'}, + 'trailing_separator_policy': {'key': 'trailingSeparatorPolicy', 'type': 'str'}, + 'trim_leading_and_trailing_spaces_and_zeroes': {'key': 'trimLeadingAndTrailingSpacesAndZeroes', 'type': 'bool'}, + } + + def __init__(self, **kwargs): + super(EdifactValidationOverride, self).__init__(**kwargs) + self.message_id = kwargs.get('message_id', None) + self.enforce_character_set = kwargs.get('enforce_character_set', None) + self.validate_edi_types = kwargs.get('validate_edi_types', None) + self.validate_xsd_types = kwargs.get('validate_xsd_types', None) + self.allow_leading_and_trailing_spaces_and_zeroes = kwargs.get('allow_leading_and_trailing_spaces_and_zeroes', None) + self.trailing_separator_policy = kwargs.get('trailing_separator_policy', None) + self.trim_leading_and_trailing_spaces_and_zeroes = kwargs.get('trim_leading_and_trailing_spaces_and_zeroes', None) + + +class EdifactValidationSettings(Model): + """The Edifact agreement validation settings. + + All required parameters must be populated in order to send to Azure. + + :param validate_character_set: Required. The value indicating whether to + validate character set in the message. + :type validate_character_set: bool + :param check_duplicate_interchange_control_number: Required. The value + indicating whether to check for duplicate interchange control number. + :type check_duplicate_interchange_control_number: bool + :param interchange_control_number_validity_days: Required. The validity + period of interchange control number. + :type interchange_control_number_validity_days: int + :param check_duplicate_group_control_number: Required. The value + indicating whether to check for duplicate group control number. + :type check_duplicate_group_control_number: bool + :param check_duplicate_transaction_set_control_number: Required. The value + indicating whether to check for duplicate transaction set control number. + :type check_duplicate_transaction_set_control_number: bool + :param validate_edi_types: Required. The value indicating whether to + Whether to validate EDI types. + :type validate_edi_types: bool + :param validate_xsd_types: Required. The value indicating whether to + Whether to validate XSD types. + :type validate_xsd_types: bool + :param allow_leading_and_trailing_spaces_and_zeroes: Required. The value + indicating whether to allow leading and trailing spaces and zeroes. + :type allow_leading_and_trailing_spaces_and_zeroes: bool + :param trim_leading_and_trailing_spaces_and_zeroes: Required. The value + indicating whether to trim leading and trailing spaces and zeroes. + :type trim_leading_and_trailing_spaces_and_zeroes: bool + :param trailing_separator_policy: Required. The trailing separator policy. + Possible values include: 'NotSpecified', 'NotAllowed', 'Optional', + 'Mandatory' + :type trailing_separator_policy: str or + ~azure.mgmt.logic.models.TrailingSeparatorPolicy + """ + + _validation = { + 'validate_character_set': {'required': True}, + 'check_duplicate_interchange_control_number': {'required': True}, + 'interchange_control_number_validity_days': {'required': True}, + 'check_duplicate_group_control_number': {'required': True}, + 'check_duplicate_transaction_set_control_number': {'required': True}, + 'validate_edi_types': {'required': True}, + 'validate_xsd_types': {'required': True}, + 'allow_leading_and_trailing_spaces_and_zeroes': {'required': True}, + 'trim_leading_and_trailing_spaces_and_zeroes': {'required': True}, + 'trailing_separator_policy': {'required': True}, + } + + _attribute_map = { + 'validate_character_set': {'key': 'validateCharacterSet', 'type': 'bool'}, + 'check_duplicate_interchange_control_number': {'key': 'checkDuplicateInterchangeControlNumber', 'type': 'bool'}, + 'interchange_control_number_validity_days': {'key': 'interchangeControlNumberValidityDays', 'type': 'int'}, + 'check_duplicate_group_control_number': {'key': 'checkDuplicateGroupControlNumber', 'type': 'bool'}, + 'check_duplicate_transaction_set_control_number': {'key': 'checkDuplicateTransactionSetControlNumber', 'type': 'bool'}, + 'validate_edi_types': {'key': 'validateEDITypes', 'type': 'bool'}, + 'validate_xsd_types': {'key': 'validateXSDTypes', 'type': 'bool'}, + 'allow_leading_and_trailing_spaces_and_zeroes': {'key': 'allowLeadingAndTrailingSpacesAndZeroes', 'type': 'bool'}, + 'trim_leading_and_trailing_spaces_and_zeroes': {'key': 'trimLeadingAndTrailingSpacesAndZeroes', 'type': 'bool'}, + 'trailing_separator_policy': {'key': 'trailingSeparatorPolicy', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(EdifactValidationSettings, self).__init__(**kwargs) + self.validate_character_set = kwargs.get('validate_character_set', None) + self.check_duplicate_interchange_control_number = kwargs.get('check_duplicate_interchange_control_number', None) + self.interchange_control_number_validity_days = kwargs.get('interchange_control_number_validity_days', None) + self.check_duplicate_group_control_number = kwargs.get('check_duplicate_group_control_number', None) + self.check_duplicate_transaction_set_control_number = kwargs.get('check_duplicate_transaction_set_control_number', None) + self.validate_edi_types = kwargs.get('validate_edi_types', None) + self.validate_xsd_types = kwargs.get('validate_xsd_types', None) + self.allow_leading_and_trailing_spaces_and_zeroes = kwargs.get('allow_leading_and_trailing_spaces_and_zeroes', None) + self.trim_leading_and_trailing_spaces_and_zeroes = kwargs.get('trim_leading_and_trailing_spaces_and_zeroes', None) + self.trailing_separator_policy = kwargs.get('trailing_separator_policy', None) + + +class ErrorProperties(Model): + """Error properties indicate why the Logic service was not able to process the + incoming request. The reason is provided in the error message. + + :param code: Error code. + :type code: str + :param message: Error message indicating why the operation failed. + :type message: str + """ + + _attribute_map = { + 'code': {'key': 'code', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(ErrorProperties, self).__init__(**kwargs) + self.code = kwargs.get('code', None) + self.message = kwargs.get('message', None) + + +class ErrorResponse(Model): + """Error response indicates Logic service is not able to process the incoming + request. The error property contains the error details. + + :param error: The error properties. + :type error: ~azure.mgmt.logic.models.ErrorProperties + """ + + _attribute_map = { + 'error': {'key': 'error', 'type': 'ErrorProperties'}, + } + + def __init__(self, **kwargs): + super(ErrorResponse, self).__init__(**kwargs) + self.error = kwargs.get('error', None) + + +class ErrorResponseException(HttpOperationError): + """Server responsed with exception of type: 'ErrorResponse'. + + :param deserialize: A deserializer + :param response: Server response to be deserialized. + """ + + def __init__(self, deserialize, response, *args): + + super(ErrorResponseException, self).__init__(deserialize, response, 'ErrorResponse', *args) + + +class Expression(Model): + """The expression. + + :param text: The text. + :type text: str + :param value: + :type value: object + :param subexpressions: The sub expressions. + :type subexpressions: list[~azure.mgmt.logic.models.Expression] + :param error: + :type error: ~azure.mgmt.logic.models.AzureResourceErrorInfo + """ + + _attribute_map = { + 'text': {'key': 'text', 'type': 'str'}, + 'value': {'key': 'value', 'type': 'object'}, + 'subexpressions': {'key': 'subexpressions', 'type': '[Expression]'}, + 'error': {'key': 'error', 'type': 'AzureResourceErrorInfo'}, + } + + def __init__(self, **kwargs): + super(Expression, self).__init__(**kwargs) + self.text = kwargs.get('text', None) + self.value = kwargs.get('value', None) + self.subexpressions = kwargs.get('subexpressions', None) + self.error = kwargs.get('error', None) + + +class ExpressionRoot(Expression): + """The expression root. + + :param text: The text. + :type text: str + :param value: + :type value: object + :param subexpressions: The sub expressions. + :type subexpressions: list[~azure.mgmt.logic.models.Expression] + :param error: + :type error: ~azure.mgmt.logic.models.AzureResourceErrorInfo + :param path: The path. + :type path: str + """ + + _attribute_map = { + 'text': {'key': 'text', 'type': 'str'}, + 'value': {'key': 'value', 'type': 'object'}, + 'subexpressions': {'key': 'subexpressions', 'type': '[Expression]'}, + 'error': {'key': 'error', 'type': 'AzureResourceErrorInfo'}, + 'path': {'key': 'path', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(ExpressionRoot, self).__init__(**kwargs) + self.path = kwargs.get('path', None) + + +class ExtendedErrorInfo(Model): + """The extended error info. + + All required parameters must be populated in order to send to Azure. + + :param code: Required. The error code. Possible values include: + 'NotSpecified', 'IntegrationServiceEnvironmentNotFound', + 'InternalServerError', 'InvalidOperationId' + :type code: str or ~azure.mgmt.logic.models.ErrorResponseCode + :param message: Required. The error message. + :type message: str + :param details: The error message details. + :type details: list[~azure.mgmt.logic.models.ExtendedErrorInfo] + :param inner_error: The inner error. + :type inner_error: object + """ + + _validation = { + 'code': {'required': True}, + 'message': {'required': True}, + } + + _attribute_map = { + 'code': {'key': 'code', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + 'details': {'key': 'details', 'type': '[ExtendedErrorInfo]'}, + 'inner_error': {'key': 'innerError', 'type': 'object'}, + } + + def __init__(self, **kwargs): + super(ExtendedErrorInfo, self).__init__(**kwargs) + self.code = kwargs.get('code', None) + self.message = kwargs.get('message', None) + self.details = kwargs.get('details', None) + self.inner_error = kwargs.get('inner_error', None) + + +class FlowAccessControlConfiguration(Model): + """The access control configuration. + + :param triggers: The access control configuration for invoking workflow + triggers. + :type triggers: + ~azure.mgmt.logic.models.FlowAccessControlConfigurationPolicy + :param contents: The access control configuration for accessing workflow + run contents. + :type contents: + ~azure.mgmt.logic.models.FlowAccessControlConfigurationPolicy + :param actions: The access control configuration for workflow actions. + :type actions: + ~azure.mgmt.logic.models.FlowAccessControlConfigurationPolicy + :param workflow_management: The access control configuration for workflow + management. + :type workflow_management: + ~azure.mgmt.logic.models.FlowAccessControlConfigurationPolicy + """ + + _attribute_map = { + 'triggers': {'key': 'triggers', 'type': 'FlowAccessControlConfigurationPolicy'}, + 'contents': {'key': 'contents', 'type': 'FlowAccessControlConfigurationPolicy'}, + 'actions': {'key': 'actions', 'type': 'FlowAccessControlConfigurationPolicy'}, + 'workflow_management': {'key': 'workflowManagement', 'type': 'FlowAccessControlConfigurationPolicy'}, + } + + def __init__(self, **kwargs): + super(FlowAccessControlConfiguration, self).__init__(**kwargs) + self.triggers = kwargs.get('triggers', None) + self.contents = kwargs.get('contents', None) + self.actions = kwargs.get('actions', None) + self.workflow_management = kwargs.get('workflow_management', None) + + +class FlowAccessControlConfigurationPolicy(Model): + """The access control configuration policy. + + :param allowed_caller_ip_addresses: The allowed caller IP address ranges. + :type allowed_caller_ip_addresses: + list[~azure.mgmt.logic.models.IpAddressRange] + :param open_authentication_policies: The authentication policies for + workflow. + :type open_authentication_policies: + ~azure.mgmt.logic.models.OpenAuthenticationAccessPolicies + """ + + _attribute_map = { + 'allowed_caller_ip_addresses': {'key': 'allowedCallerIpAddresses', 'type': '[IpAddressRange]'}, + 'open_authentication_policies': {'key': 'openAuthenticationPolicies', 'type': 'OpenAuthenticationAccessPolicies'}, + } + + def __init__(self, **kwargs): + super(FlowAccessControlConfigurationPolicy, self).__init__(**kwargs) + self.allowed_caller_ip_addresses = kwargs.get('allowed_caller_ip_addresses', None) + self.open_authentication_policies = kwargs.get('open_authentication_policies', None) + + +class FlowEndpoints(Model): + """The flow endpoints configuration. + + :param outgoing_ip_addresses: The outgoing ip address. + :type outgoing_ip_addresses: list[~azure.mgmt.logic.models.IpAddress] + :param access_endpoint_ip_addresses: The access endpoint ip address. + :type access_endpoint_ip_addresses: + list[~azure.mgmt.logic.models.IpAddress] + """ + + _attribute_map = { + 'outgoing_ip_addresses': {'key': 'outgoingIpAddresses', 'type': '[IpAddress]'}, + 'access_endpoint_ip_addresses': {'key': 'accessEndpointIpAddresses', 'type': '[IpAddress]'}, + } + + def __init__(self, **kwargs): + super(FlowEndpoints, self).__init__(**kwargs) + self.outgoing_ip_addresses = kwargs.get('outgoing_ip_addresses', None) + self.access_endpoint_ip_addresses = kwargs.get('access_endpoint_ip_addresses', None) + + +class FlowEndpointsConfiguration(Model): + """The endpoints configuration. + + :param workflow: The workflow endpoints. + :type workflow: ~azure.mgmt.logic.models.FlowEndpoints + :param connector: The connector endpoints. + :type connector: ~azure.mgmt.logic.models.FlowEndpoints + """ + + _attribute_map = { + 'workflow': {'key': 'workflow', 'type': 'FlowEndpoints'}, + 'connector': {'key': 'connector', 'type': 'FlowEndpoints'}, + } + + def __init__(self, **kwargs): + super(FlowEndpointsConfiguration, self).__init__(**kwargs) + self.workflow = kwargs.get('workflow', None) + self.connector = kwargs.get('connector', None) + + +class GenerateUpgradedDefinitionParameters(Model): + """The parameters to generate upgraded definition. + + :param target_schema_version: The target schema version. + :type target_schema_version: str + """ + + _attribute_map = { + 'target_schema_version': {'key': 'targetSchemaVersion', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(GenerateUpgradedDefinitionParameters, self).__init__(**kwargs) + self.target_schema_version = kwargs.get('target_schema_version', None) + + +class GetCallbackUrlParameters(Model): + """The callback url parameters. + + :param not_after: The expiry time. + :type not_after: datetime + :param key_type: The key type. Possible values include: 'NotSpecified', + 'Primary', 'Secondary' + :type key_type: str or ~azure.mgmt.logic.models.KeyType + """ + + _attribute_map = { + 'not_after': {'key': 'notAfter', 'type': 'iso-8601'}, + 'key_type': {'key': 'keyType', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(GetCallbackUrlParameters, self).__init__(**kwargs) + self.not_after = kwargs.get('not_after', None) + self.key_type = kwargs.get('key_type', None) + + +class IntegrationAccount(Resource): + """The integration account. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar id: The resource id. + :vartype id: str + :ivar name: Gets the resource name. + :vartype name: str + :ivar type: Gets the resource type. + :vartype type: str + :param location: The resource location. + :type location: str + :param tags: The resource tags. + :type tags: dict[str, str] + :param integration_service_environment: The integration service + environment. + :type integration_service_environment: + ~azure.mgmt.logic.models.IntegrationServiceEnvironment + :param state: The workflow state. Possible values include: 'NotSpecified', + 'Completed', 'Enabled', 'Disabled', 'Deleted', 'Suspended' + :type state: str or ~azure.mgmt.logic.models.WorkflowState + :param sku: The sku. + :type sku: ~azure.mgmt.logic.models.IntegrationAccountSku + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'integration_service_environment': {'key': 'properties.integrationServiceEnvironment', 'type': 'IntegrationServiceEnvironment'}, + 'state': {'key': 'properties.state', 'type': 'str'}, + 'sku': {'key': 'sku', 'type': 'IntegrationAccountSku'}, + } + + def __init__(self, **kwargs): + super(IntegrationAccount, self).__init__(**kwargs) + self.integration_service_environment = kwargs.get('integration_service_environment', None) + self.state = kwargs.get('state', None) + self.sku = kwargs.get('sku', None) + + +class IntegrationAccountAgreement(Resource): + """The integration account agreement. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The resource id. + :vartype id: str + :ivar name: Gets the resource name. + :vartype name: str + :ivar type: Gets the resource type. + :vartype type: str + :param location: The resource location. + :type location: str + :param tags: The resource tags. + :type tags: dict[str, str] + :ivar created_time: The created time. + :vartype created_time: datetime + :ivar changed_time: The changed time. + :vartype changed_time: datetime + :param metadata: The metadata. + :type metadata: object + :param agreement_type: Required. The agreement type. Possible values + include: 'NotSpecified', 'AS2', 'X12', 'Edifact' + :type agreement_type: str or ~azure.mgmt.logic.models.AgreementType + :param host_partner: Required. The integration account partner that is set + as host partner for this agreement. + :type host_partner: str + :param guest_partner: Required. The integration account partner that is + set as guest partner for this agreement. + :type guest_partner: str + :param host_identity: Required. The business identity of the host partner. + :type host_identity: ~azure.mgmt.logic.models.BusinessIdentity + :param guest_identity: Required. The business identity of the guest + partner. + :type guest_identity: ~azure.mgmt.logic.models.BusinessIdentity + :param content: Required. The agreement content. + :type content: ~azure.mgmt.logic.models.AgreementContent + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'created_time': {'readonly': True}, + 'changed_time': {'readonly': True}, + 'agreement_type': {'required': True}, + 'host_partner': {'required': True}, + 'guest_partner': {'required': True}, + 'host_identity': {'required': True}, + 'guest_identity': {'required': True}, + 'content': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'created_time': {'key': 'properties.createdTime', 'type': 'iso-8601'}, + 'changed_time': {'key': 'properties.changedTime', 'type': 'iso-8601'}, + 'metadata': {'key': 'properties.metadata', 'type': 'object'}, + 'agreement_type': {'key': 'properties.agreementType', 'type': 'AgreementType'}, + 'host_partner': {'key': 'properties.hostPartner', 'type': 'str'}, + 'guest_partner': {'key': 'properties.guestPartner', 'type': 'str'}, + 'host_identity': {'key': 'properties.hostIdentity', 'type': 'BusinessIdentity'}, + 'guest_identity': {'key': 'properties.guestIdentity', 'type': 'BusinessIdentity'}, + 'content': {'key': 'properties.content', 'type': 'AgreementContent'}, + } + + def __init__(self, **kwargs): + super(IntegrationAccountAgreement, self).__init__(**kwargs) + self.created_time = None + self.changed_time = None + self.metadata = kwargs.get('metadata', None) + self.agreement_type = kwargs.get('agreement_type', None) + self.host_partner = kwargs.get('host_partner', None) + self.guest_partner = kwargs.get('guest_partner', None) + self.host_identity = kwargs.get('host_identity', None) + self.guest_identity = kwargs.get('guest_identity', None) + self.content = kwargs.get('content', None) + + +class IntegrationAccountAgreementFilter(Model): + """The integration account agreement filter for odata query. + + All required parameters must be populated in order to send to Azure. + + :param agreement_type: Required. The agreement type of integration account + agreement. Possible values include: 'NotSpecified', 'AS2', 'X12', + 'Edifact' + :type agreement_type: str or ~azure.mgmt.logic.models.AgreementType + """ + + _validation = { + 'agreement_type': {'required': True}, + } + + _attribute_map = { + 'agreement_type': {'key': 'agreementType', 'type': 'AgreementType'}, + } + + def __init__(self, **kwargs): + super(IntegrationAccountAgreementFilter, self).__init__(**kwargs) + self.agreement_type = kwargs.get('agreement_type', None) + + +class IntegrationAccountCertificate(Resource): + """The integration account certificate. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar id: The resource id. + :vartype id: str + :ivar name: Gets the resource name. + :vartype name: str + :ivar type: Gets the resource type. + :vartype type: str + :param location: The resource location. + :type location: str + :param tags: The resource tags. + :type tags: dict[str, str] + :ivar created_time: The created time. + :vartype created_time: datetime + :ivar changed_time: The changed time. + :vartype changed_time: datetime + :param metadata: The metadata. + :type metadata: object + :param key: The key details in the key vault. + :type key: ~azure.mgmt.logic.models.KeyVaultKeyReference + :param public_certificate: The public certificate. + :type public_certificate: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'created_time': {'readonly': True}, + 'changed_time': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'created_time': {'key': 'properties.createdTime', 'type': 'iso-8601'}, + 'changed_time': {'key': 'properties.changedTime', 'type': 'iso-8601'}, + 'metadata': {'key': 'properties.metadata', 'type': 'object'}, + 'key': {'key': 'properties.key', 'type': 'KeyVaultKeyReference'}, + 'public_certificate': {'key': 'properties.publicCertificate', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(IntegrationAccountCertificate, self).__init__(**kwargs) + self.created_time = None + self.changed_time = None + self.metadata = kwargs.get('metadata', None) + self.key = kwargs.get('key', None) + self.public_certificate = kwargs.get('public_certificate', None) + + +class IntegrationAccountMap(Resource): + """The integration account map. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The resource id. + :vartype id: str + :ivar name: Gets the resource name. + :vartype name: str + :ivar type: Gets the resource type. + :vartype type: str + :param location: The resource location. + :type location: str + :param tags: The resource tags. + :type tags: dict[str, str] + :param map_type: Required. The map type. Possible values include: + 'NotSpecified', 'Xslt', 'Xslt20', 'Xslt30', 'Liquid' + :type map_type: str or ~azure.mgmt.logic.models.MapType + :param parameters_schema: The parameters schema of integration account + map. + :type parameters_schema: + ~azure.mgmt.logic.models.IntegrationAccountMapPropertiesParametersSchema + :ivar created_time: The created time. + :vartype created_time: datetime + :ivar changed_time: The changed time. + :vartype changed_time: datetime + :param content: The content. + :type content: str + :param content_type: The content type. + :type content_type: str + :ivar content_link: The content link. + :vartype content_link: ~azure.mgmt.logic.models.ContentLink + :param metadata: The metadata. + :type metadata: object + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'map_type': {'required': True}, + 'created_time': {'readonly': True}, + 'changed_time': {'readonly': True}, + 'content_link': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'map_type': {'key': 'properties.mapType', 'type': 'str'}, + 'parameters_schema': {'key': 'properties.parametersSchema', 'type': 'IntegrationAccountMapPropertiesParametersSchema'}, + 'created_time': {'key': 'properties.createdTime', 'type': 'iso-8601'}, + 'changed_time': {'key': 'properties.changedTime', 'type': 'iso-8601'}, + 'content': {'key': 'properties.content', 'type': 'str'}, + 'content_type': {'key': 'properties.contentType', 'type': 'str'}, + 'content_link': {'key': 'properties.contentLink', 'type': 'ContentLink'}, + 'metadata': {'key': 'properties.metadata', 'type': 'object'}, + } + + def __init__(self, **kwargs): + super(IntegrationAccountMap, self).__init__(**kwargs) + self.map_type = kwargs.get('map_type', None) + self.parameters_schema = kwargs.get('parameters_schema', None) + self.created_time = None + self.changed_time = None + self.content = kwargs.get('content', None) + self.content_type = kwargs.get('content_type', None) + self.content_link = None + self.metadata = kwargs.get('metadata', None) + + +class IntegrationAccountMapFilter(Model): + """The integration account map filter for odata query. + + All required parameters must be populated in order to send to Azure. + + :param map_type: Required. The map type of integration account map. + Possible values include: 'NotSpecified', 'Xslt', 'Xslt20', 'Xslt30', + 'Liquid' + :type map_type: str or ~azure.mgmt.logic.models.MapType + """ + + _validation = { + 'map_type': {'required': True}, + } + + _attribute_map = { + 'map_type': {'key': 'mapType', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(IntegrationAccountMapFilter, self).__init__(**kwargs) + self.map_type = kwargs.get('map_type', None) + + +class IntegrationAccountMapPropertiesParametersSchema(Model): + """The parameters schema of integration account map. + + :param ref: The reference name. + :type ref: str + """ + + _attribute_map = { + 'ref': {'key': 'ref', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(IntegrationAccountMapPropertiesParametersSchema, self).__init__(**kwargs) + self.ref = kwargs.get('ref', None) + + +class IntegrationAccountPartner(Resource): + """The integration account partner. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The resource id. + :vartype id: str + :ivar name: Gets the resource name. + :vartype name: str + :ivar type: Gets the resource type. + :vartype type: str + :param location: The resource location. + :type location: str + :param tags: The resource tags. + :type tags: dict[str, str] + :param partner_type: Required. The partner type. Possible values include: + 'NotSpecified', 'B2B' + :type partner_type: str or ~azure.mgmt.logic.models.PartnerType + :ivar created_time: The created time. + :vartype created_time: datetime + :ivar changed_time: The changed time. + :vartype changed_time: datetime + :param metadata: The metadata. + :type metadata: object + :param content: Required. The partner content. + :type content: ~azure.mgmt.logic.models.PartnerContent + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'partner_type': {'required': True}, + 'created_time': {'readonly': True}, + 'changed_time': {'readonly': True}, + 'content': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'partner_type': {'key': 'properties.partnerType', 'type': 'str'}, + 'created_time': {'key': 'properties.createdTime', 'type': 'iso-8601'}, + 'changed_time': {'key': 'properties.changedTime', 'type': 'iso-8601'}, + 'metadata': {'key': 'properties.metadata', 'type': 'object'}, + 'content': {'key': 'properties.content', 'type': 'PartnerContent'}, + } + + def __init__(self, **kwargs): + super(IntegrationAccountPartner, self).__init__(**kwargs) + self.partner_type = kwargs.get('partner_type', None) + self.created_time = None + self.changed_time = None + self.metadata = kwargs.get('metadata', None) + self.content = kwargs.get('content', None) + + +class IntegrationAccountPartnerFilter(Model): + """The integration account partner filter for odata query. + + All required parameters must be populated in order to send to Azure. + + :param partner_type: Required. The partner type of integration account + partner. Possible values include: 'NotSpecified', 'B2B' + :type partner_type: str or ~azure.mgmt.logic.models.PartnerType + """ + + _validation = { + 'partner_type': {'required': True}, + } + + _attribute_map = { + 'partner_type': {'key': 'partnerType', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(IntegrationAccountPartnerFilter, self).__init__(**kwargs) + self.partner_type = kwargs.get('partner_type', None) + + +class IntegrationAccountSchema(Resource): + """The integration account schema. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The resource id. + :vartype id: str + :ivar name: Gets the resource name. + :vartype name: str + :ivar type: Gets the resource type. + :vartype type: str + :param location: The resource location. + :type location: str + :param tags: The resource tags. + :type tags: dict[str, str] + :param schema_type: Required. The schema type. Possible values include: + 'NotSpecified', 'Xml' + :type schema_type: str or ~azure.mgmt.logic.models.SchemaType + :param target_namespace: The target namespace of the schema. + :type target_namespace: str + :param document_name: The document name. + :type document_name: str + :param file_name: The file name. + :type file_name: str + :ivar created_time: The created time. + :vartype created_time: datetime + :ivar changed_time: The changed time. + :vartype changed_time: datetime + :param metadata: The metadata. + :type metadata: object + :param content: The content. + :type content: str + :param content_type: The content type. + :type content_type: str + :ivar content_link: The content link. + :vartype content_link: ~azure.mgmt.logic.models.ContentLink + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'schema_type': {'required': True}, + 'created_time': {'readonly': True}, + 'changed_time': {'readonly': True}, + 'content_link': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'schema_type': {'key': 'properties.schemaType', 'type': 'str'}, + 'target_namespace': {'key': 'properties.targetNamespace', 'type': 'str'}, + 'document_name': {'key': 'properties.documentName', 'type': 'str'}, + 'file_name': {'key': 'properties.fileName', 'type': 'str'}, + 'created_time': {'key': 'properties.createdTime', 'type': 'iso-8601'}, + 'changed_time': {'key': 'properties.changedTime', 'type': 'iso-8601'}, + 'metadata': {'key': 'properties.metadata', 'type': 'object'}, + 'content': {'key': 'properties.content', 'type': 'str'}, + 'content_type': {'key': 'properties.contentType', 'type': 'str'}, + 'content_link': {'key': 'properties.contentLink', 'type': 'ContentLink'}, + } + + def __init__(self, **kwargs): + super(IntegrationAccountSchema, self).__init__(**kwargs) + self.schema_type = kwargs.get('schema_type', None) + self.target_namespace = kwargs.get('target_namespace', None) + self.document_name = kwargs.get('document_name', None) + self.file_name = kwargs.get('file_name', None) + self.created_time = None + self.changed_time = None + self.metadata = kwargs.get('metadata', None) + self.content = kwargs.get('content', None) + self.content_type = kwargs.get('content_type', None) + self.content_link = None + + +class IntegrationAccountSchemaFilter(Model): + """The integration account schema filter for odata query. + + All required parameters must be populated in order to send to Azure. + + :param schema_type: Required. The schema type of integration account + schema. Possible values include: 'NotSpecified', 'Xml' + :type schema_type: str or ~azure.mgmt.logic.models.SchemaType + """ + + _validation = { + 'schema_type': {'required': True}, + } + + _attribute_map = { + 'schema_type': {'key': 'schemaType', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(IntegrationAccountSchemaFilter, self).__init__(**kwargs) + self.schema_type = kwargs.get('schema_type', None) + + +class IntegrationAccountSession(Resource): + """The integration account session. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar id: The resource id. + :vartype id: str + :ivar name: Gets the resource name. + :vartype name: str + :ivar type: Gets the resource type. + :vartype type: str + :param location: The resource location. + :type location: str + :param tags: The resource tags. + :type tags: dict[str, str] + :ivar created_time: The created time. + :vartype created_time: datetime + :ivar changed_time: The changed time. + :vartype changed_time: datetime + :param content: The session content. + :type content: object + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'created_time': {'readonly': True}, + 'changed_time': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'created_time': {'key': 'properties.createdTime', 'type': 'iso-8601'}, + 'changed_time': {'key': 'properties.changedTime', 'type': 'iso-8601'}, + 'content': {'key': 'properties.content', 'type': 'object'}, + } + + def __init__(self, **kwargs): + super(IntegrationAccountSession, self).__init__(**kwargs) + self.created_time = None + self.changed_time = None + self.content = kwargs.get('content', None) + + +class IntegrationAccountSessionFilter(Model): + """The integration account session filter. + + All required parameters must be populated in order to send to Azure. + + :param changed_time: Required. The changed time of integration account + sessions. + :type changed_time: datetime + """ + + _validation = { + 'changed_time': {'required': True}, + } + + _attribute_map = { + 'changed_time': {'key': 'changedTime', 'type': 'iso-8601'}, + } + + def __init__(self, **kwargs): + super(IntegrationAccountSessionFilter, self).__init__(**kwargs) + self.changed_time = kwargs.get('changed_time', None) + + +class IntegrationAccountSku(Model): + """The integration account sku. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. The sku name. Possible values include: + 'NotSpecified', 'Free', 'Basic', 'Standard' + :type name: str or ~azure.mgmt.logic.models.IntegrationAccountSkuName + """ + + _validation = { + 'name': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(IntegrationAccountSku, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + + +class IntegrationServiceEnvironmenEncryptionConfiguration(Model): + """The encryption configuration for the integration service environment. + + :param encryption_key_reference: The encryption key reference. + :type encryption_key_reference: + ~azure.mgmt.logic.models.IntegrationServiceEnvironmenEncryptionKeyReference + """ + + _attribute_map = { + 'encryption_key_reference': {'key': 'encryptionKeyReference', 'type': 'IntegrationServiceEnvironmenEncryptionKeyReference'}, + } + + def __init__(self, **kwargs): + super(IntegrationServiceEnvironmenEncryptionConfiguration, self).__init__(**kwargs) + self.encryption_key_reference = kwargs.get('encryption_key_reference', None) + + +class IntegrationServiceEnvironmenEncryptionKeyReference(Model): + """The encryption key details for the integration service environment. + + :param key_vault: The key vault reference. + :type key_vault: ~azure.mgmt.logic.models.ResourceReference + :param key_name: Gets the key name in the Key Vault. + :type key_name: str + :param key_version: Gets the version of the key specified in the keyName + property. + :type key_version: str + """ + + _attribute_map = { + 'key_vault': {'key': 'keyVault', 'type': 'ResourceReference'}, + 'key_name': {'key': 'keyName', 'type': 'str'}, + 'key_version': {'key': 'keyVersion', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(IntegrationServiceEnvironmenEncryptionKeyReference, self).__init__(**kwargs) + self.key_vault = kwargs.get('key_vault', None) + self.key_name = kwargs.get('key_name', None) + self.key_version = kwargs.get('key_version', None) + + +class IntegrationServiceEnvironment(Resource): + """The integration service environment. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar id: The resource id. + :vartype id: str + :ivar name: Gets the resource name. + :vartype name: str + :ivar type: Gets the resource type. + :vartype type: str + :param location: The resource location. + :type location: str + :param tags: The resource tags. + :type tags: dict[str, str] + :param properties: The integration service environment properties. + :type properties: + ~azure.mgmt.logic.models.IntegrationServiceEnvironmentProperties + :param sku: The sku. + :type sku: ~azure.mgmt.logic.models.IntegrationServiceEnvironmentSku + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'properties': {'key': 'properties', 'type': 'IntegrationServiceEnvironmentProperties'}, + 'sku': {'key': 'sku', 'type': 'IntegrationServiceEnvironmentSku'}, + } + + def __init__(self, **kwargs): + super(IntegrationServiceEnvironment, self).__init__(**kwargs) + self.properties = kwargs.get('properties', None) + self.sku = kwargs.get('sku', None) + + +class IntegrationServiceEnvironmentAccessEndpoint(Model): + """The integration service environment access endpoint. + + :param type: The access endpoint type. Possible values include: + 'NotSpecified', 'External', 'Internal' + :type type: str or + ~azure.mgmt.logic.models.IntegrationServiceEnvironmentAccessEndpointType + """ + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(IntegrationServiceEnvironmentAccessEndpoint, self).__init__(**kwargs) + self.type = kwargs.get('type', None) + + +class IntegrationServiceEnvironmentNetworkDependency(Model): + """The azure async operation resource. + + :param category: The network dependency category type. Possible values + include: 'NotSpecified', 'AzureStorage', 'AzureManagement', + 'AzureActiveDirectory', 'SSLCertificateVerification', + 'DiagnosticLogsAndMetrics', 'IntegrationServiceEnvironmentConnectors', + 'RedisCache', 'AccessEndpoints', 'RecoveryService', 'SQL', + 'RegionalService' + :type category: str or + ~azure.mgmt.logic.models.IntegrationServiceEnvironmentNetworkDependencyCategoryType + :param display_name: The display name. + :type display_name: str + :param endpoints: The endpoints. + :type endpoints: + list[~azure.mgmt.logic.models.IntegrationServiceEnvironmentNetworkEndpoint] + """ + + _attribute_map = { + 'category': {'key': 'category', 'type': 'str'}, + 'display_name': {'key': 'displayName', 'type': 'str'}, + 'endpoints': {'key': 'endpoints', 'type': '[IntegrationServiceEnvironmentNetworkEndpoint]'}, + } + + def __init__(self, **kwargs): + super(IntegrationServiceEnvironmentNetworkDependency, self).__init__(**kwargs) + self.category = kwargs.get('category', None) + self.display_name = kwargs.get('display_name', None) + self.endpoints = kwargs.get('endpoints', None) + + +class IntegrationServiceEnvironmentNetworkDependencyHealth(Model): + """The integration service environment subnet network health. + + :param error: The error if any occurred during the operation. + :type error: ~azure.mgmt.logic.models.ExtendedErrorInfo + :param state: The network dependency health state. Possible values + include: 'NotSpecified', 'Healthy', 'Unhealthy', 'Unknown' + :type state: str or + ~azure.mgmt.logic.models.IntegrationServiceEnvironmentNetworkDependencyHealthState + """ + + _attribute_map = { + 'error': {'key': 'error', 'type': 'ExtendedErrorInfo'}, + 'state': {'key': 'state', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(IntegrationServiceEnvironmentNetworkDependencyHealth, self).__init__(**kwargs) + self.error = kwargs.get('error', None) + self.state = kwargs.get('state', None) + + +class IntegrationServiceEnvironmentNetworkEndpoint(Model): + """The network endpoint. + + :param accessibility: The accessibility state. Possible values include: + 'NotSpecified', 'Unknown', 'Available', 'NotAvailable' + :type accessibility: str or + ~azure.mgmt.logic.models.IntegrationServiceEnvironmentNetworkEndPointAccessibilityState + :param domain_name: The domain name. + :type domain_name: str + :param ports: The ports. + :type ports: list[str] + """ + + _attribute_map = { + 'accessibility': {'key': 'accessibility', 'type': 'str'}, + 'domain_name': {'key': 'domainName', 'type': 'str'}, + 'ports': {'key': 'ports', 'type': '[str]'}, + } + + def __init__(self, **kwargs): + super(IntegrationServiceEnvironmentNetworkEndpoint, self).__init__(**kwargs) + self.accessibility = kwargs.get('accessibility', None) + self.domain_name = kwargs.get('domain_name', None) + self.ports = kwargs.get('ports', None) + + +class IntegrationServiceEnvironmentProperties(Model): + """The integration service environment properties. + + :param provisioning_state: The provisioning state. Possible values + include: 'NotSpecified', 'Accepted', 'Running', 'Ready', 'Creating', + 'Created', 'Deleting', 'Deleted', 'Canceled', 'Failed', 'Succeeded', + 'Moving', 'Updating', 'Registering', 'Registered', 'Unregistering', + 'Unregistered', 'Completed', 'Renewing', 'Pending', 'Waiting', + 'InProgress' + :type provisioning_state: str or + ~azure.mgmt.logic.models.WorkflowProvisioningState + :param state: The integration service environment state. Possible values + include: 'NotSpecified', 'Completed', 'Enabled', 'Disabled', 'Deleted', + 'Suspended' + :type state: str or ~azure.mgmt.logic.models.WorkflowState + :param integration_service_environment_id: Gets the tracking id. + :type integration_service_environment_id: str + :param endpoints_configuration: The endpoints configuration. + :type endpoints_configuration: + ~azure.mgmt.logic.models.FlowEndpointsConfiguration + :param network_configuration: The network configuration. + :type network_configuration: ~azure.mgmt.logic.models.NetworkConfiguration + :param encryption_configuration: The encryption configuration. + :type encryption_configuration: + ~azure.mgmt.logic.models.IntegrationServiceEnvironmenEncryptionConfiguration + """ + + _attribute_map = { + 'provisioning_state': {'key': 'provisioningState', 'type': 'str'}, + 'state': {'key': 'state', 'type': 'str'}, + 'integration_service_environment_id': {'key': 'integrationServiceEnvironmentId', 'type': 'str'}, + 'endpoints_configuration': {'key': 'endpointsConfiguration', 'type': 'FlowEndpointsConfiguration'}, + 'network_configuration': {'key': 'networkConfiguration', 'type': 'NetworkConfiguration'}, + 'encryption_configuration': {'key': 'encryptionConfiguration', 'type': 'IntegrationServiceEnvironmenEncryptionConfiguration'}, + } + + def __init__(self, **kwargs): + super(IntegrationServiceEnvironmentProperties, self).__init__(**kwargs) + self.provisioning_state = kwargs.get('provisioning_state', None) + self.state = kwargs.get('state', None) + self.integration_service_environment_id = kwargs.get('integration_service_environment_id', None) + self.endpoints_configuration = kwargs.get('endpoints_configuration', None) + self.network_configuration = kwargs.get('network_configuration', None) + self.encryption_configuration = kwargs.get('encryption_configuration', None) + + +class IntegrationServiceEnvironmentSku(Model): + """The integration service environment sku. + + :param name: The sku name. Possible values include: 'NotSpecified', + 'Premium', 'Developer' + :type name: str or + ~azure.mgmt.logic.models.IntegrationServiceEnvironmentSkuName + :param capacity: The sku capacity. + :type capacity: int + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'capacity': {'key': 'capacity', 'type': 'int'}, + } + + def __init__(self, **kwargs): + super(IntegrationServiceEnvironmentSku, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.capacity = kwargs.get('capacity', None) + + +class IntegrationServiceEnvironmentSkuCapacity(Model): + """The integration service environment sku capacity. + + :param minimum: The minimum capacity. + :type minimum: int + :param maximum: The maximum capacity. + :type maximum: int + :param default: The default capacity. + :type default: int + :param scale_type: The sku scale type. Possible values include: 'Manual', + 'Automatic', 'None' + :type scale_type: str or + ~azure.mgmt.logic.models.IntegrationServiceEnvironmentSkuScaleType + """ + + _attribute_map = { + 'minimum': {'key': 'minimum', 'type': 'int'}, + 'maximum': {'key': 'maximum', 'type': 'int'}, + 'default': {'key': 'default', 'type': 'int'}, + 'scale_type': {'key': 'scaleType', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(IntegrationServiceEnvironmentSkuCapacity, self).__init__(**kwargs) + self.minimum = kwargs.get('minimum', None) + self.maximum = kwargs.get('maximum', None) + self.default = kwargs.get('default', None) + self.scale_type = kwargs.get('scale_type', None) + + +class IntegrationServiceEnvironmentSkuDefinition(Model): + """The integration service environment sku definition. + + :param resource_type: The resource type. + :type resource_type: str + :param sku: The sku. + :type sku: + ~azure.mgmt.logic.models.IntegrationServiceEnvironmentSkuDefinitionSku + :param capacity: The sku capacity. + :type capacity: + ~azure.mgmt.logic.models.IntegrationServiceEnvironmentSkuCapacity + """ + + _attribute_map = { + 'resource_type': {'key': 'resourceType', 'type': 'str'}, + 'sku': {'key': 'sku', 'type': 'IntegrationServiceEnvironmentSkuDefinitionSku'}, + 'capacity': {'key': 'capacity', 'type': 'IntegrationServiceEnvironmentSkuCapacity'}, + } + + def __init__(self, **kwargs): + super(IntegrationServiceEnvironmentSkuDefinition, self).__init__(**kwargs) + self.resource_type = kwargs.get('resource_type', None) + self.sku = kwargs.get('sku', None) + self.capacity = kwargs.get('capacity', None) + + +class IntegrationServiceEnvironmentSkuDefinitionSku(Model): + """The sku. + + :param name: The sku name. Possible values include: 'NotSpecified', + 'Premium', 'Developer' + :type name: str or + ~azure.mgmt.logic.models.IntegrationServiceEnvironmentSkuName + :param tier: The sku tier. + :type tier: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'tier': {'key': 'tier', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(IntegrationServiceEnvironmentSkuDefinitionSku, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.tier = kwargs.get('tier', None) + + +class IntegrationServiceEnvironmentSubnetNetworkHealth(Model): + """The integration service environment subnet network health. + + All required parameters must be populated in order to send to Azure. + + :param outbound_network_dependencies: The outbound network dependencies. + :type outbound_network_dependencies: + list[~azure.mgmt.logic.models.IntegrationServiceEnvironmentNetworkDependency] + :param outbound_network_health: The integration service environment + network health. + :type outbound_network_health: + ~azure.mgmt.logic.models.IntegrationServiceEnvironmentNetworkDependencyHealth + :param network_dependency_health_state: Required. The integration service + environment network health state. Possible values include: 'NotSpecified', + 'Unknown', 'Available', 'NotAvailable' + :type network_dependency_health_state: str or + ~azure.mgmt.logic.models.IntegrationServiceEnvironmentNetworkEndPointAccessibilityState + """ + + _validation = { + 'network_dependency_health_state': {'required': True}, + } + + _attribute_map = { + 'outbound_network_dependencies': {'key': 'outboundNetworkDependencies', 'type': '[IntegrationServiceEnvironmentNetworkDependency]'}, + 'outbound_network_health': {'key': 'outboundNetworkHealth', 'type': 'IntegrationServiceEnvironmentNetworkDependencyHealth'}, + 'network_dependency_health_state': {'key': 'networkDependencyHealthState', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(IntegrationServiceEnvironmentSubnetNetworkHealth, self).__init__(**kwargs) + self.outbound_network_dependencies = kwargs.get('outbound_network_dependencies', None) + self.outbound_network_health = kwargs.get('outbound_network_health', None) + self.network_dependency_health_state = kwargs.get('network_dependency_health_state', None) + + +class IpAddress(Model): + """The ip address. + + :param address: The address. + :type address: str + """ + + _attribute_map = { + 'address': {'key': 'address', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(IpAddress, self).__init__(**kwargs) + self.address = kwargs.get('address', None) + + +class IpAddressRange(Model): + """The ip address range. + + :param address_range: The IP address range. + :type address_range: str + """ + + _attribute_map = { + 'address_range': {'key': 'addressRange', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(IpAddressRange, self).__init__(**kwargs) + self.address_range = kwargs.get('address_range', None) + + +class JsonSchema(Model): + """The JSON schema. + + :param title: The JSON title. + :type title: str + :param content: The JSON content. + :type content: str + """ + + _attribute_map = { + 'title': {'key': 'title', 'type': 'str'}, + 'content': {'key': 'content', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(JsonSchema, self).__init__(**kwargs) + self.title = kwargs.get('title', None) + self.content = kwargs.get('content', None) + + +class KeyVaultKey(Model): + """The key vault key. + + :param kid: The key id. + :type kid: str + :param attributes: The key attributes. + :type attributes: ~azure.mgmt.logic.models.KeyVaultKeyAttributes + """ + + _attribute_map = { + 'kid': {'key': 'kid', 'type': 'str'}, + 'attributes': {'key': 'attributes', 'type': 'KeyVaultKeyAttributes'}, + } + + def __init__(self, **kwargs): + super(KeyVaultKey, self).__init__(**kwargs) + self.kid = kwargs.get('kid', None) + self.attributes = kwargs.get('attributes', None) + + +class KeyVaultKeyAttributes(Model): + """The key attributes. + + :param enabled: Whether the key is enabled or not. + :type enabled: bool + :param created: When the key was created. + :type created: long + :param updated: When the key was updated. + :type updated: long + """ + + _attribute_map = { + 'enabled': {'key': 'enabled', 'type': 'bool'}, + 'created': {'key': 'created', 'type': 'long'}, + 'updated': {'key': 'updated', 'type': 'long'}, + } + + def __init__(self, **kwargs): + super(KeyVaultKeyAttributes, self).__init__(**kwargs) + self.enabled = kwargs.get('enabled', None) + self.created = kwargs.get('created', None) + self.updated = kwargs.get('updated', None) + + +class KeyVaultKeyReference(Model): + """The reference to the key vault key. + + All required parameters must be populated in order to send to Azure. + + :param key_vault: Required. The key vault reference. + :type key_vault: ~azure.mgmt.logic.models.KeyVaultKeyReferenceKeyVault + :param key_name: Required. The private key name in key vault. + :type key_name: str + :param key_version: The private key version in key vault. + :type key_version: str + """ + + _validation = { + 'key_vault': {'required': True}, + 'key_name': {'required': True}, + } + + _attribute_map = { + 'key_vault': {'key': 'keyVault', 'type': 'KeyVaultKeyReferenceKeyVault'}, + 'key_name': {'key': 'keyName', 'type': 'str'}, + 'key_version': {'key': 'keyVersion', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(KeyVaultKeyReference, self).__init__(**kwargs) + self.key_vault = kwargs.get('key_vault', None) + self.key_name = kwargs.get('key_name', None) + self.key_version = kwargs.get('key_version', None) + + +class KeyVaultKeyReferenceKeyVault(Model): + """The key vault reference. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :param id: The resource id. + :type id: str + :ivar name: The resource name. + :vartype name: str + :ivar type: The resource type. + :vartype type: str + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(KeyVaultKeyReferenceKeyVault, self).__init__(**kwargs) + self.id = kwargs.get('id', None) + self.name = None + self.type = None + + +class KeyVaultReference(ResourceReference): + """The key vault reference. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :param id: The resource id. + :type id: str + :ivar name: Gets the resource name. + :vartype name: str + :ivar type: Gets the resource type. + :vartype type: str + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(KeyVaultReference, self).__init__(**kwargs) + + +class ListKeyVaultKeysDefinition(Model): + """The list key vault keys definition. + + All required parameters must be populated in order to send to Azure. + + :param key_vault: Required. The key vault reference. + :type key_vault: ~azure.mgmt.logic.models.KeyVaultReference + :param skip_token: The skip token. + :type skip_token: str + """ + + _validation = { + 'key_vault': {'required': True}, + } + + _attribute_map = { + 'key_vault': {'key': 'keyVault', 'type': 'KeyVaultReference'}, + 'skip_token': {'key': 'skipToken', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(ListKeyVaultKeysDefinition, self).__init__(**kwargs) + self.key_vault = kwargs.get('key_vault', None) + self.skip_token = kwargs.get('skip_token', None) + + +class ManagedApi(Resource): + """The managed api definition. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar id: The resource id. + :vartype id: str + :ivar name: Gets the resource name. + :vartype name: str + :ivar type: Gets the resource type. + :vartype type: str + :param location: The resource location. + :type location: str + :param tags: The resource tags. + :type tags: dict[str, str] + :param properties: The api resource properties. + :type properties: ~azure.mgmt.logic.models.ApiResourceProperties + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'properties': {'key': 'properties', 'type': 'ApiResourceProperties'}, + } + + def __init__(self, **kwargs): + super(ManagedApi, self).__init__(**kwargs) + self.properties = kwargs.get('properties', None) + + +class NetworkConfiguration(Model): + """The network configuration. + + :param virtual_network_address_space: Gets the virtual network address + space. + :type virtual_network_address_space: str + :param access_endpoint: The access endpoint. + :type access_endpoint: + ~azure.mgmt.logic.models.IntegrationServiceEnvironmentAccessEndpoint + :param subnets: The subnets. + :type subnets: list[~azure.mgmt.logic.models.ResourceReference] + """ + + _attribute_map = { + 'virtual_network_address_space': {'key': 'virtualNetworkAddressSpace', 'type': 'str'}, + 'access_endpoint': {'key': 'accessEndpoint', 'type': 'IntegrationServiceEnvironmentAccessEndpoint'}, + 'subnets': {'key': 'subnets', 'type': '[ResourceReference]'}, + } + + def __init__(self, **kwargs): + super(NetworkConfiguration, self).__init__(**kwargs) + self.virtual_network_address_space = kwargs.get('virtual_network_address_space', None) + self.access_endpoint = kwargs.get('access_endpoint', None) + self.subnets = kwargs.get('subnets', None) + + +class OpenAuthenticationAccessPolicies(Model): + """AuthenticationPolicy of type Open. + + :param policies: Open authentication policies. + :type policies: dict[str, + ~azure.mgmt.logic.models.OpenAuthenticationAccessPolicy] + """ + + _attribute_map = { + 'policies': {'key': 'policies', 'type': '{OpenAuthenticationAccessPolicy}'}, + } + + def __init__(self, **kwargs): + super(OpenAuthenticationAccessPolicies, self).__init__(**kwargs) + self.policies = kwargs.get('policies', None) + + +class OpenAuthenticationAccessPolicy(Model): + """Open authentication access policy defined by user. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar type: Type of provider for OAuth. Possible values include: 'AAD' + :vartype type: str or + ~azure.mgmt.logic.models.OpenAuthenticationProviderType + :param claims: The access policy claims. + :type claims: list[~azure.mgmt.logic.models.OpenAuthenticationPolicyClaim] + """ + + _validation = { + 'type': {'readonly': True}, + } + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + 'claims': {'key': 'claims', 'type': '[OpenAuthenticationPolicyClaim]'}, + } + + def __init__(self, **kwargs): + super(OpenAuthenticationAccessPolicy, self).__init__(**kwargs) + self.type = None + self.claims = kwargs.get('claims', None) + + +class OpenAuthenticationPolicyClaim(Model): + """Open authentication policy claim. + + :param name: The name of the claim. + :type name: str + :param value: The value of the claim. + :type value: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'value': {'key': 'value', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(OpenAuthenticationPolicyClaim, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.value = kwargs.get('value', None) + + +class Operation(Model): + """Logic REST API operation. + + :param origin: Operation: origin + :type origin: str + :param name: Operation name: {provider}/{resource}/{operation} + :type name: str + :param display: The object that represents the operation. + :type display: ~azure.mgmt.logic.models.OperationDisplay + :param properties: The properties. + :type properties: object + """ + + _attribute_map = { + 'origin': {'key': 'origin', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'display': {'key': 'display', 'type': 'OperationDisplay'}, + 'properties': {'key': 'properties', 'type': 'object'}, + } + + def __init__(self, **kwargs): + super(Operation, self).__init__(**kwargs) + self.origin = kwargs.get('origin', None) + self.name = kwargs.get('name', None) + self.display = kwargs.get('display', None) + self.properties = kwargs.get('properties', None) + + +class OperationDisplay(Model): + """The object that represents the operation. + + :param provider: Service provider: Microsoft.Logic + :type provider: str + :param resource: Resource on which the operation is performed: Profile, + endpoint, etc. + :type resource: str + :param operation: Operation type: Read, write, delete, etc. + :type operation: str + :param description: Operation: description. + :type description: str + """ + + _attribute_map = { + 'provider': {'key': 'provider', 'type': 'str'}, + 'resource': {'key': 'resource', 'type': 'str'}, + 'operation': {'key': 'operation', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(OperationDisplay, self).__init__(**kwargs) + self.provider = kwargs.get('provider', None) + self.resource = kwargs.get('resource', None) + self.operation = kwargs.get('operation', None) + self.description = kwargs.get('description', None) + + +class OperationResultProperties(Model): + """The run operation result properties. + + :param start_time: The start time of the workflow scope repetition. + :type start_time: datetime + :param end_time: The end time of the workflow scope repetition. + :type end_time: datetime + :param correlation: The correlation properties. + :type correlation: ~azure.mgmt.logic.models.RunActionCorrelation + :param status: The status of the workflow scope repetition. Possible + values include: 'NotSpecified', 'Paused', 'Running', 'Waiting', + 'Succeeded', 'Skipped', 'Suspended', 'Cancelled', 'Failed', 'Faulted', + 'TimedOut', 'Aborted', 'Ignored' + :type status: str or ~azure.mgmt.logic.models.WorkflowStatus + :param code: The workflow scope repetition code. + :type code: str + :param error: + :type error: object + """ + + _attribute_map = { + 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, + 'end_time': {'key': 'endTime', 'type': 'iso-8601'}, + 'correlation': {'key': 'correlation', 'type': 'RunActionCorrelation'}, + 'status': {'key': 'status', 'type': 'str'}, + 'code': {'key': 'code', 'type': 'str'}, + 'error': {'key': 'error', 'type': 'object'}, + } + + def __init__(self, **kwargs): + super(OperationResultProperties, self).__init__(**kwargs) + self.start_time = kwargs.get('start_time', None) + self.end_time = kwargs.get('end_time', None) + self.correlation = kwargs.get('correlation', None) + self.status = kwargs.get('status', None) + self.code = kwargs.get('code', None) + self.error = kwargs.get('error', None) + + +class OperationResult(OperationResultProperties): + """The operation result definition. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :param start_time: The start time of the workflow scope repetition. + :type start_time: datetime + :param end_time: The end time of the workflow scope repetition. + :type end_time: datetime + :param correlation: The correlation properties. + :type correlation: ~azure.mgmt.logic.models.RunActionCorrelation + :param status: The status of the workflow scope repetition. Possible + values include: 'NotSpecified', 'Paused', 'Running', 'Waiting', + 'Succeeded', 'Skipped', 'Suspended', 'Cancelled', 'Failed', 'Faulted', + 'TimedOut', 'Aborted', 'Ignored' + :type status: str or ~azure.mgmt.logic.models.WorkflowStatus + :param code: The workflow scope repetition code. + :type code: str + :param error: + :type error: object + :ivar tracking_id: Gets the tracking id. + :vartype tracking_id: str + :ivar inputs: Gets the inputs. + :vartype inputs: object + :ivar inputs_link: Gets the link to inputs. + :vartype inputs_link: ~azure.mgmt.logic.models.ContentLink + :ivar outputs: Gets the outputs. + :vartype outputs: object + :ivar outputs_link: Gets the link to outputs. + :vartype outputs_link: ~azure.mgmt.logic.models.ContentLink + :ivar tracked_properties: Gets the tracked properties. + :vartype tracked_properties: object + :param retry_history: Gets the retry histories. + :type retry_history: list[~azure.mgmt.logic.models.RetryHistory] + :param iteration_count: + :type iteration_count: int + """ + + _validation = { + 'tracking_id': {'readonly': True}, + 'inputs': {'readonly': True}, + 'inputs_link': {'readonly': True}, + 'outputs': {'readonly': True}, + 'outputs_link': {'readonly': True}, + 'tracked_properties': {'readonly': True}, + } + + _attribute_map = { + 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, + 'end_time': {'key': 'endTime', 'type': 'iso-8601'}, + 'correlation': {'key': 'correlation', 'type': 'RunActionCorrelation'}, + 'status': {'key': 'status', 'type': 'str'}, + 'code': {'key': 'code', 'type': 'str'}, + 'error': {'key': 'error', 'type': 'object'}, + 'tracking_id': {'key': 'trackingId', 'type': 'str'}, + 'inputs': {'key': 'inputs', 'type': 'object'}, + 'inputs_link': {'key': 'inputsLink', 'type': 'ContentLink'}, + 'outputs': {'key': 'outputs', 'type': 'object'}, + 'outputs_link': {'key': 'outputsLink', 'type': 'ContentLink'}, + 'tracked_properties': {'key': 'trackedProperties', 'type': 'object'}, + 'retry_history': {'key': 'retryHistory', 'type': '[RetryHistory]'}, + 'iteration_count': {'key': 'iterationCount', 'type': 'int'}, + } + + def __init__(self, **kwargs): + super(OperationResult, self).__init__(**kwargs) + self.tracking_id = None + self.inputs = None + self.inputs_link = None + self.outputs = None + self.outputs_link = None + self.tracked_properties = None + self.retry_history = kwargs.get('retry_history', None) + self.iteration_count = kwargs.get('iteration_count', None) + + +class PartnerContent(Model): + """The integration account partner content. + + :param b2b: The B2B partner content. + :type b2b: ~azure.mgmt.logic.models.B2BPartnerContent + """ + + _attribute_map = { + 'b2b': {'key': 'b2b', 'type': 'B2BPartnerContent'}, + } + + def __init__(self, **kwargs): + super(PartnerContent, self).__init__(**kwargs) + self.b2b = kwargs.get('b2b', None) + + +class RecurrenceSchedule(Model): + """The recurrence schedule. + + :param minutes: The minutes. + :type minutes: list[int] + :param hours: The hours. + :type hours: list[int] + :param week_days: The days of the week. + :type week_days: list[str or ~azure.mgmt.logic.models.DaysOfWeek] + :param month_days: The month days. + :type month_days: list[int] + :param monthly_occurrences: The monthly occurrences. + :type monthly_occurrences: + list[~azure.mgmt.logic.models.RecurrenceScheduleOccurrence] + """ + + _attribute_map = { + 'minutes': {'key': 'minutes', 'type': '[int]'}, + 'hours': {'key': 'hours', 'type': '[int]'}, + 'week_days': {'key': 'weekDays', 'type': '[DaysOfWeek]'}, + 'month_days': {'key': 'monthDays', 'type': '[int]'}, + 'monthly_occurrences': {'key': 'monthlyOccurrences', 'type': '[RecurrenceScheduleOccurrence]'}, + } + + def __init__(self, **kwargs): + super(RecurrenceSchedule, self).__init__(**kwargs) + self.minutes = kwargs.get('minutes', None) + self.hours = kwargs.get('hours', None) + self.week_days = kwargs.get('week_days', None) + self.month_days = kwargs.get('month_days', None) + self.monthly_occurrences = kwargs.get('monthly_occurrences', None) + + +class RecurrenceScheduleOccurrence(Model): + """The recurrence schedule occurrence. + + :param day: The day of the week. Possible values include: 'Sunday', + 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday' + :type day: str or ~azure.mgmt.logic.models.DayOfWeek + :param occurrence: The occurrence. + :type occurrence: int + """ + + _attribute_map = { + 'day': {'key': 'day', 'type': 'DayOfWeek'}, + 'occurrence': {'key': 'occurrence', 'type': 'int'}, + } + + def __init__(self, **kwargs): + super(RecurrenceScheduleOccurrence, self).__init__(**kwargs) + self.day = kwargs.get('day', None) + self.occurrence = kwargs.get('occurrence', None) + + +class RegenerateActionParameter(Model): + """The access key regenerate action content. + + :param key_type: The key type. Possible values include: 'NotSpecified', + 'Primary', 'Secondary' + :type key_type: str or ~azure.mgmt.logic.models.KeyType + """ + + _attribute_map = { + 'key_type': {'key': 'keyType', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(RegenerateActionParameter, self).__init__(**kwargs) + self.key_type = kwargs.get('key_type', None) + + +class RepetitionIndex(Model): + """The workflow run action repetition index. + + All required parameters must be populated in order to send to Azure. + + :param scope_name: The scope. + :type scope_name: str + :param item_index: Required. The index. + :type item_index: int + """ + + _validation = { + 'item_index': {'required': True}, + } + + _attribute_map = { + 'scope_name': {'key': 'scopeName', 'type': 'str'}, + 'item_index': {'key': 'itemIndex', 'type': 'int'}, + } + + def __init__(self, **kwargs): + super(RepetitionIndex, self).__init__(**kwargs) + self.scope_name = kwargs.get('scope_name', None) + self.item_index = kwargs.get('item_index', None) + + +class Request(Model): + """A request. + + :param headers: A list of all the headers attached to the request. + :type headers: object + :param uri: The destination for the request. + :type uri: str + :param method: The HTTP method used for the request. + :type method: str + """ + + _attribute_map = { + 'headers': {'key': 'headers', 'type': 'object'}, + 'uri': {'key': 'uri', 'type': 'str'}, + 'method': {'key': 'method', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(Request, self).__init__(**kwargs) + self.headers = kwargs.get('headers', None) + self.uri = kwargs.get('uri', None) + self.method = kwargs.get('method', None) + + +class RequestHistory(Resource): + """The request history. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar id: The resource id. + :vartype id: str + :ivar name: Gets the resource name. + :vartype name: str + :ivar type: Gets the resource type. + :vartype type: str + :param location: The resource location. + :type location: str + :param tags: The resource tags. + :type tags: dict[str, str] + :param properties: The request history properties. + :type properties: ~azure.mgmt.logic.models.RequestHistoryProperties + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'properties': {'key': 'properties', 'type': 'RequestHistoryProperties'}, + } + + def __init__(self, **kwargs): + super(RequestHistory, self).__init__(**kwargs) + self.properties = kwargs.get('properties', None) + + +class RequestHistoryProperties(Model): + """The request history. + + :param start_time: The time the request started. + :type start_time: datetime + :param end_time: The time the request ended. + :type end_time: datetime + :param request: The request. + :type request: ~azure.mgmt.logic.models.Request + :param response: The response. + :type response: ~azure.mgmt.logic.models.Response + """ + + _attribute_map = { + 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, + 'end_time': {'key': 'endTime', 'type': 'iso-8601'}, + 'request': {'key': 'request', 'type': 'Request'}, + 'response': {'key': 'response', 'type': 'Response'}, + } + + def __init__(self, **kwargs): + super(RequestHistoryProperties, self).__init__(**kwargs) + self.start_time = kwargs.get('start_time', None) + self.end_time = kwargs.get('end_time', None) + self.request = kwargs.get('request', None) + self.response = kwargs.get('response', None) + + +class Response(Model): + """A response. + + :param headers: A list of all the headers attached to the response. + :type headers: object + :param status_code: The status code of the response. + :type status_code: int + :param body_link: Details on the location of the body content. + :type body_link: ~azure.mgmt.logic.models.ContentLink + """ + + _attribute_map = { + 'headers': {'key': 'headers', 'type': 'object'}, + 'status_code': {'key': 'statusCode', 'type': 'int'}, + 'body_link': {'key': 'bodyLink', 'type': 'ContentLink'}, + } + + def __init__(self, **kwargs): + super(Response, self).__init__(**kwargs) + self.headers = kwargs.get('headers', None) + self.status_code = kwargs.get('status_code', None) + self.body_link = kwargs.get('body_link', None) + + +class RetryHistory(Model): + """The retry history. + + :param start_time: Gets the start time. + :type start_time: datetime + :param end_time: Gets the end time. + :type end_time: datetime + :param code: Gets the status code. + :type code: str + :param client_request_id: Gets the client request Id. + :type client_request_id: str + :param service_request_id: Gets the service request Id. + :type service_request_id: str + :param error: Gets the error response. + :type error: ~azure.mgmt.logic.models.ErrorResponse + """ + + _attribute_map = { + 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, + 'end_time': {'key': 'endTime', 'type': 'iso-8601'}, + 'code': {'key': 'code', 'type': 'str'}, + 'client_request_id': {'key': 'clientRequestId', 'type': 'str'}, + 'service_request_id': {'key': 'serviceRequestId', 'type': 'str'}, + 'error': {'key': 'error', 'type': 'ErrorResponse'}, + } + + def __init__(self, **kwargs): + super(RetryHistory, self).__init__(**kwargs) + self.start_time = kwargs.get('start_time', None) + self.end_time = kwargs.get('end_time', None) + self.code = kwargs.get('code', None) + self.client_request_id = kwargs.get('client_request_id', None) + self.service_request_id = kwargs.get('service_request_id', None) + self.error = kwargs.get('error', None) + + +class RunCorrelation(Model): + """The correlation properties. + + :param client_tracking_id: The client tracking identifier. + :type client_tracking_id: str + :param client_keywords: The client keywords. + :type client_keywords: list[str] + """ + + _attribute_map = { + 'client_tracking_id': {'key': 'clientTrackingId', 'type': 'str'}, + 'client_keywords': {'key': 'clientKeywords', 'type': '[str]'}, + } + + def __init__(self, **kwargs): + super(RunCorrelation, self).__init__(**kwargs) + self.client_tracking_id = kwargs.get('client_tracking_id', None) + self.client_keywords = kwargs.get('client_keywords', None) + + +class RunActionCorrelation(RunCorrelation): + """The workflow run action correlation properties. + + :param client_tracking_id: The client tracking identifier. + :type client_tracking_id: str + :param client_keywords: The client keywords. + :type client_keywords: list[str] + :param action_tracking_id: The action tracking identifier. + :type action_tracking_id: str + """ + + _attribute_map = { + 'client_tracking_id': {'key': 'clientTrackingId', 'type': 'str'}, + 'client_keywords': {'key': 'clientKeywords', 'type': '[str]'}, + 'action_tracking_id': {'key': 'actionTrackingId', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(RunActionCorrelation, self).__init__(**kwargs) + self.action_tracking_id = kwargs.get('action_tracking_id', None) + + +class SetTriggerStateActionDefinition(Model): + """The set trigger state action definition. + + All required parameters must be populated in order to send to Azure. + + :param source: Required. The source. + :type source: ~azure.mgmt.logic.models.WorkflowTriggerReference + """ + + _validation = { + 'source': {'required': True}, + } + + _attribute_map = { + 'source': {'key': 'source', 'type': 'WorkflowTriggerReference'}, + } + + def __init__(self, **kwargs): + super(SetTriggerStateActionDefinition, self).__init__(**kwargs) + self.source = kwargs.get('source', None) + + +class Sku(Model): + """The sku type. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. The name. Possible values include: 'NotSpecified', + 'Free', 'Shared', 'Basic', 'Standard', 'Premium' + :type name: str or ~azure.mgmt.logic.models.SkuName + :param plan: The reference to plan. + :type plan: ~azure.mgmt.logic.models.ResourceReference + """ + + _validation = { + 'name': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'plan': {'key': 'plan', 'type': 'ResourceReference'}, + } + + def __init__(self, **kwargs): + super(Sku, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.plan = kwargs.get('plan', None) + + +class SubResource(Model): + """The sub resource type. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar id: The resource id. + :vartype id: str + """ + + _validation = { + 'id': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(SubResource, self).__init__(**kwargs) + self.id = None + + +class SwaggerCustomDynamicList(Model): + """The swagger custom dynamic list. + + :param operation_id: The operation id to fetch dynamic schema. + :type operation_id: str + :param built_in_operation: The built in operation. + :type built_in_operation: str + :param items_path: The path to a response property (relative to the + response object, not the response body) which contains an array of dynamic + value items. + :type items_path: str + :param item_value_path: The path to a property which defines the value + which should be used. + :type item_value_path: str + :param item_title_path: The path to an item property which defines the + display name of the item. + :type item_title_path: str + :param parameters: The parameters. + :type parameters: dict[str, + ~azure.mgmt.logic.models.SwaggerCustomDynamicProperties] + """ + + _attribute_map = { + 'operation_id': {'key': 'operationId', 'type': 'str'}, + 'built_in_operation': {'key': 'builtInOperation', 'type': 'str'}, + 'items_path': {'key': 'itemsPath', 'type': 'str'}, + 'item_value_path': {'key': 'itemValuePath', 'type': 'str'}, + 'item_title_path': {'key': 'itemTitlePath', 'type': 'str'}, + 'parameters': {'key': 'parameters', 'type': '{SwaggerCustomDynamicProperties}'}, + } + + def __init__(self, **kwargs): + super(SwaggerCustomDynamicList, self).__init__(**kwargs) + self.operation_id = kwargs.get('operation_id', None) + self.built_in_operation = kwargs.get('built_in_operation', None) + self.items_path = kwargs.get('items_path', None) + self.item_value_path = kwargs.get('item_value_path', None) + self.item_title_path = kwargs.get('item_title_path', None) + self.parameters = kwargs.get('parameters', None) + + +class SwaggerCustomDynamicProperties(Model): + """The swagger custom dynamic properties. + + :param operation_id: The operation id to fetch dynamic schema. + :type operation_id: str + :param value_path: Json pointer to the dynamic schema on the response + body. + :type value_path: str + :param parameters: The operation parameters. + :type parameters: dict[str, + ~azure.mgmt.logic.models.SwaggerCustomDynamicProperties] + """ + + _attribute_map = { + 'operation_id': {'key': 'operationId', 'type': 'str'}, + 'value_path': {'key': 'valuePath', 'type': 'str'}, + 'parameters': {'key': 'parameters', 'type': '{SwaggerCustomDynamicProperties}'}, + } + + def __init__(self, **kwargs): + super(SwaggerCustomDynamicProperties, self).__init__(**kwargs) + self.operation_id = kwargs.get('operation_id', None) + self.value_path = kwargs.get('value_path', None) + self.parameters = kwargs.get('parameters', None) + + +class SwaggerCustomDynamicSchema(Model): + """The swagger custom dynamic schema. + + :param operation_id: The operation id to fetch dynamic schema. + :type operation_id: str + :param value_path: Json pointer to the dynamic schema on the response + body. + :type value_path: str + :param parameters: The operation parameters. + :type parameters: dict[str, object] + """ + + _attribute_map = { + 'operation_id': {'key': 'operationId', 'type': 'str'}, + 'value_path': {'key': 'valuePath', 'type': 'str'}, + 'parameters': {'key': 'parameters', 'type': '{object}'}, + } + + def __init__(self, **kwargs): + super(SwaggerCustomDynamicSchema, self).__init__(**kwargs) + self.operation_id = kwargs.get('operation_id', None) + self.value_path = kwargs.get('value_path', None) + self.parameters = kwargs.get('parameters', None) + + +class SwaggerCustomDynamicTree(Model): + """The swagger custom dynamic tree. + + :param settings: The tree settings + :type settings: ~azure.mgmt.logic.models.SwaggerCustomDynamicTreeSettings + :param open: The tree on-open configuration + :type open: ~azure.mgmt.logic.models.SwaggerCustomDynamicTreeCommand + :param browse: The tree on-browse configuration + :type browse: ~azure.mgmt.logic.models.SwaggerCustomDynamicTreeCommand + """ + + _attribute_map = { + 'settings': {'key': 'settings', 'type': 'SwaggerCustomDynamicTreeSettings'}, + 'open': {'key': 'open', 'type': 'SwaggerCustomDynamicTreeCommand'}, + 'browse': {'key': 'browse', 'type': 'SwaggerCustomDynamicTreeCommand'}, + } + + def __init__(self, **kwargs): + super(SwaggerCustomDynamicTree, self).__init__(**kwargs) + self.settings = kwargs.get('settings', None) + self.open = kwargs.get('open', None) + self.browse = kwargs.get('browse', None) + + +class SwaggerCustomDynamicTreeCommand(Model): + """The swagger tree command. + + :param operation_id: The path to an item property which defines the + display name of the item. + :type operation_id: str + :param items_path: The path to an item property which defines the display + name of the item. + :type items_path: str + :param item_value_path: The path to an item property which defines the + display name of the item. + :type item_value_path: str + :param item_title_path: The path to an item property which defines the + display name of the item. + :type item_title_path: str + :param item_full_title_path: The path to an item property which defines + the display name of the item. + :type item_full_title_path: str + :param item_is_parent: The path to an item property which defines the + display name of the item. + :type item_is_parent: str + :param selectable_filter: The path to an item property which defines the + display name of the item. + :type selectable_filter: str + :param parameters: + :type parameters: dict[str, + ~azure.mgmt.logic.models.SwaggerCustomDynamicTreeParameter] + """ + + _attribute_map = { + 'operation_id': {'key': 'operationId', 'type': 'str'}, + 'items_path': {'key': 'itemsPath', 'type': 'str'}, + 'item_value_path': {'key': 'itemValuePath', 'type': 'str'}, + 'item_title_path': {'key': 'itemTitlePath', 'type': 'str'}, + 'item_full_title_path': {'key': 'itemFullTitlePath', 'type': 'str'}, + 'item_is_parent': {'key': 'itemIsParent', 'type': 'str'}, + 'selectable_filter': {'key': 'selectableFilter', 'type': 'str'}, + 'parameters': {'key': 'parameters', 'type': '{SwaggerCustomDynamicTreeParameter}'}, + } + + def __init__(self, **kwargs): + super(SwaggerCustomDynamicTreeCommand, self).__init__(**kwargs) + self.operation_id = kwargs.get('operation_id', None) + self.items_path = kwargs.get('items_path', None) + self.item_value_path = kwargs.get('item_value_path', None) + self.item_title_path = kwargs.get('item_title_path', None) + self.item_full_title_path = kwargs.get('item_full_title_path', None) + self.item_is_parent = kwargs.get('item_is_parent', None) + self.selectable_filter = kwargs.get('selectable_filter', None) + self.parameters = kwargs.get('parameters', None) + + +class SwaggerCustomDynamicTreeParameter(Model): + """The swagger custom dynamic tree parameter. + + :param selected_item_value_path: Gets or sets a path to a property in the + currently selected item to pass as a value to a parameter for the given + operation. + :type selected_item_value_path: str + :param value: The parameter value. + :type value: object + :param parameter_reference: The parameter reference. + :type parameter_reference: str + :param required: Indicates whether the parameter is required. + :type required: bool + """ + + _attribute_map = { + 'selected_item_value_path': {'key': 'selectedItemValuePath', 'type': 'str'}, + 'value': {'key': 'value', 'type': 'object'}, + 'parameter_reference': {'key': 'parameterReference', 'type': 'str'}, + 'required': {'key': 'required', 'type': 'bool'}, + } + + def __init__(self, **kwargs): + super(SwaggerCustomDynamicTreeParameter, self).__init__(**kwargs) + self.selected_item_value_path = kwargs.get('selected_item_value_path', None) + self.value = kwargs.get('value', None) + self.parameter_reference = kwargs.get('parameter_reference', None) + self.required = kwargs.get('required', None) + + +class SwaggerCustomDynamicTreeSettings(Model): + """The swagger custom dynamic tree settings. + + :param can_select_parent_nodes: Indicates whether parent nodes can be + selected. + :type can_select_parent_nodes: bool + :param can_select_leaf_nodes: Indicates whether leaf nodes can be + selected. + :type can_select_leaf_nodes: bool + """ + + _attribute_map = { + 'can_select_parent_nodes': {'key': 'CanSelectParentNodes', 'type': 'bool'}, + 'can_select_leaf_nodes': {'key': 'CanSelectLeafNodes', 'type': 'bool'}, + } + + def __init__(self, **kwargs): + super(SwaggerCustomDynamicTreeSettings, self).__init__(**kwargs) + self.can_select_parent_nodes = kwargs.get('can_select_parent_nodes', None) + self.can_select_leaf_nodes = kwargs.get('can_select_leaf_nodes', None) + + +class SwaggerExternalDocumentation(Model): + """The swagger external documentation. + + :param description: The document description. + :type description: str + :param uri: The documentation Uri. + :type uri: str + :param extensions: The vendor extensions. + :type extensions: dict[str, object] + """ + + _attribute_map = { + 'description': {'key': 'description', 'type': 'str'}, + 'uri': {'key': 'uri', 'type': 'str'}, + 'extensions': {'key': 'extensions', 'type': '{object}'}, + } + + def __init__(self, **kwargs): + super(SwaggerExternalDocumentation, self).__init__(**kwargs) + self.description = kwargs.get('description', None) + self.uri = kwargs.get('uri', None) + self.extensions = kwargs.get('extensions', None) + + +class SwaggerSchema(Model): + """The swagger schema. + + :param ref: The reference. + :type ref: str + :param type: The type. Possible values include: 'String', 'Number', + 'Integer', 'Boolean', 'Array', 'File', 'Object', 'Null' + :type type: str or ~azure.mgmt.logic.models.SwaggerSchemaType + :param title: The title. + :type title: str + :param items: The items schema. + :type items: ~azure.mgmt.logic.models.SwaggerSchema + :param properties: The object properties + :type properties: dict[str, ~azure.mgmt.logic.models.SwaggerSchema] + :param additional_properties: The additional properties. + :type additional_properties: object + :param required: The object required properties. + :type required: list[str] + :param max_properties: The maximum number of allowed properties. + :type max_properties: int + :param min_properties: The minimum number of allowed properties. + :type min_properties: int + :param all_of: The schemas which must pass validation when this schema is + used. + :type all_of: list[~azure.mgmt.logic.models.SwaggerSchema] + :param discriminator: The discriminator. + :type discriminator: str + :param read_only: Indicates whether this property must be present in the a + request. + :type read_only: bool + :param xml: The xml representation format for a property. + :type xml: ~azure.mgmt.logic.models.SwaggerXml + :param external_docs: The external documentation. + :type external_docs: ~azure.mgmt.logic.models.SwaggerExternalDocumentation + :param example: The example value. + :type example: object + :param notification_url_extension: Indicates the notification url + extension. If this is set, the property's value should be a callback url + for a webhook. + :type notification_url_extension: bool + :param dynamic_schema_old: The dynamic schema configuration. + :type dynamic_schema_old: + ~azure.mgmt.logic.models.SwaggerCustomDynamicSchema + :param dynamic_schema_new: The dynamic schema configuration. + :type dynamic_schema_new: + ~azure.mgmt.logic.models.SwaggerCustomDynamicProperties + :param dynamic_list_new: The dynamic list. + :type dynamic_list_new: ~azure.mgmt.logic.models.SwaggerCustomDynamicList + :param dynamic_tree: The dynamic values tree configuration. + :type dynamic_tree: ~azure.mgmt.logic.models.SwaggerCustomDynamicTree + """ + + _attribute_map = { + 'ref': {'key': 'ref', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'title': {'key': 'title', 'type': 'str'}, + 'items': {'key': 'items', 'type': 'SwaggerSchema'}, + 'properties': {'key': 'properties', 'type': '{SwaggerSchema}'}, + 'additional_properties': {'key': 'additionalProperties', 'type': 'object'}, + 'required': {'key': 'required', 'type': '[str]'}, + 'max_properties': {'key': 'maxProperties', 'type': 'int'}, + 'min_properties': {'key': 'minProperties', 'type': 'int'}, + 'all_of': {'key': 'allOf', 'type': '[SwaggerSchema]'}, + 'discriminator': {'key': 'discriminator', 'type': 'str'}, + 'read_only': {'key': 'readOnly', 'type': 'bool'}, + 'xml': {'key': 'xml', 'type': 'SwaggerXml'}, + 'external_docs': {'key': 'externalDocs', 'type': 'SwaggerExternalDocumentation'}, + 'example': {'key': 'example', 'type': 'object'}, + 'notification_url_extension': {'key': 'notificationUrlExtension', 'type': 'bool'}, + 'dynamic_schema_old': {'key': 'dynamicSchemaOld', 'type': 'SwaggerCustomDynamicSchema'}, + 'dynamic_schema_new': {'key': 'dynamicSchemaNew', 'type': 'SwaggerCustomDynamicProperties'}, + 'dynamic_list_new': {'key': 'dynamicListNew', 'type': 'SwaggerCustomDynamicList'}, + 'dynamic_tree': {'key': 'dynamicTree', 'type': 'SwaggerCustomDynamicTree'}, + } + + def __init__(self, **kwargs): + super(SwaggerSchema, self).__init__(**kwargs) + self.ref = kwargs.get('ref', None) + self.type = kwargs.get('type', None) + self.title = kwargs.get('title', None) + self.items = kwargs.get('items', None) + self.properties = kwargs.get('properties', None) + self.additional_properties = kwargs.get('additional_properties', None) + self.required = kwargs.get('required', None) + self.max_properties = kwargs.get('max_properties', None) + self.min_properties = kwargs.get('min_properties', None) + self.all_of = kwargs.get('all_of', None) + self.discriminator = kwargs.get('discriminator', None) + self.read_only = kwargs.get('read_only', None) + self.xml = kwargs.get('xml', None) + self.external_docs = kwargs.get('external_docs', None) + self.example = kwargs.get('example', None) + self.notification_url_extension = kwargs.get('notification_url_extension', None) + self.dynamic_schema_old = kwargs.get('dynamic_schema_old', None) + self.dynamic_schema_new = kwargs.get('dynamic_schema_new', None) + self.dynamic_list_new = kwargs.get('dynamic_list_new', None) + self.dynamic_tree = kwargs.get('dynamic_tree', None) + + +class SwaggerXml(Model): + """The Swagger XML. + + :param name: The xml element or attribute name. + :type name: str + :param namespace: The xml namespace. + :type namespace: str + :param prefix: The name prefix. + :type prefix: str + :param attribute: Indicates whether the property should be an attribute + instead of an element. + :type attribute: bool + :param wrapped: Indicates whether the array elements are wrapped in a + container element. + :type wrapped: bool + :param extensions: The vendor extensions. + :type extensions: dict[str, object] + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'namespace': {'key': 'namespace', 'type': 'str'}, + 'prefix': {'key': 'prefix', 'type': 'str'}, + 'attribute': {'key': 'attribute', 'type': 'bool'}, + 'wrapped': {'key': 'wrapped', 'type': 'bool'}, + 'extensions': {'key': 'extensions', 'type': '{object}'}, + } + + def __init__(self, **kwargs): + super(SwaggerXml, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.namespace = kwargs.get('namespace', None) + self.prefix = kwargs.get('prefix', None) + self.attribute = kwargs.get('attribute', None) + self.wrapped = kwargs.get('wrapped', None) + self.extensions = kwargs.get('extensions', None) + + +class TrackingEvent(Model): + """The tracking event. + + All required parameters must be populated in order to send to Azure. + + :param event_level: Required. The event level. Possible values include: + 'LogAlways', 'Critical', 'Error', 'Warning', 'Informational', 'Verbose' + :type event_level: str or ~azure.mgmt.logic.models.EventLevel + :param event_time: Required. The event time. + :type event_time: datetime + :param record_type: Required. The record type. Possible values include: + 'NotSpecified', 'Custom', 'AS2Message', 'AS2MDN', 'X12Interchange', + 'X12FunctionalGroup', 'X12TransactionSet', 'X12InterchangeAcknowledgment', + 'X12FunctionalGroupAcknowledgment', 'X12TransactionSetAcknowledgment', + 'EdifactInterchange', 'EdifactFunctionalGroup', 'EdifactTransactionSet', + 'EdifactInterchangeAcknowledgment', + 'EdifactFunctionalGroupAcknowledgment', + 'EdifactTransactionSetAcknowledgment' + :type record_type: str or ~azure.mgmt.logic.models.TrackingRecordType + :param record: The record. + :type record: object + :param error: The error. + :type error: ~azure.mgmt.logic.models.TrackingEventErrorInfo + """ + + _validation = { + 'event_level': {'required': True}, + 'event_time': {'required': True}, + 'record_type': {'required': True}, + } + + _attribute_map = { + 'event_level': {'key': 'eventLevel', 'type': 'EventLevel'}, + 'event_time': {'key': 'eventTime', 'type': 'iso-8601'}, + 'record_type': {'key': 'recordType', 'type': 'str'}, + 'record': {'key': 'record', 'type': 'object'}, + 'error': {'key': 'error', 'type': 'TrackingEventErrorInfo'}, + } + + def __init__(self, **kwargs): + super(TrackingEvent, self).__init__(**kwargs) + self.event_level = kwargs.get('event_level', None) + self.event_time = kwargs.get('event_time', None) + self.record_type = kwargs.get('record_type', None) + self.record = kwargs.get('record', None) + self.error = kwargs.get('error', None) + + +class TrackingEventErrorInfo(Model): + """The tracking event error info. + + :param message: The message. + :type message: str + :param code: The code. + :type code: str + """ + + _attribute_map = { + 'message': {'key': 'message', 'type': 'str'}, + 'code': {'key': 'code', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(TrackingEventErrorInfo, self).__init__(**kwargs) + self.message = kwargs.get('message', None) + self.code = kwargs.get('code', None) + + +class TrackingEventsDefinition(Model): + """The tracking events definition. + + All required parameters must be populated in order to send to Azure. + + :param source_type: Required. The source type. + :type source_type: str + :param track_events_options: The track events options. Possible values + include: 'None', 'DisableSourceInfoEnrich' + :type track_events_options: str or + ~azure.mgmt.logic.models.TrackEventsOperationOptions + :param events: Required. The events. + :type events: list[~azure.mgmt.logic.models.TrackingEvent] + """ + + _validation = { + 'source_type': {'required': True}, + 'events': {'required': True}, + } + + _attribute_map = { + 'source_type': {'key': 'sourceType', 'type': 'str'}, + 'track_events_options': {'key': 'trackEventsOptions', 'type': 'str'}, + 'events': {'key': 'events', 'type': '[TrackingEvent]'}, + } + + def __init__(self, **kwargs): + super(TrackingEventsDefinition, self).__init__(**kwargs) + self.source_type = kwargs.get('source_type', None) + self.track_events_options = kwargs.get('track_events_options', None) + self.events = kwargs.get('events', None) + + +class Workflow(Resource): + """The workflow type. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar id: The resource id. + :vartype id: str + :ivar name: Gets the resource name. + :vartype name: str + :ivar type: Gets the resource type. + :vartype type: str + :param location: The resource location. + :type location: str + :param tags: The resource tags. + :type tags: dict[str, str] + :ivar provisioning_state: Gets the provisioning state. Possible values + include: 'NotSpecified', 'Accepted', 'Running', 'Ready', 'Creating', + 'Created', 'Deleting', 'Deleted', 'Canceled', 'Failed', 'Succeeded', + 'Moving', 'Updating', 'Registering', 'Registered', 'Unregistering', + 'Unregistered', 'Completed', 'Renewing', 'Pending', 'Waiting', + 'InProgress' + :vartype provisioning_state: str or + ~azure.mgmt.logic.models.WorkflowProvisioningState + :ivar created_time: Gets the created time. + :vartype created_time: datetime + :ivar changed_time: Gets the changed time. + :vartype changed_time: datetime + :param state: The state. Possible values include: 'NotSpecified', + 'Completed', 'Enabled', 'Disabled', 'Deleted', 'Suspended' + :type state: str or ~azure.mgmt.logic.models.WorkflowState + :ivar version: Gets the version. + :vartype version: str + :ivar access_endpoint: Gets the access endpoint. + :vartype access_endpoint: str + :param endpoints_configuration: The endpoints configuration. + :type endpoints_configuration: + ~azure.mgmt.logic.models.FlowEndpointsConfiguration + :param access_control: The access control configuration. + :type access_control: + ~azure.mgmt.logic.models.FlowAccessControlConfiguration + :ivar sku: The sku. + :vartype sku: ~azure.mgmt.logic.models.Sku + :param integration_account: The integration account. + :type integration_account: ~azure.mgmt.logic.models.ResourceReference + :param integration_service_environment: The integration service + environment. + :type integration_service_environment: + ~azure.mgmt.logic.models.ResourceReference + :param definition: The definition. + :type definition: object + :param parameters: The parameters. + :type parameters: dict[str, ~azure.mgmt.logic.models.WorkflowParameter] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'created_time': {'readonly': True}, + 'changed_time': {'readonly': True}, + 'version': {'readonly': True}, + 'access_endpoint': {'readonly': True}, + 'sku': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'created_time': {'key': 'properties.createdTime', 'type': 'iso-8601'}, + 'changed_time': {'key': 'properties.changedTime', 'type': 'iso-8601'}, + 'state': {'key': 'properties.state', 'type': 'str'}, + 'version': {'key': 'properties.version', 'type': 'str'}, + 'access_endpoint': {'key': 'properties.accessEndpoint', 'type': 'str'}, + 'endpoints_configuration': {'key': 'properties.endpointsConfiguration', 'type': 'FlowEndpointsConfiguration'}, + 'access_control': {'key': 'properties.accessControl', 'type': 'FlowAccessControlConfiguration'}, + 'sku': {'key': 'properties.sku', 'type': 'Sku'}, + 'integration_account': {'key': 'properties.integrationAccount', 'type': 'ResourceReference'}, + 'integration_service_environment': {'key': 'properties.integrationServiceEnvironment', 'type': 'ResourceReference'}, + 'definition': {'key': 'properties.definition', 'type': 'object'}, + 'parameters': {'key': 'properties.parameters', 'type': '{WorkflowParameter}'}, + } + + def __init__(self, **kwargs): + super(Workflow, self).__init__(**kwargs) + self.provisioning_state = None + self.created_time = None + self.changed_time = None + self.state = kwargs.get('state', None) + self.version = None + self.access_endpoint = None + self.endpoints_configuration = kwargs.get('endpoints_configuration', None) + self.access_control = kwargs.get('access_control', None) + self.sku = None + self.integration_account = kwargs.get('integration_account', None) + self.integration_service_environment = kwargs.get('integration_service_environment', None) + self.definition = kwargs.get('definition', None) + self.parameters = kwargs.get('parameters', None) + + +class WorkflowFilter(Model): + """The workflow filter. + + :param state: The state of workflows. Possible values include: + 'NotSpecified', 'Completed', 'Enabled', 'Disabled', 'Deleted', 'Suspended' + :type state: str or ~azure.mgmt.logic.models.WorkflowState + """ + + _attribute_map = { + 'state': {'key': 'state', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(WorkflowFilter, self).__init__(**kwargs) + self.state = kwargs.get('state', None) + + +class WorkflowParameter(Model): + """The workflow parameters. + + :param type: The type. Possible values include: 'NotSpecified', 'String', + 'SecureString', 'Int', 'Float', 'Bool', 'Array', 'Object', 'SecureObject' + :type type: str or ~azure.mgmt.logic.models.ParameterType + :param value: The value. + :type value: object + :param metadata: The metadata. + :type metadata: object + :param description: The description. + :type description: str + """ + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + 'value': {'key': 'value', 'type': 'object'}, + 'metadata': {'key': 'metadata', 'type': 'object'}, + 'description': {'key': 'description', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(WorkflowParameter, self).__init__(**kwargs) + self.type = kwargs.get('type', None) + self.value = kwargs.get('value', None) + self.metadata = kwargs.get('metadata', None) + self.description = kwargs.get('description', None) + + +class WorkflowOutputParameter(WorkflowParameter): + """The workflow output parameter. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :param type: The type. Possible values include: 'NotSpecified', 'String', + 'SecureString', 'Int', 'Float', 'Bool', 'Array', 'Object', 'SecureObject' + :type type: str or ~azure.mgmt.logic.models.ParameterType + :param value: The value. + :type value: object + :param metadata: The metadata. + :type metadata: object + :param description: The description. + :type description: str + :ivar error: Gets the error. + :vartype error: object + """ + + _validation = { + 'error': {'readonly': True}, + } + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + 'value': {'key': 'value', 'type': 'object'}, + 'metadata': {'key': 'metadata', 'type': 'object'}, + 'description': {'key': 'description', 'type': 'str'}, + 'error': {'key': 'error', 'type': 'object'}, + } + + def __init__(self, **kwargs): + super(WorkflowOutputParameter, self).__init__(**kwargs) + self.error = None + + +class WorkflowReference(ResourceReference): + """The workflow reference. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :param id: The resource id. + :type id: str + :ivar name: Gets the resource name. + :vartype name: str + :ivar type: Gets the resource type. + :vartype type: str + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(WorkflowReference, self).__init__(**kwargs) + + +class WorkflowRun(SubResource): + """The workflow run. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar id: The resource id. + :vartype id: str + :ivar wait_end_time: Gets the wait end time. + :vartype wait_end_time: datetime + :ivar start_time: Gets the start time. + :vartype start_time: datetime + :ivar end_time: Gets the end time. + :vartype end_time: datetime + :ivar status: Gets the status. Possible values include: 'NotSpecified', + 'Paused', 'Running', 'Waiting', 'Succeeded', 'Skipped', 'Suspended', + 'Cancelled', 'Failed', 'Faulted', 'TimedOut', 'Aborted', 'Ignored' + :vartype status: str or ~azure.mgmt.logic.models.WorkflowStatus + :ivar code: Gets the code. + :vartype code: str + :ivar error: Gets the error. + :vartype error: object + :ivar correlation_id: Gets the correlation id. + :vartype correlation_id: str + :param correlation: The run correlation. + :type correlation: ~azure.mgmt.logic.models.Correlation + :ivar workflow: Gets the reference to workflow version. + :vartype workflow: ~azure.mgmt.logic.models.ResourceReference + :ivar trigger: Gets the fired trigger. + :vartype trigger: ~azure.mgmt.logic.models.WorkflowRunTrigger + :ivar outputs: Gets the outputs. + :vartype outputs: dict[str, + ~azure.mgmt.logic.models.WorkflowOutputParameter] + :ivar response: Gets the response of the flow run. + :vartype response: ~azure.mgmt.logic.models.WorkflowRunTrigger + :ivar name: Gets the workflow run name. + :vartype name: str + :ivar type: Gets the workflow run type. + :vartype type: str + """ + + _validation = { + 'id': {'readonly': True}, + 'wait_end_time': {'readonly': True}, + 'start_time': {'readonly': True}, + 'end_time': {'readonly': True}, + 'status': {'readonly': True}, + 'code': {'readonly': True}, + 'error': {'readonly': True}, + 'correlation_id': {'readonly': True}, + 'workflow': {'readonly': True}, + 'trigger': {'readonly': True}, + 'outputs': {'readonly': True}, + 'response': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'wait_end_time': {'key': 'properties.waitEndTime', 'type': 'iso-8601'}, + 'start_time': {'key': 'properties.startTime', 'type': 'iso-8601'}, + 'end_time': {'key': 'properties.endTime', 'type': 'iso-8601'}, + 'status': {'key': 'properties.status', 'type': 'str'}, + 'code': {'key': 'properties.code', 'type': 'str'}, + 'error': {'key': 'properties.error', 'type': 'object'}, + 'correlation_id': {'key': 'properties.correlationId', 'type': 'str'}, + 'correlation': {'key': 'properties.correlation', 'type': 'Correlation'}, + 'workflow': {'key': 'properties.workflow', 'type': 'ResourceReference'}, + 'trigger': {'key': 'properties.trigger', 'type': 'WorkflowRunTrigger'}, + 'outputs': {'key': 'properties.outputs', 'type': '{WorkflowOutputParameter}'}, + 'response': {'key': 'properties.response', 'type': 'WorkflowRunTrigger'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(WorkflowRun, self).__init__(**kwargs) + self.wait_end_time = None + self.start_time = None + self.end_time = None + self.status = None + self.code = None + self.error = None + self.correlation_id = None + self.correlation = kwargs.get('correlation', None) + self.workflow = None + self.trigger = None + self.outputs = None + self.response = None + self.name = None + self.type = None + + +class WorkflowRunAction(SubResource): + """The workflow run action. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar id: The resource id. + :vartype id: str + :ivar start_time: Gets the start time. + :vartype start_time: datetime + :ivar end_time: Gets the end time. + :vartype end_time: datetime + :ivar status: Gets the status. Possible values include: 'NotSpecified', + 'Paused', 'Running', 'Waiting', 'Succeeded', 'Skipped', 'Suspended', + 'Cancelled', 'Failed', 'Faulted', 'TimedOut', 'Aborted', 'Ignored' + :vartype status: str or ~azure.mgmt.logic.models.WorkflowStatus + :ivar code: Gets the code. + :vartype code: str + :ivar error: Gets the error. + :vartype error: object + :ivar tracking_id: Gets the tracking id. + :vartype tracking_id: str + :param correlation: The correlation properties. + :type correlation: ~azure.mgmt.logic.models.RunActionCorrelation + :ivar inputs_link: Gets the link to inputs. + :vartype inputs_link: ~azure.mgmt.logic.models.ContentLink + :ivar outputs_link: Gets the link to outputs. + :vartype outputs_link: ~azure.mgmt.logic.models.ContentLink + :ivar tracked_properties: Gets the tracked properties. + :vartype tracked_properties: object + :param retry_history: Gets the retry histories. + :type retry_history: list[~azure.mgmt.logic.models.RetryHistory] + :ivar name: Gets the workflow run action name. + :vartype name: str + :ivar type: Gets the workflow run action type. + :vartype type: str + """ + + _validation = { + 'id': {'readonly': True}, + 'start_time': {'readonly': True}, + 'end_time': {'readonly': True}, + 'status': {'readonly': True}, + 'code': {'readonly': True}, + 'error': {'readonly': True}, + 'tracking_id': {'readonly': True}, + 'inputs_link': {'readonly': True}, + 'outputs_link': {'readonly': True}, + 'tracked_properties': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'start_time': {'key': 'properties.startTime', 'type': 'iso-8601'}, + 'end_time': {'key': 'properties.endTime', 'type': 'iso-8601'}, + 'status': {'key': 'properties.status', 'type': 'str'}, + 'code': {'key': 'properties.code', 'type': 'str'}, + 'error': {'key': 'properties.error', 'type': 'object'}, + 'tracking_id': {'key': 'properties.trackingId', 'type': 'str'}, + 'correlation': {'key': 'properties.correlation', 'type': 'RunActionCorrelation'}, + 'inputs_link': {'key': 'properties.inputsLink', 'type': 'ContentLink'}, + 'outputs_link': {'key': 'properties.outputsLink', 'type': 'ContentLink'}, + 'tracked_properties': {'key': 'properties.trackedProperties', 'type': 'object'}, + 'retry_history': {'key': 'properties.retryHistory', 'type': '[RetryHistory]'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(WorkflowRunAction, self).__init__(**kwargs) + self.start_time = None + self.end_time = None + self.status = None + self.code = None + self.error = None + self.tracking_id = None + self.correlation = kwargs.get('correlation', None) + self.inputs_link = None + self.outputs_link = None + self.tracked_properties = None + self.retry_history = kwargs.get('retry_history', None) + self.name = None + self.type = None + + +class WorkflowRunActionFilter(Model): + """The workflow run action filter. + + :param status: The status of workflow run action. Possible values include: + 'NotSpecified', 'Paused', 'Running', 'Waiting', 'Succeeded', 'Skipped', + 'Suspended', 'Cancelled', 'Failed', 'Faulted', 'TimedOut', 'Aborted', + 'Ignored' + :type status: str or ~azure.mgmt.logic.models.WorkflowStatus + """ + + _attribute_map = { + 'status': {'key': 'status', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(WorkflowRunActionFilter, self).__init__(**kwargs) + self.status = kwargs.get('status', None) + + +class WorkflowRunActionRepetitionDefinition(Resource): + """The workflow run action repetition definition. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar id: The resource id. + :vartype id: str + :ivar name: Gets the resource name. + :vartype name: str + :ivar type: Gets the resource type. + :vartype type: str + :param location: The resource location. + :type location: str + :param tags: The resource tags. + :type tags: dict[str, str] + :param start_time: The start time of the workflow scope repetition. + :type start_time: datetime + :param end_time: The end time of the workflow scope repetition. + :type end_time: datetime + :param correlation: The correlation properties. + :type correlation: ~azure.mgmt.logic.models.RunActionCorrelation + :param status: The status of the workflow scope repetition. Possible + values include: 'NotSpecified', 'Paused', 'Running', 'Waiting', + 'Succeeded', 'Skipped', 'Suspended', 'Cancelled', 'Failed', 'Faulted', + 'TimedOut', 'Aborted', 'Ignored' + :type status: str or ~azure.mgmt.logic.models.WorkflowStatus + :param code: The workflow scope repetition code. + :type code: str + :param error: + :type error: object + :ivar tracking_id: Gets the tracking id. + :vartype tracking_id: str + :ivar inputs: Gets the inputs. + :vartype inputs: object + :ivar inputs_link: Gets the link to inputs. + :vartype inputs_link: ~azure.mgmt.logic.models.ContentLink + :ivar outputs: Gets the outputs. + :vartype outputs: object + :ivar outputs_link: Gets the link to outputs. + :vartype outputs_link: ~azure.mgmt.logic.models.ContentLink + :ivar tracked_properties: Gets the tracked properties. + :vartype tracked_properties: object + :param retry_history: Gets the retry histories. + :type retry_history: list[~azure.mgmt.logic.models.RetryHistory] + :param iteration_count: + :type iteration_count: int + :param repetition_indexes: The repetition indexes. + :type repetition_indexes: list[~azure.mgmt.logic.models.RepetitionIndex] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'tracking_id': {'readonly': True}, + 'inputs': {'readonly': True}, + 'inputs_link': {'readonly': True}, + 'outputs': {'readonly': True}, + 'outputs_link': {'readonly': True}, + 'tracked_properties': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'start_time': {'key': 'properties.startTime', 'type': 'iso-8601'}, + 'end_time': {'key': 'properties.endTime', 'type': 'iso-8601'}, + 'correlation': {'key': 'properties.correlation', 'type': 'RunActionCorrelation'}, + 'status': {'key': 'properties.status', 'type': 'str'}, + 'code': {'key': 'properties.code', 'type': 'str'}, + 'error': {'key': 'properties.error', 'type': 'object'}, + 'tracking_id': {'key': 'properties.trackingId', 'type': 'str'}, + 'inputs': {'key': 'properties.inputs', 'type': 'object'}, + 'inputs_link': {'key': 'properties.inputsLink', 'type': 'ContentLink'}, + 'outputs': {'key': 'properties.outputs', 'type': 'object'}, + 'outputs_link': {'key': 'properties.outputsLink', 'type': 'ContentLink'}, + 'tracked_properties': {'key': 'properties.trackedProperties', 'type': 'object'}, + 'retry_history': {'key': 'properties.retryHistory', 'type': '[RetryHistory]'}, + 'iteration_count': {'key': 'properties.iterationCount', 'type': 'int'}, + 'repetition_indexes': {'key': 'properties.repetitionIndexes', 'type': '[RepetitionIndex]'}, + } + + def __init__(self, **kwargs): + super(WorkflowRunActionRepetitionDefinition, self).__init__(**kwargs) + self.start_time = kwargs.get('start_time', None) + self.end_time = kwargs.get('end_time', None) + self.correlation = kwargs.get('correlation', None) + self.status = kwargs.get('status', None) + self.code = kwargs.get('code', None) + self.error = kwargs.get('error', None) + self.tracking_id = None + self.inputs = None + self.inputs_link = None + self.outputs = None + self.outputs_link = None + self.tracked_properties = None + self.retry_history = kwargs.get('retry_history', None) + self.iteration_count = kwargs.get('iteration_count', None) + self.repetition_indexes = kwargs.get('repetition_indexes', None) + + +class WorkflowRunFilter(Model): + """The workflow run filter. + + :param status: The status of workflow run. Possible values include: + 'NotSpecified', 'Paused', 'Running', 'Waiting', 'Succeeded', 'Skipped', + 'Suspended', 'Cancelled', 'Failed', 'Faulted', 'TimedOut', 'Aborted', + 'Ignored' + :type status: str or ~azure.mgmt.logic.models.WorkflowStatus + """ + + _attribute_map = { + 'status': {'key': 'status', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(WorkflowRunFilter, self).__init__(**kwargs) + self.status = kwargs.get('status', None) + + +class WorkflowRunTrigger(Model): + """The workflow run trigger. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar name: Gets the name. + :vartype name: str + :ivar inputs: Gets the inputs. + :vartype inputs: object + :ivar inputs_link: Gets the link to inputs. + :vartype inputs_link: ~azure.mgmt.logic.models.ContentLink + :ivar outputs: Gets the outputs. + :vartype outputs: object + :ivar outputs_link: Gets the link to outputs. + :vartype outputs_link: ~azure.mgmt.logic.models.ContentLink + :ivar scheduled_time: Gets the scheduled time. + :vartype scheduled_time: datetime + :ivar start_time: Gets the start time. + :vartype start_time: datetime + :ivar end_time: Gets the end time. + :vartype end_time: datetime + :ivar tracking_id: Gets the tracking id. + :vartype tracking_id: str + :param correlation: The run correlation. + :type correlation: ~azure.mgmt.logic.models.Correlation + :ivar code: Gets the code. + :vartype code: str + :ivar status: Gets the status. Possible values include: 'NotSpecified', + 'Paused', 'Running', 'Waiting', 'Succeeded', 'Skipped', 'Suspended', + 'Cancelled', 'Failed', 'Faulted', 'TimedOut', 'Aborted', 'Ignored' + :vartype status: str or ~azure.mgmt.logic.models.WorkflowStatus + :ivar error: Gets the error. + :vartype error: object + :ivar tracked_properties: Gets the tracked properties. + :vartype tracked_properties: object + """ + + _validation = { + 'name': {'readonly': True}, + 'inputs': {'readonly': True}, + 'inputs_link': {'readonly': True}, + 'outputs': {'readonly': True}, + 'outputs_link': {'readonly': True}, + 'scheduled_time': {'readonly': True}, + 'start_time': {'readonly': True}, + 'end_time': {'readonly': True}, + 'tracking_id': {'readonly': True}, + 'code': {'readonly': True}, + 'status': {'readonly': True}, + 'error': {'readonly': True}, + 'tracked_properties': {'readonly': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'inputs': {'key': 'inputs', 'type': 'object'}, + 'inputs_link': {'key': 'inputsLink', 'type': 'ContentLink'}, + 'outputs': {'key': 'outputs', 'type': 'object'}, + 'outputs_link': {'key': 'outputsLink', 'type': 'ContentLink'}, + 'scheduled_time': {'key': 'scheduledTime', 'type': 'iso-8601'}, + 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, + 'end_time': {'key': 'endTime', 'type': 'iso-8601'}, + 'tracking_id': {'key': 'trackingId', 'type': 'str'}, + 'correlation': {'key': 'correlation', 'type': 'Correlation'}, + 'code': {'key': 'code', 'type': 'str'}, + 'status': {'key': 'status', 'type': 'str'}, + 'error': {'key': 'error', 'type': 'object'}, + 'tracked_properties': {'key': 'trackedProperties', 'type': 'object'}, + } + + def __init__(self, **kwargs): + super(WorkflowRunTrigger, self).__init__(**kwargs) + self.name = None + self.inputs = None + self.inputs_link = None + self.outputs = None + self.outputs_link = None + self.scheduled_time = None + self.start_time = None + self.end_time = None + self.tracking_id = None + self.correlation = kwargs.get('correlation', None) + self.code = None + self.status = None + self.error = None + self.tracked_properties = None + + +class WorkflowTrigger(SubResource): + """The workflow trigger. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar id: The resource id. + :vartype id: str + :ivar provisioning_state: Gets the provisioning state. Possible values + include: 'NotSpecified', 'Accepted', 'Running', 'Ready', 'Creating', + 'Created', 'Deleting', 'Deleted', 'Canceled', 'Failed', 'Succeeded', + 'Moving', 'Updating', 'Registering', 'Registered', 'Unregistering', + 'Unregistered', 'Completed' + :vartype provisioning_state: str or + ~azure.mgmt.logic.models.WorkflowTriggerProvisioningState + :ivar created_time: Gets the created time. + :vartype created_time: datetime + :ivar changed_time: Gets the changed time. + :vartype changed_time: datetime + :ivar state: Gets the state. Possible values include: 'NotSpecified', + 'Completed', 'Enabled', 'Disabled', 'Deleted', 'Suspended' + :vartype state: str or ~azure.mgmt.logic.models.WorkflowState + :ivar status: Gets the status. Possible values include: 'NotSpecified', + 'Paused', 'Running', 'Waiting', 'Succeeded', 'Skipped', 'Suspended', + 'Cancelled', 'Failed', 'Faulted', 'TimedOut', 'Aborted', 'Ignored' + :vartype status: str or ~azure.mgmt.logic.models.WorkflowStatus + :ivar last_execution_time: Gets the last execution time. + :vartype last_execution_time: datetime + :ivar next_execution_time: Gets the next execution time. + :vartype next_execution_time: datetime + :ivar recurrence: Gets the workflow trigger recurrence. + :vartype recurrence: ~azure.mgmt.logic.models.WorkflowTriggerRecurrence + :ivar workflow: Gets the reference to workflow. + :vartype workflow: ~azure.mgmt.logic.models.ResourceReference + :ivar name: Gets the workflow trigger name. + :vartype name: str + :ivar type: Gets the workflow trigger type. + :vartype type: str + """ + + _validation = { + 'id': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'created_time': {'readonly': True}, + 'changed_time': {'readonly': True}, + 'state': {'readonly': True}, + 'status': {'readonly': True}, + 'last_execution_time': {'readonly': True}, + 'next_execution_time': {'readonly': True}, + 'recurrence': {'readonly': True}, + 'workflow': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'created_time': {'key': 'properties.createdTime', 'type': 'iso-8601'}, + 'changed_time': {'key': 'properties.changedTime', 'type': 'iso-8601'}, + 'state': {'key': 'properties.state', 'type': 'str'}, + 'status': {'key': 'properties.status', 'type': 'str'}, + 'last_execution_time': {'key': 'properties.lastExecutionTime', 'type': 'iso-8601'}, + 'next_execution_time': {'key': 'properties.nextExecutionTime', 'type': 'iso-8601'}, + 'recurrence': {'key': 'properties.recurrence', 'type': 'WorkflowTriggerRecurrence'}, + 'workflow': {'key': 'properties.workflow', 'type': 'ResourceReference'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(WorkflowTrigger, self).__init__(**kwargs) + self.provisioning_state = None + self.created_time = None + self.changed_time = None + self.state = None + self.status = None + self.last_execution_time = None + self.next_execution_time = None + self.recurrence = None + self.workflow = None + self.name = None + self.type = None + + +class WorkflowTriggerCallbackUrl(Model): + """The workflow trigger callback URL. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar value: Gets the workflow trigger callback URL. + :vartype value: str + :ivar method: Gets the workflow trigger callback URL HTTP method. + :vartype method: str + :ivar base_path: Gets the workflow trigger callback URL base path. + :vartype base_path: str + :ivar relative_path: Gets the workflow trigger callback URL relative path. + :vartype relative_path: str + :param relative_path_parameters: Gets the workflow trigger callback URL + relative path parameters. + :type relative_path_parameters: list[str] + :param queries: Gets the workflow trigger callback URL query parameters. + :type queries: + ~azure.mgmt.logic.models.WorkflowTriggerListCallbackUrlQueries + """ + + _validation = { + 'value': {'readonly': True}, + 'method': {'readonly': True}, + 'base_path': {'readonly': True}, + 'relative_path': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': 'str'}, + 'method': {'key': 'method', 'type': 'str'}, + 'base_path': {'key': 'basePath', 'type': 'str'}, + 'relative_path': {'key': 'relativePath', 'type': 'str'}, + 'relative_path_parameters': {'key': 'relativePathParameters', 'type': '[str]'}, + 'queries': {'key': 'queries', 'type': 'WorkflowTriggerListCallbackUrlQueries'}, + } + + def __init__(self, **kwargs): + super(WorkflowTriggerCallbackUrl, self).__init__(**kwargs) + self.value = None + self.method = None + self.base_path = None + self.relative_path = None + self.relative_path_parameters = kwargs.get('relative_path_parameters', None) + self.queries = kwargs.get('queries', None) + + +class WorkflowTriggerFilter(Model): + """The workflow trigger filter. + + :param state: The state of workflow trigger. Possible values include: + 'NotSpecified', 'Completed', 'Enabled', 'Disabled', 'Deleted', 'Suspended' + :type state: str or ~azure.mgmt.logic.models.WorkflowState + """ + + _attribute_map = { + 'state': {'key': 'state', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(WorkflowTriggerFilter, self).__init__(**kwargs) + self.state = kwargs.get('state', None) + + +class WorkflowTriggerHistory(SubResource): + """The workflow trigger history. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar id: The resource id. + :vartype id: str + :ivar start_time: Gets the start time. + :vartype start_time: datetime + :ivar end_time: Gets the end time. + :vartype end_time: datetime + :ivar scheduled_time: The scheduled time. + :vartype scheduled_time: datetime + :ivar status: Gets the status. Possible values include: 'NotSpecified', + 'Paused', 'Running', 'Waiting', 'Succeeded', 'Skipped', 'Suspended', + 'Cancelled', 'Failed', 'Faulted', 'TimedOut', 'Aborted', 'Ignored' + :vartype status: str or ~azure.mgmt.logic.models.WorkflowStatus + :ivar code: Gets the code. + :vartype code: str + :ivar error: Gets the error. + :vartype error: object + :ivar tracking_id: Gets the tracking id. + :vartype tracking_id: str + :param correlation: The run correlation. + :type correlation: ~azure.mgmt.logic.models.Correlation + :ivar inputs_link: Gets the link to input parameters. + :vartype inputs_link: ~azure.mgmt.logic.models.ContentLink + :ivar outputs_link: Gets the link to output parameters. + :vartype outputs_link: ~azure.mgmt.logic.models.ContentLink + :ivar fired: The value indicating whether trigger was fired. + :vartype fired: bool + :ivar run: Gets the reference to workflow run. + :vartype run: ~azure.mgmt.logic.models.ResourceReference + :ivar name: Gets the workflow trigger history name. + :vartype name: str + :ivar type: Gets the workflow trigger history type. + :vartype type: str + """ + + _validation = { + 'id': {'readonly': True}, + 'start_time': {'readonly': True}, + 'end_time': {'readonly': True}, + 'scheduled_time': {'readonly': True}, + 'status': {'readonly': True}, + 'code': {'readonly': True}, + 'error': {'readonly': True}, + 'tracking_id': {'readonly': True}, + 'inputs_link': {'readonly': True}, + 'outputs_link': {'readonly': True}, + 'fired': {'readonly': True}, + 'run': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'start_time': {'key': 'properties.startTime', 'type': 'iso-8601'}, + 'end_time': {'key': 'properties.endTime', 'type': 'iso-8601'}, + 'scheduled_time': {'key': 'properties.scheduledTime', 'type': 'iso-8601'}, + 'status': {'key': 'properties.status', 'type': 'str'}, + 'code': {'key': 'properties.code', 'type': 'str'}, + 'error': {'key': 'properties.error', 'type': 'object'}, + 'tracking_id': {'key': 'properties.trackingId', 'type': 'str'}, + 'correlation': {'key': 'properties.correlation', 'type': 'Correlation'}, + 'inputs_link': {'key': 'properties.inputsLink', 'type': 'ContentLink'}, + 'outputs_link': {'key': 'properties.outputsLink', 'type': 'ContentLink'}, + 'fired': {'key': 'properties.fired', 'type': 'bool'}, + 'run': {'key': 'properties.run', 'type': 'ResourceReference'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(WorkflowTriggerHistory, self).__init__(**kwargs) + self.start_time = None + self.end_time = None + self.scheduled_time = None + self.status = None + self.code = None + self.error = None + self.tracking_id = None + self.correlation = kwargs.get('correlation', None) + self.inputs_link = None + self.outputs_link = None + self.fired = None + self.run = None + self.name = None + self.type = None + + +class WorkflowTriggerHistoryFilter(Model): + """The workflow trigger history filter. + + :param status: The status of workflow trigger history. Possible values + include: 'NotSpecified', 'Paused', 'Running', 'Waiting', 'Succeeded', + 'Skipped', 'Suspended', 'Cancelled', 'Failed', 'Faulted', 'TimedOut', + 'Aborted', 'Ignored' + :type status: str or ~azure.mgmt.logic.models.WorkflowStatus + """ + + _attribute_map = { + 'status': {'key': 'status', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(WorkflowTriggerHistoryFilter, self).__init__(**kwargs) + self.status = kwargs.get('status', None) + + +class WorkflowTriggerListCallbackUrlQueries(Model): + """Gets the workflow trigger callback URL query parameters. + + :param api_version: The api version. + :type api_version: str + :param sp: The SAS permissions. + :type sp: str + :param sv: The SAS version. + :type sv: str + :param sig: The SAS signature. + :type sig: str + :param se: The SAS timestamp. + :type se: str + """ + + _attribute_map = { + 'api_version': {'key': 'api-version', 'type': 'str'}, + 'sp': {'key': 'sp', 'type': 'str'}, + 'sv': {'key': 'sv', 'type': 'str'}, + 'sig': {'key': 'sig', 'type': 'str'}, + 'se': {'key': 'se', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(WorkflowTriggerListCallbackUrlQueries, self).__init__(**kwargs) + self.api_version = kwargs.get('api_version', None) + self.sp = kwargs.get('sp', None) + self.sv = kwargs.get('sv', None) + self.sig = kwargs.get('sig', None) + self.se = kwargs.get('se', None) + + +class WorkflowTriggerRecurrence(Model): + """The workflow trigger recurrence. + + :param frequency: The frequency. Possible values include: 'NotSpecified', + 'Second', 'Minute', 'Hour', 'Day', 'Week', 'Month', 'Year' + :type frequency: str or ~azure.mgmt.logic.models.RecurrenceFrequency + :param interval: The interval. + :type interval: int + :param start_time: The start time. + :type start_time: str + :param end_time: The end time. + :type end_time: str + :param time_zone: The time zone. + :type time_zone: str + :param schedule: The recurrence schedule. + :type schedule: ~azure.mgmt.logic.models.RecurrenceSchedule + """ + + _attribute_map = { + 'frequency': {'key': 'frequency', 'type': 'str'}, + 'interval': {'key': 'interval', 'type': 'int'}, + 'start_time': {'key': 'startTime', 'type': 'str'}, + 'end_time': {'key': 'endTime', 'type': 'str'}, + 'time_zone': {'key': 'timeZone', 'type': 'str'}, + 'schedule': {'key': 'schedule', 'type': 'RecurrenceSchedule'}, + } + + def __init__(self, **kwargs): + super(WorkflowTriggerRecurrence, self).__init__(**kwargs) + self.frequency = kwargs.get('frequency', None) + self.interval = kwargs.get('interval', None) + self.start_time = kwargs.get('start_time', None) + self.end_time = kwargs.get('end_time', None) + self.time_zone = kwargs.get('time_zone', None) + self.schedule = kwargs.get('schedule', None) + + +class WorkflowTriggerReference(ResourceReference): + """The workflow trigger reference. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :param id: The resource id. + :type id: str + :ivar name: Gets the resource name. + :vartype name: str + :ivar type: Gets the resource type. + :vartype type: str + :param flow_name: The workflow name. + :type flow_name: str + :param trigger_name: The workflow trigger name. + :type trigger_name: str + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'flow_name': {'key': 'flowName', 'type': 'str'}, + 'trigger_name': {'key': 'triggerName', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(WorkflowTriggerReference, self).__init__(**kwargs) + self.flow_name = kwargs.get('flow_name', None) + self.trigger_name = kwargs.get('trigger_name', None) + + +class WorkflowVersion(Resource): + """The workflow version. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar id: The resource id. + :vartype id: str + :ivar name: Gets the resource name. + :vartype name: str + :ivar type: Gets the resource type. + :vartype type: str + :param location: The resource location. + :type location: str + :param tags: The resource tags. + :type tags: dict[str, str] + :ivar provisioning_state: The provisioning state. Possible values include: + 'NotSpecified', 'Accepted', 'Running', 'Ready', 'Creating', 'Created', + 'Deleting', 'Deleted', 'Canceled', 'Failed', 'Succeeded', 'Moving', + 'Updating', 'Registering', 'Registered', 'Unregistering', 'Unregistered', + 'Completed', 'Renewing', 'Pending', 'Waiting', 'InProgress' + :vartype provisioning_state: str or + ~azure.mgmt.logic.models.WorkflowProvisioningState + :ivar created_time: Gets the created time. + :vartype created_time: datetime + :ivar changed_time: Gets the changed time. + :vartype changed_time: datetime + :param state: The state. Possible values include: 'NotSpecified', + 'Completed', 'Enabled', 'Disabled', 'Deleted', 'Suspended' + :type state: str or ~azure.mgmt.logic.models.WorkflowState + :ivar version: Gets the version. + :vartype version: str + :ivar access_endpoint: Gets the access endpoint. + :vartype access_endpoint: str + :param endpoints_configuration: The endpoints configuration. + :type endpoints_configuration: + ~azure.mgmt.logic.models.FlowEndpointsConfiguration + :param access_control: The access control configuration. + :type access_control: + ~azure.mgmt.logic.models.FlowAccessControlConfiguration + :ivar sku: The sku. + :vartype sku: ~azure.mgmt.logic.models.Sku + :param integration_account: The integration account. + :type integration_account: ~azure.mgmt.logic.models.ResourceReference + :param definition: The definition. + :type definition: object + :param parameters: The parameters. + :type parameters: dict[str, ~azure.mgmt.logic.models.WorkflowParameter] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'created_time': {'readonly': True}, + 'changed_time': {'readonly': True}, + 'version': {'readonly': True}, + 'access_endpoint': {'readonly': True}, + 'sku': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'created_time': {'key': 'properties.createdTime', 'type': 'iso-8601'}, + 'changed_time': {'key': 'properties.changedTime', 'type': 'iso-8601'}, + 'state': {'key': 'properties.state', 'type': 'str'}, + 'version': {'key': 'properties.version', 'type': 'str'}, + 'access_endpoint': {'key': 'properties.accessEndpoint', 'type': 'str'}, + 'endpoints_configuration': {'key': 'properties.endpointsConfiguration', 'type': 'FlowEndpointsConfiguration'}, + 'access_control': {'key': 'properties.accessControl', 'type': 'FlowAccessControlConfiguration'}, + 'sku': {'key': 'properties.sku', 'type': 'Sku'}, + 'integration_account': {'key': 'properties.integrationAccount', 'type': 'ResourceReference'}, + 'definition': {'key': 'properties.definition', 'type': 'object'}, + 'parameters': {'key': 'properties.parameters', 'type': '{WorkflowParameter}'}, + } + + def __init__(self, **kwargs): + super(WorkflowVersion, self).__init__(**kwargs) + self.provisioning_state = None + self.created_time = None + self.changed_time = None + self.state = kwargs.get('state', None) + self.version = None + self.access_endpoint = None + self.endpoints_configuration = kwargs.get('endpoints_configuration', None) + self.access_control = kwargs.get('access_control', None) + self.sku = None + self.integration_account = kwargs.get('integration_account', None) + self.definition = kwargs.get('definition', None) + self.parameters = kwargs.get('parameters', None) + + +class WsdlService(Model): + """The WSDL service. + + :param qualified_name: The qualified name. + :type qualified_name: str + :param endpoint_qualified_names: The list of endpoints' qualified names. + :type endpoint_qualified_names: list[str] + """ + + _attribute_map = { + 'qualified_name': {'key': 'qualifiedName', 'type': 'str'}, + 'endpoint_qualified_names': {'key': 'EndpointQualifiedNames', 'type': '[str]'}, + } + + def __init__(self, **kwargs): + super(WsdlService, self).__init__(**kwargs) + self.qualified_name = kwargs.get('qualified_name', None) + self.endpoint_qualified_names = kwargs.get('endpoint_qualified_names', None) + + +class X12AcknowledgementSettings(Model): + """The X12 agreement acknowledgement settings. + + All required parameters must be populated in order to send to Azure. + + :param need_technical_acknowledgement: Required. The value indicating + whether technical acknowledgement is needed. + :type need_technical_acknowledgement: bool + :param batch_technical_acknowledgements: Required. The value indicating + whether to batch the technical acknowledgements. + :type batch_technical_acknowledgements: bool + :param need_functional_acknowledgement: Required. The value indicating + whether functional acknowledgement is needed. + :type need_functional_acknowledgement: bool + :param functional_acknowledgement_version: The functional acknowledgement + version. + :type functional_acknowledgement_version: str + :param batch_functional_acknowledgements: Required. The value indicating + whether to batch functional acknowledgements. + :type batch_functional_acknowledgements: bool + :param need_implementation_acknowledgement: Required. The value indicating + whether implementation acknowledgement is needed. + :type need_implementation_acknowledgement: bool + :param implementation_acknowledgement_version: The implementation + acknowledgement version. + :type implementation_acknowledgement_version: str + :param batch_implementation_acknowledgements: Required. The value + indicating whether to batch implementation acknowledgements. + :type batch_implementation_acknowledgements: bool + :param need_loop_for_valid_messages: Required. The value indicating + whether a loop is needed for valid messages. + :type need_loop_for_valid_messages: bool + :param send_synchronous_acknowledgement: Required. The value indicating + whether to send synchronous acknowledgement. + :type send_synchronous_acknowledgement: bool + :param acknowledgement_control_number_prefix: The acknowledgement control + number prefix. + :type acknowledgement_control_number_prefix: str + :param acknowledgement_control_number_suffix: The acknowledgement control + number suffix. + :type acknowledgement_control_number_suffix: str + :param acknowledgement_control_number_lower_bound: Required. The + acknowledgement control number lower bound. + :type acknowledgement_control_number_lower_bound: int + :param acknowledgement_control_number_upper_bound: Required. The + acknowledgement control number upper bound. + :type acknowledgement_control_number_upper_bound: int + :param rollover_acknowledgement_control_number: Required. The value + indicating whether to rollover acknowledgement control number. + :type rollover_acknowledgement_control_number: bool + """ + + _validation = { + 'need_technical_acknowledgement': {'required': True}, + 'batch_technical_acknowledgements': {'required': True}, + 'need_functional_acknowledgement': {'required': True}, + 'batch_functional_acknowledgements': {'required': True}, + 'need_implementation_acknowledgement': {'required': True}, + 'batch_implementation_acknowledgements': {'required': True}, + 'need_loop_for_valid_messages': {'required': True}, + 'send_synchronous_acknowledgement': {'required': True}, + 'acknowledgement_control_number_lower_bound': {'required': True}, + 'acknowledgement_control_number_upper_bound': {'required': True}, + 'rollover_acknowledgement_control_number': {'required': True}, + } + + _attribute_map = { + 'need_technical_acknowledgement': {'key': 'needTechnicalAcknowledgement', 'type': 'bool'}, + 'batch_technical_acknowledgements': {'key': 'batchTechnicalAcknowledgements', 'type': 'bool'}, + 'need_functional_acknowledgement': {'key': 'needFunctionalAcknowledgement', 'type': 'bool'}, + 'functional_acknowledgement_version': {'key': 'functionalAcknowledgementVersion', 'type': 'str'}, + 'batch_functional_acknowledgements': {'key': 'batchFunctionalAcknowledgements', 'type': 'bool'}, + 'need_implementation_acknowledgement': {'key': 'needImplementationAcknowledgement', 'type': 'bool'}, + 'implementation_acknowledgement_version': {'key': 'implementationAcknowledgementVersion', 'type': 'str'}, + 'batch_implementation_acknowledgements': {'key': 'batchImplementationAcknowledgements', 'type': 'bool'}, + 'need_loop_for_valid_messages': {'key': 'needLoopForValidMessages', 'type': 'bool'}, + 'send_synchronous_acknowledgement': {'key': 'sendSynchronousAcknowledgement', 'type': 'bool'}, + 'acknowledgement_control_number_prefix': {'key': 'acknowledgementControlNumberPrefix', 'type': 'str'}, + 'acknowledgement_control_number_suffix': {'key': 'acknowledgementControlNumberSuffix', 'type': 'str'}, + 'acknowledgement_control_number_lower_bound': {'key': 'acknowledgementControlNumberLowerBound', 'type': 'int'}, + 'acknowledgement_control_number_upper_bound': {'key': 'acknowledgementControlNumberUpperBound', 'type': 'int'}, + 'rollover_acknowledgement_control_number': {'key': 'rolloverAcknowledgementControlNumber', 'type': 'bool'}, + } + + def __init__(self, **kwargs): + super(X12AcknowledgementSettings, self).__init__(**kwargs) + self.need_technical_acknowledgement = kwargs.get('need_technical_acknowledgement', None) + self.batch_technical_acknowledgements = kwargs.get('batch_technical_acknowledgements', None) + self.need_functional_acknowledgement = kwargs.get('need_functional_acknowledgement', None) + self.functional_acknowledgement_version = kwargs.get('functional_acknowledgement_version', None) + self.batch_functional_acknowledgements = kwargs.get('batch_functional_acknowledgements', None) + self.need_implementation_acknowledgement = kwargs.get('need_implementation_acknowledgement', None) + self.implementation_acknowledgement_version = kwargs.get('implementation_acknowledgement_version', None) + self.batch_implementation_acknowledgements = kwargs.get('batch_implementation_acknowledgements', None) + self.need_loop_for_valid_messages = kwargs.get('need_loop_for_valid_messages', None) + self.send_synchronous_acknowledgement = kwargs.get('send_synchronous_acknowledgement', None) + self.acknowledgement_control_number_prefix = kwargs.get('acknowledgement_control_number_prefix', None) + self.acknowledgement_control_number_suffix = kwargs.get('acknowledgement_control_number_suffix', None) + self.acknowledgement_control_number_lower_bound = kwargs.get('acknowledgement_control_number_lower_bound', None) + self.acknowledgement_control_number_upper_bound = kwargs.get('acknowledgement_control_number_upper_bound', None) + self.rollover_acknowledgement_control_number = kwargs.get('rollover_acknowledgement_control_number', None) + + +class X12AgreementContent(Model): + """The X12 agreement content. + + All required parameters must be populated in order to send to Azure. + + :param receive_agreement: Required. The X12 one-way receive agreement. + :type receive_agreement: ~azure.mgmt.logic.models.X12OneWayAgreement + :param send_agreement: Required. The X12 one-way send agreement. + :type send_agreement: ~azure.mgmt.logic.models.X12OneWayAgreement + """ + + _validation = { + 'receive_agreement': {'required': True}, + 'send_agreement': {'required': True}, + } + + _attribute_map = { + 'receive_agreement': {'key': 'receiveAgreement', 'type': 'X12OneWayAgreement'}, + 'send_agreement': {'key': 'sendAgreement', 'type': 'X12OneWayAgreement'}, + } + + def __init__(self, **kwargs): + super(X12AgreementContent, self).__init__(**kwargs) + self.receive_agreement = kwargs.get('receive_agreement', None) + self.send_agreement = kwargs.get('send_agreement', None) + + +class X12DelimiterOverrides(Model): + """The X12 delimiter override settings. + + All required parameters must be populated in order to send to Azure. + + :param protocol_version: The protocol version. + :type protocol_version: str + :param message_id: The message id. + :type message_id: str + :param data_element_separator: Required. The data element separator. + :type data_element_separator: int + :param component_separator: Required. The component separator. + :type component_separator: int + :param segment_terminator: Required. The segment terminator. + :type segment_terminator: int + :param segment_terminator_suffix: Required. The segment terminator suffix. + Possible values include: 'NotSpecified', 'None', 'CR', 'LF', 'CRLF' + :type segment_terminator_suffix: str or + ~azure.mgmt.logic.models.SegmentTerminatorSuffix + :param replace_character: Required. The replacement character. + :type replace_character: int + :param replace_separators_in_payload: Required. The value indicating + whether to replace separators in payload. + :type replace_separators_in_payload: bool + :param target_namespace: The target namespace on which this delimiter + settings has to be applied. + :type target_namespace: str + """ + + _validation = { + 'data_element_separator': {'required': True}, + 'component_separator': {'required': True}, + 'segment_terminator': {'required': True}, + 'segment_terminator_suffix': {'required': True}, + 'replace_character': {'required': True}, + 'replace_separators_in_payload': {'required': True}, + } + + _attribute_map = { + 'protocol_version': {'key': 'protocolVersion', 'type': 'str'}, + 'message_id': {'key': 'messageId', 'type': 'str'}, + 'data_element_separator': {'key': 'dataElementSeparator', 'type': 'int'}, + 'component_separator': {'key': 'componentSeparator', 'type': 'int'}, + 'segment_terminator': {'key': 'segmentTerminator', 'type': 'int'}, + 'segment_terminator_suffix': {'key': 'segmentTerminatorSuffix', 'type': 'SegmentTerminatorSuffix'}, + 'replace_character': {'key': 'replaceCharacter', 'type': 'int'}, + 'replace_separators_in_payload': {'key': 'replaceSeparatorsInPayload', 'type': 'bool'}, + 'target_namespace': {'key': 'targetNamespace', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(X12DelimiterOverrides, self).__init__(**kwargs) + self.protocol_version = kwargs.get('protocol_version', None) + self.message_id = kwargs.get('message_id', None) + self.data_element_separator = kwargs.get('data_element_separator', None) + self.component_separator = kwargs.get('component_separator', None) + self.segment_terminator = kwargs.get('segment_terminator', None) + self.segment_terminator_suffix = kwargs.get('segment_terminator_suffix', None) + self.replace_character = kwargs.get('replace_character', None) + self.replace_separators_in_payload = kwargs.get('replace_separators_in_payload', None) + self.target_namespace = kwargs.get('target_namespace', None) + + +class X12EnvelopeOverride(Model): + """The X12 envelope override settings. + + All required parameters must be populated in order to send to Azure. + + :param target_namespace: Required. The target namespace on which this + envelope settings has to be applied. + :type target_namespace: str + :param protocol_version: Required. The protocol version on which this + envelope settings has to be applied. + :type protocol_version: str + :param message_id: Required. The message id on which this envelope + settings has to be applied. + :type message_id: str + :param responsible_agency_code: Required. The responsible agency code. + :type responsible_agency_code: str + :param header_version: Required. The header version. + :type header_version: str + :param sender_application_id: Required. The sender application id. + :type sender_application_id: str + :param receiver_application_id: Required. The receiver application id. + :type receiver_application_id: str + :param functional_identifier_code: The functional identifier code. + :type functional_identifier_code: str + :param date_format: Required. The date format. Possible values include: + 'NotSpecified', 'CCYYMMDD', 'YYMMDD' + :type date_format: str or ~azure.mgmt.logic.models.X12DateFormat + :param time_format: Required. The time format. Possible values include: + 'NotSpecified', 'HHMM', 'HHMMSS', 'HHMMSSdd', 'HHMMSSd' + :type time_format: str or ~azure.mgmt.logic.models.X12TimeFormat + """ + + _validation = { + 'target_namespace': {'required': True}, + 'protocol_version': {'required': True}, + 'message_id': {'required': True}, + 'responsible_agency_code': {'required': True}, + 'header_version': {'required': True}, + 'sender_application_id': {'required': True}, + 'receiver_application_id': {'required': True}, + 'date_format': {'required': True}, + 'time_format': {'required': True}, + } + + _attribute_map = { + 'target_namespace': {'key': 'targetNamespace', 'type': 'str'}, + 'protocol_version': {'key': 'protocolVersion', 'type': 'str'}, + 'message_id': {'key': 'messageId', 'type': 'str'}, + 'responsible_agency_code': {'key': 'responsibleAgencyCode', 'type': 'str'}, + 'header_version': {'key': 'headerVersion', 'type': 'str'}, + 'sender_application_id': {'key': 'senderApplicationId', 'type': 'str'}, + 'receiver_application_id': {'key': 'receiverApplicationId', 'type': 'str'}, + 'functional_identifier_code': {'key': 'functionalIdentifierCode', 'type': 'str'}, + 'date_format': {'key': 'dateFormat', 'type': 'str'}, + 'time_format': {'key': 'timeFormat', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(X12EnvelopeOverride, self).__init__(**kwargs) + self.target_namespace = kwargs.get('target_namespace', None) + self.protocol_version = kwargs.get('protocol_version', None) + self.message_id = kwargs.get('message_id', None) + self.responsible_agency_code = kwargs.get('responsible_agency_code', None) + self.header_version = kwargs.get('header_version', None) + self.sender_application_id = kwargs.get('sender_application_id', None) + self.receiver_application_id = kwargs.get('receiver_application_id', None) + self.functional_identifier_code = kwargs.get('functional_identifier_code', None) + self.date_format = kwargs.get('date_format', None) + self.time_format = kwargs.get('time_format', None) + + +class X12EnvelopeSettings(Model): + """The X12 agreement envelope settings. + + All required parameters must be populated in order to send to Azure. + + :param control_standards_id: Required. The controls standards id. + :type control_standards_id: int + :param use_control_standards_id_as_repetition_character: Required. The + value indicating whether to use control standards id as repetition + character. + :type use_control_standards_id_as_repetition_character: bool + :param sender_application_id: Required. The sender application id. + :type sender_application_id: str + :param receiver_application_id: Required. The receiver application id. + :type receiver_application_id: str + :param control_version_number: Required. The control version number. + :type control_version_number: str + :param interchange_control_number_lower_bound: Required. The interchange + control number lower bound. + :type interchange_control_number_lower_bound: int + :param interchange_control_number_upper_bound: Required. The interchange + control number upper bound. + :type interchange_control_number_upper_bound: int + :param rollover_interchange_control_number: Required. The value indicating + whether to rollover interchange control number. + :type rollover_interchange_control_number: bool + :param enable_default_group_headers: Required. The value indicating + whether to enable default group headers. + :type enable_default_group_headers: bool + :param functional_group_id: The functional group id. + :type functional_group_id: str + :param group_control_number_lower_bound: Required. The group control + number lower bound. + :type group_control_number_lower_bound: int + :param group_control_number_upper_bound: Required. The group control + number upper bound. + :type group_control_number_upper_bound: int + :param rollover_group_control_number: Required. The value indicating + whether to rollover group control number. + :type rollover_group_control_number: bool + :param group_header_agency_code: Required. The group header agency code. + :type group_header_agency_code: str + :param group_header_version: Required. The group header version. + :type group_header_version: str + :param transaction_set_control_number_lower_bound: Required. The + transaction set control number lower bound. + :type transaction_set_control_number_lower_bound: int + :param transaction_set_control_number_upper_bound: Required. The + transaction set control number upper bound. + :type transaction_set_control_number_upper_bound: int + :param rollover_transaction_set_control_number: Required. The value + indicating whether to rollover transaction set control number. + :type rollover_transaction_set_control_number: bool + :param transaction_set_control_number_prefix: The transaction set control + number prefix. + :type transaction_set_control_number_prefix: str + :param transaction_set_control_number_suffix: The transaction set control + number suffix. + :type transaction_set_control_number_suffix: str + :param overwrite_existing_transaction_set_control_number: Required. The + value indicating whether to overwrite existing transaction set control + number. + :type overwrite_existing_transaction_set_control_number: bool + :param group_header_date_format: Required. The group header date format. + Possible values include: 'NotSpecified', 'CCYYMMDD', 'YYMMDD' + :type group_header_date_format: str or + ~azure.mgmt.logic.models.X12DateFormat + :param group_header_time_format: Required. The group header time format. + Possible values include: 'NotSpecified', 'HHMM', 'HHMMSS', 'HHMMSSdd', + 'HHMMSSd' + :type group_header_time_format: str or + ~azure.mgmt.logic.models.X12TimeFormat + :param usage_indicator: Required. The usage indicator. Possible values + include: 'NotSpecified', 'Test', 'Information', 'Production' + :type usage_indicator: str or ~azure.mgmt.logic.models.UsageIndicator + """ + + _validation = { + 'control_standards_id': {'required': True}, + 'use_control_standards_id_as_repetition_character': {'required': True}, + 'sender_application_id': {'required': True}, + 'receiver_application_id': {'required': True}, + 'control_version_number': {'required': True}, + 'interchange_control_number_lower_bound': {'required': True}, + 'interchange_control_number_upper_bound': {'required': True}, + 'rollover_interchange_control_number': {'required': True}, + 'enable_default_group_headers': {'required': True}, + 'group_control_number_lower_bound': {'required': True}, + 'group_control_number_upper_bound': {'required': True}, + 'rollover_group_control_number': {'required': True}, + 'group_header_agency_code': {'required': True}, + 'group_header_version': {'required': True}, + 'transaction_set_control_number_lower_bound': {'required': True}, + 'transaction_set_control_number_upper_bound': {'required': True}, + 'rollover_transaction_set_control_number': {'required': True}, + 'overwrite_existing_transaction_set_control_number': {'required': True}, + 'group_header_date_format': {'required': True}, + 'group_header_time_format': {'required': True}, + 'usage_indicator': {'required': True}, + } + + _attribute_map = { + 'control_standards_id': {'key': 'controlStandardsId', 'type': 'int'}, + 'use_control_standards_id_as_repetition_character': {'key': 'useControlStandardsIdAsRepetitionCharacter', 'type': 'bool'}, + 'sender_application_id': {'key': 'senderApplicationId', 'type': 'str'}, + 'receiver_application_id': {'key': 'receiverApplicationId', 'type': 'str'}, + 'control_version_number': {'key': 'controlVersionNumber', 'type': 'str'}, + 'interchange_control_number_lower_bound': {'key': 'interchangeControlNumberLowerBound', 'type': 'int'}, + 'interchange_control_number_upper_bound': {'key': 'interchangeControlNumberUpperBound', 'type': 'int'}, + 'rollover_interchange_control_number': {'key': 'rolloverInterchangeControlNumber', 'type': 'bool'}, + 'enable_default_group_headers': {'key': 'enableDefaultGroupHeaders', 'type': 'bool'}, + 'functional_group_id': {'key': 'functionalGroupId', 'type': 'str'}, + 'group_control_number_lower_bound': {'key': 'groupControlNumberLowerBound', 'type': 'int'}, + 'group_control_number_upper_bound': {'key': 'groupControlNumberUpperBound', 'type': 'int'}, + 'rollover_group_control_number': {'key': 'rolloverGroupControlNumber', 'type': 'bool'}, + 'group_header_agency_code': {'key': 'groupHeaderAgencyCode', 'type': 'str'}, + 'group_header_version': {'key': 'groupHeaderVersion', 'type': 'str'}, + 'transaction_set_control_number_lower_bound': {'key': 'transactionSetControlNumberLowerBound', 'type': 'int'}, + 'transaction_set_control_number_upper_bound': {'key': 'transactionSetControlNumberUpperBound', 'type': 'int'}, + 'rollover_transaction_set_control_number': {'key': 'rolloverTransactionSetControlNumber', 'type': 'bool'}, + 'transaction_set_control_number_prefix': {'key': 'transactionSetControlNumberPrefix', 'type': 'str'}, + 'transaction_set_control_number_suffix': {'key': 'transactionSetControlNumberSuffix', 'type': 'str'}, + 'overwrite_existing_transaction_set_control_number': {'key': 'overwriteExistingTransactionSetControlNumber', 'type': 'bool'}, + 'group_header_date_format': {'key': 'groupHeaderDateFormat', 'type': 'str'}, + 'group_header_time_format': {'key': 'groupHeaderTimeFormat', 'type': 'str'}, + 'usage_indicator': {'key': 'usageIndicator', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(X12EnvelopeSettings, self).__init__(**kwargs) + self.control_standards_id = kwargs.get('control_standards_id', None) + self.use_control_standards_id_as_repetition_character = kwargs.get('use_control_standards_id_as_repetition_character', None) + self.sender_application_id = kwargs.get('sender_application_id', None) + self.receiver_application_id = kwargs.get('receiver_application_id', None) + self.control_version_number = kwargs.get('control_version_number', None) + self.interchange_control_number_lower_bound = kwargs.get('interchange_control_number_lower_bound', None) + self.interchange_control_number_upper_bound = kwargs.get('interchange_control_number_upper_bound', None) + self.rollover_interchange_control_number = kwargs.get('rollover_interchange_control_number', None) + self.enable_default_group_headers = kwargs.get('enable_default_group_headers', None) + self.functional_group_id = kwargs.get('functional_group_id', None) + self.group_control_number_lower_bound = kwargs.get('group_control_number_lower_bound', None) + self.group_control_number_upper_bound = kwargs.get('group_control_number_upper_bound', None) + self.rollover_group_control_number = kwargs.get('rollover_group_control_number', None) + self.group_header_agency_code = kwargs.get('group_header_agency_code', None) + self.group_header_version = kwargs.get('group_header_version', None) + self.transaction_set_control_number_lower_bound = kwargs.get('transaction_set_control_number_lower_bound', None) + self.transaction_set_control_number_upper_bound = kwargs.get('transaction_set_control_number_upper_bound', None) + self.rollover_transaction_set_control_number = kwargs.get('rollover_transaction_set_control_number', None) + self.transaction_set_control_number_prefix = kwargs.get('transaction_set_control_number_prefix', None) + self.transaction_set_control_number_suffix = kwargs.get('transaction_set_control_number_suffix', None) + self.overwrite_existing_transaction_set_control_number = kwargs.get('overwrite_existing_transaction_set_control_number', None) + self.group_header_date_format = kwargs.get('group_header_date_format', None) + self.group_header_time_format = kwargs.get('group_header_time_format', None) + self.usage_indicator = kwargs.get('usage_indicator', None) + + +class X12FramingSettings(Model): + """The X12 agreement framing settings. + + All required parameters must be populated in order to send to Azure. + + :param data_element_separator: Required. The data element separator. + :type data_element_separator: int + :param component_separator: Required. The component separator. + :type component_separator: int + :param replace_separators_in_payload: Required. The value indicating + whether to replace separators in payload. + :type replace_separators_in_payload: bool + :param replace_character: Required. The replacement character. + :type replace_character: int + :param segment_terminator: Required. The segment terminator. + :type segment_terminator: int + :param character_set: Required. The X12 character set. Possible values + include: 'NotSpecified', 'Basic', 'Extended', 'UTF8' + :type character_set: str or ~azure.mgmt.logic.models.X12CharacterSet + :param segment_terminator_suffix: Required. The segment terminator suffix. + Possible values include: 'NotSpecified', 'None', 'CR', 'LF', 'CRLF' + :type segment_terminator_suffix: str or + ~azure.mgmt.logic.models.SegmentTerminatorSuffix + """ + + _validation = { + 'data_element_separator': {'required': True}, + 'component_separator': {'required': True}, + 'replace_separators_in_payload': {'required': True}, + 'replace_character': {'required': True}, + 'segment_terminator': {'required': True}, + 'character_set': {'required': True}, + 'segment_terminator_suffix': {'required': True}, + } + + _attribute_map = { + 'data_element_separator': {'key': 'dataElementSeparator', 'type': 'int'}, + 'component_separator': {'key': 'componentSeparator', 'type': 'int'}, + 'replace_separators_in_payload': {'key': 'replaceSeparatorsInPayload', 'type': 'bool'}, + 'replace_character': {'key': 'replaceCharacter', 'type': 'int'}, + 'segment_terminator': {'key': 'segmentTerminator', 'type': 'int'}, + 'character_set': {'key': 'characterSet', 'type': 'str'}, + 'segment_terminator_suffix': {'key': 'segmentTerminatorSuffix', 'type': 'SegmentTerminatorSuffix'}, + } + + def __init__(self, **kwargs): + super(X12FramingSettings, self).__init__(**kwargs) + self.data_element_separator = kwargs.get('data_element_separator', None) + self.component_separator = kwargs.get('component_separator', None) + self.replace_separators_in_payload = kwargs.get('replace_separators_in_payload', None) + self.replace_character = kwargs.get('replace_character', None) + self.segment_terminator = kwargs.get('segment_terminator', None) + self.character_set = kwargs.get('character_set', None) + self.segment_terminator_suffix = kwargs.get('segment_terminator_suffix', None) + + +class X12MessageFilter(Model): + """The X12 message filter for odata query. + + All required parameters must be populated in order to send to Azure. + + :param message_filter_type: Required. The message filter type. Possible + values include: 'NotSpecified', 'Include', 'Exclude' + :type message_filter_type: str or + ~azure.mgmt.logic.models.MessageFilterType + """ + + _validation = { + 'message_filter_type': {'required': True}, + } + + _attribute_map = { + 'message_filter_type': {'key': 'messageFilterType', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(X12MessageFilter, self).__init__(**kwargs) + self.message_filter_type = kwargs.get('message_filter_type', None) + + +class X12MessageIdentifier(Model): + """The X12 message identifier. + + All required parameters must be populated in order to send to Azure. + + :param message_id: Required. The message id. + :type message_id: str + """ + + _validation = { + 'message_id': {'required': True}, + } + + _attribute_map = { + 'message_id': {'key': 'messageId', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(X12MessageIdentifier, self).__init__(**kwargs) + self.message_id = kwargs.get('message_id', None) + + +class X12OneWayAgreement(Model): + """The X12 one-way agreement. + + All required parameters must be populated in order to send to Azure. + + :param sender_business_identity: Required. The sender business identity + :type sender_business_identity: ~azure.mgmt.logic.models.BusinessIdentity + :param receiver_business_identity: Required. The receiver business + identity + :type receiver_business_identity: + ~azure.mgmt.logic.models.BusinessIdentity + :param protocol_settings: Required. The X12 protocol settings. + :type protocol_settings: ~azure.mgmt.logic.models.X12ProtocolSettings + """ + + _validation = { + 'sender_business_identity': {'required': True}, + 'receiver_business_identity': {'required': True}, + 'protocol_settings': {'required': True}, + } + + _attribute_map = { + 'sender_business_identity': {'key': 'senderBusinessIdentity', 'type': 'BusinessIdentity'}, + 'receiver_business_identity': {'key': 'receiverBusinessIdentity', 'type': 'BusinessIdentity'}, + 'protocol_settings': {'key': 'protocolSettings', 'type': 'X12ProtocolSettings'}, + } + + def __init__(self, **kwargs): + super(X12OneWayAgreement, self).__init__(**kwargs) + self.sender_business_identity = kwargs.get('sender_business_identity', None) + self.receiver_business_identity = kwargs.get('receiver_business_identity', None) + self.protocol_settings = kwargs.get('protocol_settings', None) + + +class X12ProcessingSettings(Model): + """The X12 processing settings. + + All required parameters must be populated in order to send to Azure. + + :param mask_security_info: Required. The value indicating whether to mask + security information. + :type mask_security_info: bool + :param convert_implied_decimal: Required. The value indicating whether to + convert numerical type to implied decimal. + :type convert_implied_decimal: bool + :param preserve_interchange: Required. The value indicating whether to + preserve interchange. + :type preserve_interchange: bool + :param suspend_interchange_on_error: Required. The value indicating + whether to suspend interchange on error. + :type suspend_interchange_on_error: bool + :param create_empty_xml_tags_for_trailing_separators: Required. The value + indicating whether to create empty xml tags for trailing separators. + :type create_empty_xml_tags_for_trailing_separators: bool + :param use_dot_as_decimal_separator: Required. The value indicating + whether to use dot as decimal separator. + :type use_dot_as_decimal_separator: bool + """ + + _validation = { + 'mask_security_info': {'required': True}, + 'convert_implied_decimal': {'required': True}, + 'preserve_interchange': {'required': True}, + 'suspend_interchange_on_error': {'required': True}, + 'create_empty_xml_tags_for_trailing_separators': {'required': True}, + 'use_dot_as_decimal_separator': {'required': True}, + } + + _attribute_map = { + 'mask_security_info': {'key': 'maskSecurityInfo', 'type': 'bool'}, + 'convert_implied_decimal': {'key': 'convertImpliedDecimal', 'type': 'bool'}, + 'preserve_interchange': {'key': 'preserveInterchange', 'type': 'bool'}, + 'suspend_interchange_on_error': {'key': 'suspendInterchangeOnError', 'type': 'bool'}, + 'create_empty_xml_tags_for_trailing_separators': {'key': 'createEmptyXmlTagsForTrailingSeparators', 'type': 'bool'}, + 'use_dot_as_decimal_separator': {'key': 'useDotAsDecimalSeparator', 'type': 'bool'}, + } + + def __init__(self, **kwargs): + super(X12ProcessingSettings, self).__init__(**kwargs) + self.mask_security_info = kwargs.get('mask_security_info', None) + self.convert_implied_decimal = kwargs.get('convert_implied_decimal', None) + self.preserve_interchange = kwargs.get('preserve_interchange', None) + self.suspend_interchange_on_error = kwargs.get('suspend_interchange_on_error', None) + self.create_empty_xml_tags_for_trailing_separators = kwargs.get('create_empty_xml_tags_for_trailing_separators', None) + self.use_dot_as_decimal_separator = kwargs.get('use_dot_as_decimal_separator', None) + + +class X12ProtocolSettings(Model): + """The X12 agreement protocol settings. + + All required parameters must be populated in order to send to Azure. + + :param validation_settings: Required. The X12 validation settings. + :type validation_settings: ~azure.mgmt.logic.models.X12ValidationSettings + :param framing_settings: Required. The X12 framing settings. + :type framing_settings: ~azure.mgmt.logic.models.X12FramingSettings + :param envelope_settings: Required. The X12 envelope settings. + :type envelope_settings: ~azure.mgmt.logic.models.X12EnvelopeSettings + :param acknowledgement_settings: Required. The X12 acknowledgment + settings. + :type acknowledgement_settings: + ~azure.mgmt.logic.models.X12AcknowledgementSettings + :param message_filter: Required. The X12 message filter. + :type message_filter: ~azure.mgmt.logic.models.X12MessageFilter + :param security_settings: Required. The X12 security settings. + :type security_settings: ~azure.mgmt.logic.models.X12SecuritySettings + :param processing_settings: Required. The X12 processing settings. + :type processing_settings: ~azure.mgmt.logic.models.X12ProcessingSettings + :param envelope_overrides: The X12 envelope override settings. + :type envelope_overrides: + list[~azure.mgmt.logic.models.X12EnvelopeOverride] + :param validation_overrides: The X12 validation override settings. + :type validation_overrides: + list[~azure.mgmt.logic.models.X12ValidationOverride] + :param message_filter_list: The X12 message filter list. + :type message_filter_list: + list[~azure.mgmt.logic.models.X12MessageIdentifier] + :param schema_references: Required. The X12 schema references. + :type schema_references: list[~azure.mgmt.logic.models.X12SchemaReference] + :param x12_delimiter_overrides: The X12 delimiter override settings. + :type x12_delimiter_overrides: + list[~azure.mgmt.logic.models.X12DelimiterOverrides] + """ + + _validation = { + 'validation_settings': {'required': True}, + 'framing_settings': {'required': True}, + 'envelope_settings': {'required': True}, + 'acknowledgement_settings': {'required': True}, + 'message_filter': {'required': True}, + 'security_settings': {'required': True}, + 'processing_settings': {'required': True}, + 'schema_references': {'required': True}, + } + + _attribute_map = { + 'validation_settings': {'key': 'validationSettings', 'type': 'X12ValidationSettings'}, + 'framing_settings': {'key': 'framingSettings', 'type': 'X12FramingSettings'}, + 'envelope_settings': {'key': 'envelopeSettings', 'type': 'X12EnvelopeSettings'}, + 'acknowledgement_settings': {'key': 'acknowledgementSettings', 'type': 'X12AcknowledgementSettings'}, + 'message_filter': {'key': 'messageFilter', 'type': 'X12MessageFilter'}, + 'security_settings': {'key': 'securitySettings', 'type': 'X12SecuritySettings'}, + 'processing_settings': {'key': 'processingSettings', 'type': 'X12ProcessingSettings'}, + 'envelope_overrides': {'key': 'envelopeOverrides', 'type': '[X12EnvelopeOverride]'}, + 'validation_overrides': {'key': 'validationOverrides', 'type': '[X12ValidationOverride]'}, + 'message_filter_list': {'key': 'messageFilterList', 'type': '[X12MessageIdentifier]'}, + 'schema_references': {'key': 'schemaReferences', 'type': '[X12SchemaReference]'}, + 'x12_delimiter_overrides': {'key': 'x12DelimiterOverrides', 'type': '[X12DelimiterOverrides]'}, + } + + def __init__(self, **kwargs): + super(X12ProtocolSettings, self).__init__(**kwargs) + self.validation_settings = kwargs.get('validation_settings', None) + self.framing_settings = kwargs.get('framing_settings', None) + self.envelope_settings = kwargs.get('envelope_settings', None) + self.acknowledgement_settings = kwargs.get('acknowledgement_settings', None) + self.message_filter = kwargs.get('message_filter', None) + self.security_settings = kwargs.get('security_settings', None) + self.processing_settings = kwargs.get('processing_settings', None) + self.envelope_overrides = kwargs.get('envelope_overrides', None) + self.validation_overrides = kwargs.get('validation_overrides', None) + self.message_filter_list = kwargs.get('message_filter_list', None) + self.schema_references = kwargs.get('schema_references', None) + self.x12_delimiter_overrides = kwargs.get('x12_delimiter_overrides', None) + + +class X12SchemaReference(Model): + """The X12 schema reference. + + All required parameters must be populated in order to send to Azure. + + :param message_id: Required. The message id. + :type message_id: str + :param sender_application_id: The sender application id. + :type sender_application_id: str + :param schema_version: Required. The schema version. + :type schema_version: str + :param schema_name: Required. The schema name. + :type schema_name: str + """ + + _validation = { + 'message_id': {'required': True}, + 'schema_version': {'required': True}, + 'schema_name': {'required': True}, + } + + _attribute_map = { + 'message_id': {'key': 'messageId', 'type': 'str'}, + 'sender_application_id': {'key': 'senderApplicationId', 'type': 'str'}, + 'schema_version': {'key': 'schemaVersion', 'type': 'str'}, + 'schema_name': {'key': 'schemaName', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(X12SchemaReference, self).__init__(**kwargs) + self.message_id = kwargs.get('message_id', None) + self.sender_application_id = kwargs.get('sender_application_id', None) + self.schema_version = kwargs.get('schema_version', None) + self.schema_name = kwargs.get('schema_name', None) + + +class X12SecuritySettings(Model): + """The X12 agreement security settings. + + All required parameters must be populated in order to send to Azure. + + :param authorization_qualifier: Required. The authorization qualifier. + :type authorization_qualifier: str + :param authorization_value: The authorization value. + :type authorization_value: str + :param security_qualifier: Required. The security qualifier. + :type security_qualifier: str + :param password_value: The password value. + :type password_value: str + """ + + _validation = { + 'authorization_qualifier': {'required': True}, + 'security_qualifier': {'required': True}, + } + + _attribute_map = { + 'authorization_qualifier': {'key': 'authorizationQualifier', 'type': 'str'}, + 'authorization_value': {'key': 'authorizationValue', 'type': 'str'}, + 'security_qualifier': {'key': 'securityQualifier', 'type': 'str'}, + 'password_value': {'key': 'passwordValue', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(X12SecuritySettings, self).__init__(**kwargs) + self.authorization_qualifier = kwargs.get('authorization_qualifier', None) + self.authorization_value = kwargs.get('authorization_value', None) + self.security_qualifier = kwargs.get('security_qualifier', None) + self.password_value = kwargs.get('password_value', None) + + +class X12ValidationOverride(Model): + """The X12 validation override settings. + + All required parameters must be populated in order to send to Azure. + + :param message_id: Required. The message id on which the validation + settings has to be applied. + :type message_id: str + :param validate_edi_types: Required. The value indicating whether to + validate EDI types. + :type validate_edi_types: bool + :param validate_xsd_types: Required. The value indicating whether to + validate XSD types. + :type validate_xsd_types: bool + :param allow_leading_and_trailing_spaces_and_zeroes: Required. The value + indicating whether to allow leading and trailing spaces and zeroes. + :type allow_leading_and_trailing_spaces_and_zeroes: bool + :param validate_character_set: Required. The value indicating whether to + validate character Set. + :type validate_character_set: bool + :param trim_leading_and_trailing_spaces_and_zeroes: Required. The value + indicating whether to trim leading and trailing spaces and zeroes. + :type trim_leading_and_trailing_spaces_and_zeroes: bool + :param trailing_separator_policy: Required. The trailing separator policy. + Possible values include: 'NotSpecified', 'NotAllowed', 'Optional', + 'Mandatory' + :type trailing_separator_policy: str or + ~azure.mgmt.logic.models.TrailingSeparatorPolicy + """ + + _validation = { + 'message_id': {'required': True}, + 'validate_edi_types': {'required': True}, + 'validate_xsd_types': {'required': True}, + 'allow_leading_and_trailing_spaces_and_zeroes': {'required': True}, + 'validate_character_set': {'required': True}, + 'trim_leading_and_trailing_spaces_and_zeroes': {'required': True}, + 'trailing_separator_policy': {'required': True}, + } + + _attribute_map = { + 'message_id': {'key': 'messageId', 'type': 'str'}, + 'validate_edi_types': {'key': 'validateEDITypes', 'type': 'bool'}, + 'validate_xsd_types': {'key': 'validateXSDTypes', 'type': 'bool'}, + 'allow_leading_and_trailing_spaces_and_zeroes': {'key': 'allowLeadingAndTrailingSpacesAndZeroes', 'type': 'bool'}, + 'validate_character_set': {'key': 'validateCharacterSet', 'type': 'bool'}, + 'trim_leading_and_trailing_spaces_and_zeroes': {'key': 'trimLeadingAndTrailingSpacesAndZeroes', 'type': 'bool'}, + 'trailing_separator_policy': {'key': 'trailingSeparatorPolicy', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(X12ValidationOverride, self).__init__(**kwargs) + self.message_id = kwargs.get('message_id', None) + self.validate_edi_types = kwargs.get('validate_edi_types', None) + self.validate_xsd_types = kwargs.get('validate_xsd_types', None) + self.allow_leading_and_trailing_spaces_and_zeroes = kwargs.get('allow_leading_and_trailing_spaces_and_zeroes', None) + self.validate_character_set = kwargs.get('validate_character_set', None) + self.trim_leading_and_trailing_spaces_and_zeroes = kwargs.get('trim_leading_and_trailing_spaces_and_zeroes', None) + self.trailing_separator_policy = kwargs.get('trailing_separator_policy', None) + + +class X12ValidationSettings(Model): + """The X12 agreement validation settings. + + All required parameters must be populated in order to send to Azure. + + :param validate_character_set: Required. The value indicating whether to + validate character set in the message. + :type validate_character_set: bool + :param check_duplicate_interchange_control_number: Required. The value + indicating whether to check for duplicate interchange control number. + :type check_duplicate_interchange_control_number: bool + :param interchange_control_number_validity_days: Required. The validity + period of interchange control number. + :type interchange_control_number_validity_days: int + :param check_duplicate_group_control_number: Required. The value + indicating whether to check for duplicate group control number. + :type check_duplicate_group_control_number: bool + :param check_duplicate_transaction_set_control_number: Required. The value + indicating whether to check for duplicate transaction set control number. + :type check_duplicate_transaction_set_control_number: bool + :param validate_edi_types: Required. The value indicating whether to + Whether to validate EDI types. + :type validate_edi_types: bool + :param validate_xsd_types: Required. The value indicating whether to + Whether to validate XSD types. + :type validate_xsd_types: bool + :param allow_leading_and_trailing_spaces_and_zeroes: Required. The value + indicating whether to allow leading and trailing spaces and zeroes. + :type allow_leading_and_trailing_spaces_and_zeroes: bool + :param trim_leading_and_trailing_spaces_and_zeroes: Required. The value + indicating whether to trim leading and trailing spaces and zeroes. + :type trim_leading_and_trailing_spaces_and_zeroes: bool + :param trailing_separator_policy: Required. The trailing separator policy. + Possible values include: 'NotSpecified', 'NotAllowed', 'Optional', + 'Mandatory' + :type trailing_separator_policy: str or + ~azure.mgmt.logic.models.TrailingSeparatorPolicy + """ + + _validation = { + 'validate_character_set': {'required': True}, + 'check_duplicate_interchange_control_number': {'required': True}, + 'interchange_control_number_validity_days': {'required': True}, + 'check_duplicate_group_control_number': {'required': True}, + 'check_duplicate_transaction_set_control_number': {'required': True}, + 'validate_edi_types': {'required': True}, + 'validate_xsd_types': {'required': True}, + 'allow_leading_and_trailing_spaces_and_zeroes': {'required': True}, + 'trim_leading_and_trailing_spaces_and_zeroes': {'required': True}, + 'trailing_separator_policy': {'required': True}, + } + + _attribute_map = { + 'validate_character_set': {'key': 'validateCharacterSet', 'type': 'bool'}, + 'check_duplicate_interchange_control_number': {'key': 'checkDuplicateInterchangeControlNumber', 'type': 'bool'}, + 'interchange_control_number_validity_days': {'key': 'interchangeControlNumberValidityDays', 'type': 'int'}, + 'check_duplicate_group_control_number': {'key': 'checkDuplicateGroupControlNumber', 'type': 'bool'}, + 'check_duplicate_transaction_set_control_number': {'key': 'checkDuplicateTransactionSetControlNumber', 'type': 'bool'}, + 'validate_edi_types': {'key': 'validateEDITypes', 'type': 'bool'}, + 'validate_xsd_types': {'key': 'validateXSDTypes', 'type': 'bool'}, + 'allow_leading_and_trailing_spaces_and_zeroes': {'key': 'allowLeadingAndTrailingSpacesAndZeroes', 'type': 'bool'}, + 'trim_leading_and_trailing_spaces_and_zeroes': {'key': 'trimLeadingAndTrailingSpacesAndZeroes', 'type': 'bool'}, + 'trailing_separator_policy': {'key': 'trailingSeparatorPolicy', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(X12ValidationSettings, self).__init__(**kwargs) + self.validate_character_set = kwargs.get('validate_character_set', None) + self.check_duplicate_interchange_control_number = kwargs.get('check_duplicate_interchange_control_number', None) + self.interchange_control_number_validity_days = kwargs.get('interchange_control_number_validity_days', None) + self.check_duplicate_group_control_number = kwargs.get('check_duplicate_group_control_number', None) + self.check_duplicate_transaction_set_control_number = kwargs.get('check_duplicate_transaction_set_control_number', None) + self.validate_edi_types = kwargs.get('validate_edi_types', None) + self.validate_xsd_types = kwargs.get('validate_xsd_types', None) + self.allow_leading_and_trailing_spaces_and_zeroes = kwargs.get('allow_leading_and_trailing_spaces_and_zeroes', None) + self.trim_leading_and_trailing_spaces_and_zeroes = kwargs.get('trim_leading_and_trailing_spaces_and_zeroes', None) + self.trailing_separator_policy = kwargs.get('trailing_separator_policy', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/_models_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/_models_py3.py new file mode 100644 index 000000000000..9500420bd58e --- /dev/null +++ b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/_models_py3.py @@ -0,0 +1,7141 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model +from msrest.exceptions import HttpOperationError + + +class AgreementContent(Model): + """The integration account agreement content. + + :param a_s2: The AS2 agreement content. + :type a_s2: ~azure.mgmt.logic.models.AS2AgreementContent + :param x12: The X12 agreement content. + :type x12: ~azure.mgmt.logic.models.X12AgreementContent + :param edifact: The EDIFACT agreement content. + :type edifact: ~azure.mgmt.logic.models.EdifactAgreementContent + """ + + _attribute_map = { + 'a_s2': {'key': 'aS2', 'type': 'AS2AgreementContent'}, + 'x12': {'key': 'x12', 'type': 'X12AgreementContent'}, + 'edifact': {'key': 'edifact', 'type': 'EdifactAgreementContent'}, + } + + def __init__(self, *, a_s2=None, x12=None, edifact=None, **kwargs) -> None: + super(AgreementContent, self).__init__(**kwargs) + self.a_s2 = a_s2 + self.x12 = x12 + self.edifact = edifact + + +class ApiDeploymentParameterMetadata(Model): + """The API deployment parameter metadata. + + :param type: The type. + :type type: str + :param is_required: Indicates whether its required. + :type is_required: bool + :param display_name: The display name. + :type display_name: str + :param description: The description. + :type description: str + :param visibility: The visibility. Possible values include: + 'NotSpecified', 'Default', 'Internal' + :type visibility: str or + ~azure.mgmt.logic.models.ApiDeploymentParameterVisibility + """ + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + 'is_required': {'key': 'isRequired', 'type': 'bool'}, + 'display_name': {'key': 'displayName', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + 'visibility': {'key': 'visibility', 'type': 'str'}, + } + + def __init__(self, *, type: str=None, is_required: bool=None, display_name: str=None, description: str=None, visibility=None, **kwargs) -> None: + super(ApiDeploymentParameterMetadata, self).__init__(**kwargs) + self.type = type + self.is_required = is_required + self.display_name = display_name + self.description = description + self.visibility = visibility + + +class ApiDeploymentParameterMetadataSet(Model): + """The API deployment parameters metadata. + + :param package_content_link: The package content link parameter. + :type package_content_link: + ~azure.mgmt.logic.models.ApiDeploymentParameterMetadata + :param redis_cache_connection_string: The package content link parameter. + :type redis_cache_connection_string: + ~azure.mgmt.logic.models.ApiDeploymentParameterMetadata + """ + + _attribute_map = { + 'package_content_link': {'key': 'packageContentLink', 'type': 'ApiDeploymentParameterMetadata'}, + 'redis_cache_connection_string': {'key': 'redisCacheConnectionString', 'type': 'ApiDeploymentParameterMetadata'}, + } + + def __init__(self, *, package_content_link=None, redis_cache_connection_string=None, **kwargs) -> None: + super(ApiDeploymentParameterMetadataSet, self).__init__(**kwargs) + self.package_content_link = package_content_link + self.redis_cache_connection_string = redis_cache_connection_string + + +class Resource(Model): + """The base resource type. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar id: The resource id. + :vartype id: str + :ivar name: Gets the resource name. + :vartype name: str + :ivar type: Gets the resource type. + :vartype type: str + :param location: The resource location. + :type location: str + :param tags: The resource tags. + :type tags: dict[str, str] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + } + + def __init__(self, *, location: str=None, tags=None, **kwargs) -> None: + super(Resource, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None + self.location = location + self.tags = tags + + +class ApiOperation(Resource): + """The api operation. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar id: The resource id. + :vartype id: str + :ivar name: Gets the resource name. + :vartype name: str + :ivar type: Gets the resource type. + :vartype type: str + :param location: The resource location. + :type location: str + :param tags: The resource tags. + :type tags: dict[str, str] + :param properties: + :type properties: + ~azure.mgmt.logic.models.ApiOperationPropertiesDefinition + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'properties': {'key': 'properties', 'type': 'ApiOperationPropertiesDefinition'}, + } + + def __init__(self, *, location: str=None, tags=None, properties=None, **kwargs) -> None: + super(ApiOperation, self).__init__(location=location, tags=tags, **kwargs) + self.properties = properties + + +class ApiOperationAnnotation(Model): + """The Api Operation Annotation. + + :param status: Possible values include: 'NotSpecified', 'Preview', + 'Production' + :type status: str or ~azure.mgmt.logic.models.StatusAnnotation + :param family: The family. + :type family: str + :param revision: The revision. + :type revision: int + """ + + _attribute_map = { + 'status': {'key': 'status', 'type': 'str'}, + 'family': {'key': 'family', 'type': 'str'}, + 'revision': {'key': 'revision', 'type': 'int'}, + } + + def __init__(self, *, status=None, family: str=None, revision: int=None, **kwargs) -> None: + super(ApiOperationAnnotation, self).__init__(**kwargs) + self.status = status + self.family = family + self.revision = revision + + +class ApiOperationPropertiesDefinition(Model): + """The api operations properties. + + :param summary: The summary of the api operation. + :type summary: str + :param description: The description of the api operation. + :type description: str + :param visibility: The visibility of the api operation. + :type visibility: str + :param trigger: The trigger type of api operation. + :type trigger: str + :param trigger_hint: The trigger hint for the api operation. + :type trigger_hint: str + :param pageable: Indicates whether the api operation is pageable. + :type pageable: bool + :param annotation: The annotation of api operation. + :type annotation: ~azure.mgmt.logic.models.ApiOperationAnnotation + :param api: The api reference. + :type api: ~azure.mgmt.logic.models.ApiReference + :param inputs_definition: The operation inputs definition schema. + :type inputs_definition: ~azure.mgmt.logic.models.SwaggerSchema + :param responses_definition: The operation responses definition schemas. + :type responses_definition: dict[str, + ~azure.mgmt.logic.models.SwaggerSchema] + :param is_webhook: Indicates whether the API operation is webhook or not. + :type is_webhook: bool + :param is_notification: Indicates whether the API operation is + notification or not. + :type is_notification: bool + """ + + _attribute_map = { + 'summary': {'key': 'summary', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + 'visibility': {'key': 'visibility', 'type': 'str'}, + 'trigger': {'key': 'trigger', 'type': 'str'}, + 'trigger_hint': {'key': 'triggerHint', 'type': 'str'}, + 'pageable': {'key': 'pageable', 'type': 'bool'}, + 'annotation': {'key': 'annotation', 'type': 'ApiOperationAnnotation'}, + 'api': {'key': 'api', 'type': 'ApiReference'}, + 'inputs_definition': {'key': 'inputsDefinition', 'type': 'SwaggerSchema'}, + 'responses_definition': {'key': 'responsesDefinition', 'type': '{SwaggerSchema}'}, + 'is_webhook': {'key': 'isWebhook', 'type': 'bool'}, + 'is_notification': {'key': 'isNotification', 'type': 'bool'}, + } + + def __init__(self, *, summary: str=None, description: str=None, visibility: str=None, trigger: str=None, trigger_hint: str=None, pageable: bool=None, annotation=None, api=None, inputs_definition=None, responses_definition=None, is_webhook: bool=None, is_notification: bool=None, **kwargs) -> None: + super(ApiOperationPropertiesDefinition, self).__init__(**kwargs) + self.summary = summary + self.description = description + self.visibility = visibility + self.trigger = trigger + self.trigger_hint = trigger_hint + self.pageable = pageable + self.annotation = annotation + self.api = api + self.inputs_definition = inputs_definition + self.responses_definition = responses_definition + self.is_webhook = is_webhook + self.is_notification = is_notification + + +class ResourceReference(Model): + """The resource reference. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :param id: The resource id. + :type id: str + :ivar name: Gets the resource name. + :vartype name: str + :ivar type: Gets the resource type. + :vartype type: str + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__(self, *, id: str=None, **kwargs) -> None: + super(ResourceReference, self).__init__(**kwargs) + self.id = id + self.name = None + self.type = None + + +class ApiReference(ResourceReference): + """The Api reference. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :param id: The resource id. + :type id: str + :ivar name: Gets the resource name. + :vartype name: str + :ivar type: Gets the resource type. + :vartype type: str + :param display_name: The display name of the api. + :type display_name: str + :param description: The description of the api. + :type description: str + :param icon_uri: The icon uri of the api. + :type icon_uri: str + :param swagger: The swagger of the api. + :type swagger: object + :param brand_color: The brand color of the api. + :type brand_color: str + :param category: The tier. Possible values include: 'NotSpecified', + 'Enterprise', 'Standard', 'Premium' + :type category: str or ~azure.mgmt.logic.models.ApiTier + :param integration_service_environment: The integration service + environment reference. + :type integration_service_environment: + ~azure.mgmt.logic.models.ResourceReference + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'display_name': {'key': 'displayName', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + 'icon_uri': {'key': 'iconUri', 'type': 'str'}, + 'swagger': {'key': 'swagger', 'type': 'object'}, + 'brand_color': {'key': 'brandColor', 'type': 'str'}, + 'category': {'key': 'category', 'type': 'str'}, + 'integration_service_environment': {'key': 'integrationServiceEnvironment', 'type': 'ResourceReference'}, + } + + def __init__(self, *, id: str=None, display_name: str=None, description: str=None, icon_uri: str=None, swagger=None, brand_color: str=None, category=None, integration_service_environment=None, **kwargs) -> None: + super(ApiReference, self).__init__(id=id, **kwargs) + self.display_name = display_name + self.description = description + self.icon_uri = icon_uri + self.swagger = swagger + self.brand_color = brand_color + self.category = category + self.integration_service_environment = integration_service_environment + + +class ApiResourceBackendService(Model): + """The API backend service. + + :param service_url: The service URL. + :type service_url: str + """ + + _attribute_map = { + 'service_url': {'key': 'serviceUrl', 'type': 'str'}, + } + + def __init__(self, *, service_url: str=None, **kwargs) -> None: + super(ApiResourceBackendService, self).__init__(**kwargs) + self.service_url = service_url + + +class ApiResourceDefinitions(Model): + """The Api resource definition. + + :param original_swagger_url: The original swagger url. + :type original_swagger_url: str + :param modified_swagger_url: The modified swagger url. + :type modified_swagger_url: str + """ + + _attribute_map = { + 'original_swagger_url': {'key': 'originalSwaggerUrl', 'type': 'str'}, + 'modified_swagger_url': {'key': 'modifiedSwaggerUrl', 'type': 'str'}, + } + + def __init__(self, *, original_swagger_url: str=None, modified_swagger_url: str=None, **kwargs) -> None: + super(ApiResourceDefinitions, self).__init__(**kwargs) + self.original_swagger_url = original_swagger_url + self.modified_swagger_url = modified_swagger_url + + +class ApiResourceGeneralInformation(Model): + """The API general information. + + :param icon_url: The icon url. + :type icon_url: str + :param display_name: The display name. + :type display_name: str + :param description: The description. + :type description: str + :param terms_of_use_url: The terms of use url. + :type terms_of_use_url: str + :param release_tag: The release tag. + :type release_tag: str + :param tier: The tier. Possible values include: 'NotSpecified', + 'Enterprise', 'Standard', 'Premium' + :type tier: str or ~azure.mgmt.logic.models.ApiTier + """ + + _attribute_map = { + 'icon_url': {'key': 'iconUrl', 'type': 'str'}, + 'display_name': {'key': 'displayName', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + 'terms_of_use_url': {'key': 'termsOfUseUrl', 'type': 'str'}, + 'release_tag': {'key': 'releaseTag', 'type': 'str'}, + 'tier': {'key': 'tier', 'type': 'str'}, + } + + def __init__(self, *, icon_url: str=None, display_name: str=None, description: str=None, terms_of_use_url: str=None, release_tag: str=None, tier=None, **kwargs) -> None: + super(ApiResourceGeneralInformation, self).__init__(**kwargs) + self.icon_url = icon_url + self.display_name = display_name + self.description = description + self.terms_of_use_url = terms_of_use_url + self.release_tag = release_tag + self.tier = tier + + +class ApiResourceMetadata(Model): + """The api resource metadata. + + :param source: The source. + :type source: str + :param brand_color: The brand color. + :type brand_color: str + :param hide_key: The hide key. + :type hide_key: str + :param tags: The tags. + :type tags: dict[str, str] + :param api_type: The api type. Possible values include: 'NotSpecified', + 'Rest', 'Soap' + :type api_type: str or ~azure.mgmt.logic.models.ApiType + :param wsdl_service: The WSDL service. + :type wsdl_service: ~azure.mgmt.logic.models.WsdlService + :param wsdl_import_method: The WSDL import method. Possible values + include: 'NotSpecified', 'SoapToRest', 'SoapPassThrough' + :type wsdl_import_method: str or ~azure.mgmt.logic.models.WsdlImportMethod + :param connection_type: The connection type. + :type connection_type: str + :param provisioning_state: The provisioning state. Possible values + include: 'NotSpecified', 'Accepted', 'Running', 'Ready', 'Creating', + 'Created', 'Deleting', 'Deleted', 'Canceled', 'Failed', 'Succeeded', + 'Moving', 'Updating', 'Registering', 'Registered', 'Unregistering', + 'Unregistered', 'Completed', 'Renewing', 'Pending', 'Waiting', + 'InProgress' + :type provisioning_state: str or + ~azure.mgmt.logic.models.WorkflowProvisioningState + :param deployment_parameters: The connector deployment parameters + metadata. + :type deployment_parameters: + ~azure.mgmt.logic.models.ApiDeploymentParameterMetadataSet + """ + + _attribute_map = { + 'source': {'key': 'source', 'type': 'str'}, + 'brand_color': {'key': 'brandColor', 'type': 'str'}, + 'hide_key': {'key': 'hideKey', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'api_type': {'key': 'ApiType', 'type': 'str'}, + 'wsdl_service': {'key': 'wsdlService', 'type': 'WsdlService'}, + 'wsdl_import_method': {'key': 'wsdlImportMethod', 'type': 'str'}, + 'connection_type': {'key': 'connectionType', 'type': 'str'}, + 'provisioning_state': {'key': 'provisioningState', 'type': 'str'}, + 'deployment_parameters': {'key': 'deploymentParameters', 'type': 'ApiDeploymentParameterMetadataSet'}, + } + + def __init__(self, *, source: str=None, brand_color: str=None, hide_key: str=None, tags=None, api_type=None, wsdl_service=None, wsdl_import_method=None, connection_type: str=None, provisioning_state=None, deployment_parameters=None, **kwargs) -> None: + super(ApiResourceMetadata, self).__init__(**kwargs) + self.source = source + self.brand_color = brand_color + self.hide_key = hide_key + self.tags = tags + self.api_type = api_type + self.wsdl_service = wsdl_service + self.wsdl_import_method = wsdl_import_method + self.connection_type = connection_type + self.provisioning_state = provisioning_state + self.deployment_parameters = deployment_parameters + + +class ApiResourcePolicies(Model): + """The API resource policies. + + :param content: The API level only policies XML as embedded content. + :type content: str + :param content_link: The content link to the policies. + :type content_link: str + """ + + _attribute_map = { + 'content': {'key': 'content', 'type': 'str'}, + 'content_link': {'key': 'contentLink', 'type': 'str'}, + } + + def __init__(self, *, content: str=None, content_link: str=None, **kwargs) -> None: + super(ApiResourcePolicies, self).__init__(**kwargs) + self.content = content + self.content_link = content_link + + +class ApiResourceProperties(Model): + """The API resource properties. + + :param name: The name + :type name: str + :param connection_parameters: The connection parameters. + :type connection_parameters: dict[str, object] + :param metadata: The metadata. + :type metadata: ~azure.mgmt.logic.models.ApiResourceMetadata + :param runtime_urls: The runtime urls. + :type runtime_urls: list[str] + :param general_information: The api general information. + :type general_information: + ~azure.mgmt.logic.models.ApiResourceGeneralInformation + :param capabilities: The capabilities. + :type capabilities: list[str] + :param backend_service: The backend service. + :type backend_service: ~azure.mgmt.logic.models.ApiResourceBackendService + :param policies: The policies for the API. + :type policies: ~azure.mgmt.logic.models.ApiResourcePolicies + :param api_definition_url: The API definition. + :type api_definition_url: str + :param api_definitions: The api definitions. + :type api_definitions: ~azure.mgmt.logic.models.ApiResourceDefinitions + :param integration_service_environment: The integration service + environment reference. + :type integration_service_environment: + ~azure.mgmt.logic.models.ResourceReference + :param provisioning_state: The provisioning state. Possible values + include: 'NotSpecified', 'Accepted', 'Running', 'Ready', 'Creating', + 'Created', 'Deleting', 'Deleted', 'Canceled', 'Failed', 'Succeeded', + 'Moving', 'Updating', 'Registering', 'Registered', 'Unregistering', + 'Unregistered', 'Completed', 'Renewing', 'Pending', 'Waiting', + 'InProgress' + :type provisioning_state: str or + ~azure.mgmt.logic.models.WorkflowProvisioningState + :param category: The category. Possible values include: 'NotSpecified', + 'Enterprise', 'Standard', 'Premium' + :type category: str or ~azure.mgmt.logic.models.ApiTier + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'connection_parameters': {'key': 'connectionParameters', 'type': '{object}'}, + 'metadata': {'key': 'metadata', 'type': 'ApiResourceMetadata'}, + 'runtime_urls': {'key': 'runtimeUrls', 'type': '[str]'}, + 'general_information': {'key': 'generalInformation', 'type': 'ApiResourceGeneralInformation'}, + 'capabilities': {'key': 'capabilities', 'type': '[str]'}, + 'backend_service': {'key': 'backendService', 'type': 'ApiResourceBackendService'}, + 'policies': {'key': 'policies', 'type': 'ApiResourcePolicies'}, + 'api_definition_url': {'key': 'apiDefinitionUrl', 'type': 'str'}, + 'api_definitions': {'key': 'apiDefinitions', 'type': 'ApiResourceDefinitions'}, + 'integration_service_environment': {'key': 'integrationServiceEnvironment', 'type': 'ResourceReference'}, + 'provisioning_state': {'key': 'provisioningState', 'type': 'str'}, + 'category': {'key': 'category', 'type': 'str'}, + } + + def __init__(self, *, name: str=None, connection_parameters=None, metadata=None, runtime_urls=None, general_information=None, capabilities=None, backend_service=None, policies=None, api_definition_url: str=None, api_definitions=None, integration_service_environment=None, provisioning_state=None, category=None, **kwargs) -> None: + super(ApiResourceProperties, self).__init__(**kwargs) + self.name = name + self.connection_parameters = connection_parameters + self.metadata = metadata + self.runtime_urls = runtime_urls + self.general_information = general_information + self.capabilities = capabilities + self.backend_service = backend_service + self.policies = policies + self.api_definition_url = api_definition_url + self.api_definitions = api_definitions + self.integration_service_environment = integration_service_environment + self.provisioning_state = provisioning_state + self.category = category + + +class ArtifactProperties(Model): + """The artifact properties definition. + + :param created_time: The artifact creation time. + :type created_time: datetime + :param changed_time: The artifact changed time. + :type changed_time: datetime + :param metadata: + :type metadata: object + """ + + _attribute_map = { + 'created_time': {'key': 'createdTime', 'type': 'iso-8601'}, + 'changed_time': {'key': 'changedTime', 'type': 'iso-8601'}, + 'metadata': {'key': 'metadata', 'type': 'object'}, + } + + def __init__(self, *, created_time=None, changed_time=None, metadata=None, **kwargs) -> None: + super(ArtifactProperties, self).__init__(**kwargs) + self.created_time = created_time + self.changed_time = changed_time + self.metadata = metadata + + +class ArtifactContentPropertiesDefinition(ArtifactProperties): + """The artifact content properties definition. + + :param created_time: The artifact creation time. + :type created_time: datetime + :param changed_time: The artifact changed time. + :type changed_time: datetime + :param metadata: + :type metadata: object + :param content: + :type content: object + :param content_type: The content type. + :type content_type: str + :param content_link: The content link. + :type content_link: ~azure.mgmt.logic.models.ContentLink + """ + + _attribute_map = { + 'created_time': {'key': 'createdTime', 'type': 'iso-8601'}, + 'changed_time': {'key': 'changedTime', 'type': 'iso-8601'}, + 'metadata': {'key': 'metadata', 'type': 'object'}, + 'content': {'key': 'content', 'type': 'object'}, + 'content_type': {'key': 'contentType', 'type': 'str'}, + 'content_link': {'key': 'contentLink', 'type': 'ContentLink'}, + } + + def __init__(self, *, created_time=None, changed_time=None, metadata=None, content=None, content_type: str=None, content_link=None, **kwargs) -> None: + super(ArtifactContentPropertiesDefinition, self).__init__(created_time=created_time, changed_time=changed_time, metadata=metadata, **kwargs) + self.content = content + self.content_type = content_type + self.content_link = content_link + + +class AS2AcknowledgementConnectionSettings(Model): + """The AS2 agreement acknowledgement connection settings. + + All required parameters must be populated in order to send to Azure. + + :param ignore_certificate_name_mismatch: Required. Indicates whether to + ignore mismatch in certificate name. + :type ignore_certificate_name_mismatch: bool + :param support_http_status_code_continue: Required. Indicates whether to + support HTTP status code 'CONTINUE'. + :type support_http_status_code_continue: bool + :param keep_http_connection_alive: Required. Indicates whether to keep the + connection alive. + :type keep_http_connection_alive: bool + :param unfold_http_headers: Required. Indicates whether to unfold the HTTP + headers. + :type unfold_http_headers: bool + """ + + _validation = { + 'ignore_certificate_name_mismatch': {'required': True}, + 'support_http_status_code_continue': {'required': True}, + 'keep_http_connection_alive': {'required': True}, + 'unfold_http_headers': {'required': True}, + } + + _attribute_map = { + 'ignore_certificate_name_mismatch': {'key': 'ignoreCertificateNameMismatch', 'type': 'bool'}, + 'support_http_status_code_continue': {'key': 'supportHttpStatusCodeContinue', 'type': 'bool'}, + 'keep_http_connection_alive': {'key': 'keepHttpConnectionAlive', 'type': 'bool'}, + 'unfold_http_headers': {'key': 'unfoldHttpHeaders', 'type': 'bool'}, + } + + def __init__(self, *, ignore_certificate_name_mismatch: bool, support_http_status_code_continue: bool, keep_http_connection_alive: bool, unfold_http_headers: bool, **kwargs) -> None: + super(AS2AcknowledgementConnectionSettings, self).__init__(**kwargs) + self.ignore_certificate_name_mismatch = ignore_certificate_name_mismatch + self.support_http_status_code_continue = support_http_status_code_continue + self.keep_http_connection_alive = keep_http_connection_alive + self.unfold_http_headers = unfold_http_headers + + +class AS2AgreementContent(Model): + """The integration account AS2 agreement content. + + All required parameters must be populated in order to send to Azure. + + :param receive_agreement: Required. The AS2 one-way receive agreement. + :type receive_agreement: ~azure.mgmt.logic.models.AS2OneWayAgreement + :param send_agreement: Required. The AS2 one-way send agreement. + :type send_agreement: ~azure.mgmt.logic.models.AS2OneWayAgreement + """ + + _validation = { + 'receive_agreement': {'required': True}, + 'send_agreement': {'required': True}, + } + + _attribute_map = { + 'receive_agreement': {'key': 'receiveAgreement', 'type': 'AS2OneWayAgreement'}, + 'send_agreement': {'key': 'sendAgreement', 'type': 'AS2OneWayAgreement'}, + } + + def __init__(self, *, receive_agreement, send_agreement, **kwargs) -> None: + super(AS2AgreementContent, self).__init__(**kwargs) + self.receive_agreement = receive_agreement + self.send_agreement = send_agreement + + +class AS2EnvelopeSettings(Model): + """The AS2 agreement envelope settings. + + All required parameters must be populated in order to send to Azure. + + :param message_content_type: Required. The message content type. + :type message_content_type: str + :param transmit_file_name_in_mime_header: Required. The value indicating + whether to transmit file name in mime header. + :type transmit_file_name_in_mime_header: bool + :param file_name_template: Required. The template for file name. + :type file_name_template: str + :param suspend_message_on_file_name_generation_error: Required. The value + indicating whether to suspend message on file name generation error. + :type suspend_message_on_file_name_generation_error: bool + :param autogenerate_file_name: Required. The value indicating whether to + auto generate file name. + :type autogenerate_file_name: bool + """ + + _validation = { + 'message_content_type': {'required': True}, + 'transmit_file_name_in_mime_header': {'required': True}, + 'file_name_template': {'required': True}, + 'suspend_message_on_file_name_generation_error': {'required': True}, + 'autogenerate_file_name': {'required': True}, + } + + _attribute_map = { + 'message_content_type': {'key': 'messageContentType', 'type': 'str'}, + 'transmit_file_name_in_mime_header': {'key': 'transmitFileNameInMimeHeader', 'type': 'bool'}, + 'file_name_template': {'key': 'fileNameTemplate', 'type': 'str'}, + 'suspend_message_on_file_name_generation_error': {'key': 'suspendMessageOnFileNameGenerationError', 'type': 'bool'}, + 'autogenerate_file_name': {'key': 'autogenerateFileName', 'type': 'bool'}, + } + + def __init__(self, *, message_content_type: str, transmit_file_name_in_mime_header: bool, file_name_template: str, suspend_message_on_file_name_generation_error: bool, autogenerate_file_name: bool, **kwargs) -> None: + super(AS2EnvelopeSettings, self).__init__(**kwargs) + self.message_content_type = message_content_type + self.transmit_file_name_in_mime_header = transmit_file_name_in_mime_header + self.file_name_template = file_name_template + self.suspend_message_on_file_name_generation_error = suspend_message_on_file_name_generation_error + self.autogenerate_file_name = autogenerate_file_name + + +class AS2ErrorSettings(Model): + """The AS2 agreement error settings. + + All required parameters must be populated in order to send to Azure. + + :param suspend_duplicate_message: Required. The value indicating whether + to suspend duplicate message. + :type suspend_duplicate_message: bool + :param resend_if_mdn_not_received: Required. The value indicating whether + to resend message If MDN is not received. + :type resend_if_mdn_not_received: bool + """ + + _validation = { + 'suspend_duplicate_message': {'required': True}, + 'resend_if_mdn_not_received': {'required': True}, + } + + _attribute_map = { + 'suspend_duplicate_message': {'key': 'suspendDuplicateMessage', 'type': 'bool'}, + 'resend_if_mdn_not_received': {'key': 'resendIfMDNNotReceived', 'type': 'bool'}, + } + + def __init__(self, *, suspend_duplicate_message: bool, resend_if_mdn_not_received: bool, **kwargs) -> None: + super(AS2ErrorSettings, self).__init__(**kwargs) + self.suspend_duplicate_message = suspend_duplicate_message + self.resend_if_mdn_not_received = resend_if_mdn_not_received + + +class AS2MdnSettings(Model): + """The AS2 agreement mdn settings. + + All required parameters must be populated in order to send to Azure. + + :param need_mdn: Required. The value indicating whether to send or request + a MDN. + :type need_mdn: bool + :param sign_mdn: Required. The value indicating whether the MDN needs to + be signed or not. + :type sign_mdn: bool + :param send_mdn_asynchronously: Required. The value indicating whether to + send the asynchronous MDN. + :type send_mdn_asynchronously: bool + :param receipt_delivery_url: The receipt delivery URL. + :type receipt_delivery_url: str + :param disposition_notification_to: The disposition notification to header + value. + :type disposition_notification_to: str + :param sign_outbound_mdn_if_optional: Required. The value indicating + whether to sign the outbound MDN if optional. + :type sign_outbound_mdn_if_optional: bool + :param mdn_text: The MDN text. + :type mdn_text: str + :param send_inbound_mdn_to_message_box: Required. The value indicating + whether to send inbound MDN to message box. + :type send_inbound_mdn_to_message_box: bool + :param mic_hashing_algorithm: Required. The signing or hashing algorithm. + Possible values include: 'NotSpecified', 'None', 'MD5', 'SHA1', 'SHA2256', + 'SHA2384', 'SHA2512' + :type mic_hashing_algorithm: str or + ~azure.mgmt.logic.models.HashingAlgorithm + """ + + _validation = { + 'need_mdn': {'required': True}, + 'sign_mdn': {'required': True}, + 'send_mdn_asynchronously': {'required': True}, + 'sign_outbound_mdn_if_optional': {'required': True}, + 'send_inbound_mdn_to_message_box': {'required': True}, + 'mic_hashing_algorithm': {'required': True}, + } + + _attribute_map = { + 'need_mdn': {'key': 'needMDN', 'type': 'bool'}, + 'sign_mdn': {'key': 'signMDN', 'type': 'bool'}, + 'send_mdn_asynchronously': {'key': 'sendMDNAsynchronously', 'type': 'bool'}, + 'receipt_delivery_url': {'key': 'receiptDeliveryUrl', 'type': 'str'}, + 'disposition_notification_to': {'key': 'dispositionNotificationTo', 'type': 'str'}, + 'sign_outbound_mdn_if_optional': {'key': 'signOutboundMDNIfOptional', 'type': 'bool'}, + 'mdn_text': {'key': 'mdnText', 'type': 'str'}, + 'send_inbound_mdn_to_message_box': {'key': 'sendInboundMDNToMessageBox', 'type': 'bool'}, + 'mic_hashing_algorithm': {'key': 'micHashingAlgorithm', 'type': 'str'}, + } + + def __init__(self, *, need_mdn: bool, sign_mdn: bool, send_mdn_asynchronously: bool, sign_outbound_mdn_if_optional: bool, send_inbound_mdn_to_message_box: bool, mic_hashing_algorithm, receipt_delivery_url: str=None, disposition_notification_to: str=None, mdn_text: str=None, **kwargs) -> None: + super(AS2MdnSettings, self).__init__(**kwargs) + self.need_mdn = need_mdn + self.sign_mdn = sign_mdn + self.send_mdn_asynchronously = send_mdn_asynchronously + self.receipt_delivery_url = receipt_delivery_url + self.disposition_notification_to = disposition_notification_to + self.sign_outbound_mdn_if_optional = sign_outbound_mdn_if_optional + self.mdn_text = mdn_text + self.send_inbound_mdn_to_message_box = send_inbound_mdn_to_message_box + self.mic_hashing_algorithm = mic_hashing_algorithm + + +class AS2MessageConnectionSettings(Model): + """The AS2 agreement message connection settings. + + All required parameters must be populated in order to send to Azure. + + :param ignore_certificate_name_mismatch: Required. The value indicating + whether to ignore mismatch in certificate name. + :type ignore_certificate_name_mismatch: bool + :param support_http_status_code_continue: Required. The value indicating + whether to support HTTP status code 'CONTINUE'. + :type support_http_status_code_continue: bool + :param keep_http_connection_alive: Required. The value indicating whether + to keep the connection alive. + :type keep_http_connection_alive: bool + :param unfold_http_headers: Required. The value indicating whether to + unfold the HTTP headers. + :type unfold_http_headers: bool + """ + + _validation = { + 'ignore_certificate_name_mismatch': {'required': True}, + 'support_http_status_code_continue': {'required': True}, + 'keep_http_connection_alive': {'required': True}, + 'unfold_http_headers': {'required': True}, + } + + _attribute_map = { + 'ignore_certificate_name_mismatch': {'key': 'ignoreCertificateNameMismatch', 'type': 'bool'}, + 'support_http_status_code_continue': {'key': 'supportHttpStatusCodeContinue', 'type': 'bool'}, + 'keep_http_connection_alive': {'key': 'keepHttpConnectionAlive', 'type': 'bool'}, + 'unfold_http_headers': {'key': 'unfoldHttpHeaders', 'type': 'bool'}, + } + + def __init__(self, *, ignore_certificate_name_mismatch: bool, support_http_status_code_continue: bool, keep_http_connection_alive: bool, unfold_http_headers: bool, **kwargs) -> None: + super(AS2MessageConnectionSettings, self).__init__(**kwargs) + self.ignore_certificate_name_mismatch = ignore_certificate_name_mismatch + self.support_http_status_code_continue = support_http_status_code_continue + self.keep_http_connection_alive = keep_http_connection_alive + self.unfold_http_headers = unfold_http_headers + + +class AS2OneWayAgreement(Model): + """The integration account AS2 one-way agreement. + + All required parameters must be populated in order to send to Azure. + + :param sender_business_identity: Required. The sender business identity + :type sender_business_identity: ~azure.mgmt.logic.models.BusinessIdentity + :param receiver_business_identity: Required. The receiver business + identity + :type receiver_business_identity: + ~azure.mgmt.logic.models.BusinessIdentity + :param protocol_settings: Required. The AS2 protocol settings. + :type protocol_settings: ~azure.mgmt.logic.models.AS2ProtocolSettings + """ + + _validation = { + 'sender_business_identity': {'required': True}, + 'receiver_business_identity': {'required': True}, + 'protocol_settings': {'required': True}, + } + + _attribute_map = { + 'sender_business_identity': {'key': 'senderBusinessIdentity', 'type': 'BusinessIdentity'}, + 'receiver_business_identity': {'key': 'receiverBusinessIdentity', 'type': 'BusinessIdentity'}, + 'protocol_settings': {'key': 'protocolSettings', 'type': 'AS2ProtocolSettings'}, + } + + def __init__(self, *, sender_business_identity, receiver_business_identity, protocol_settings, **kwargs) -> None: + super(AS2OneWayAgreement, self).__init__(**kwargs) + self.sender_business_identity = sender_business_identity + self.receiver_business_identity = receiver_business_identity + self.protocol_settings = protocol_settings + + +class AS2ProtocolSettings(Model): + """The AS2 agreement protocol settings. + + All required parameters must be populated in order to send to Azure. + + :param message_connection_settings: Required. The message connection + settings. + :type message_connection_settings: + ~azure.mgmt.logic.models.AS2MessageConnectionSettings + :param acknowledgement_connection_settings: Required. The acknowledgement + connection settings. + :type acknowledgement_connection_settings: + ~azure.mgmt.logic.models.AS2AcknowledgementConnectionSettings + :param mdn_settings: Required. The MDN settings. + :type mdn_settings: ~azure.mgmt.logic.models.AS2MdnSettings + :param security_settings: Required. The security settings. + :type security_settings: ~azure.mgmt.logic.models.AS2SecuritySettings + :param validation_settings: Required. The validation settings. + :type validation_settings: ~azure.mgmt.logic.models.AS2ValidationSettings + :param envelope_settings: Required. The envelope settings. + :type envelope_settings: ~azure.mgmt.logic.models.AS2EnvelopeSettings + :param error_settings: Required. The error settings. + :type error_settings: ~azure.mgmt.logic.models.AS2ErrorSettings + """ + + _validation = { + 'message_connection_settings': {'required': True}, + 'acknowledgement_connection_settings': {'required': True}, + 'mdn_settings': {'required': True}, + 'security_settings': {'required': True}, + 'validation_settings': {'required': True}, + 'envelope_settings': {'required': True}, + 'error_settings': {'required': True}, + } + + _attribute_map = { + 'message_connection_settings': {'key': 'messageConnectionSettings', 'type': 'AS2MessageConnectionSettings'}, + 'acknowledgement_connection_settings': {'key': 'acknowledgementConnectionSettings', 'type': 'AS2AcknowledgementConnectionSettings'}, + 'mdn_settings': {'key': 'mdnSettings', 'type': 'AS2MdnSettings'}, + 'security_settings': {'key': 'securitySettings', 'type': 'AS2SecuritySettings'}, + 'validation_settings': {'key': 'validationSettings', 'type': 'AS2ValidationSettings'}, + 'envelope_settings': {'key': 'envelopeSettings', 'type': 'AS2EnvelopeSettings'}, + 'error_settings': {'key': 'errorSettings', 'type': 'AS2ErrorSettings'}, + } + + def __init__(self, *, message_connection_settings, acknowledgement_connection_settings, mdn_settings, security_settings, validation_settings, envelope_settings, error_settings, **kwargs) -> None: + super(AS2ProtocolSettings, self).__init__(**kwargs) + self.message_connection_settings = message_connection_settings + self.acknowledgement_connection_settings = acknowledgement_connection_settings + self.mdn_settings = mdn_settings + self.security_settings = security_settings + self.validation_settings = validation_settings + self.envelope_settings = envelope_settings + self.error_settings = error_settings + + +class AS2SecuritySettings(Model): + """The AS2 agreement security settings. + + All required parameters must be populated in order to send to Azure. + + :param override_group_signing_certificate: Required. The value indicating + whether to send or request a MDN. + :type override_group_signing_certificate: bool + :param signing_certificate_name: The name of the signing certificate. + :type signing_certificate_name: str + :param encryption_certificate_name: The name of the encryption + certificate. + :type encryption_certificate_name: str + :param enable_nrr_for_inbound_encoded_messages: Required. The value + indicating whether to enable NRR for inbound encoded messages. + :type enable_nrr_for_inbound_encoded_messages: bool + :param enable_nrr_for_inbound_decoded_messages: Required. The value + indicating whether to enable NRR for inbound decoded messages. + :type enable_nrr_for_inbound_decoded_messages: bool + :param enable_nrr_for_outbound_mdn: Required. The value indicating whether + to enable NRR for outbound MDN. + :type enable_nrr_for_outbound_mdn: bool + :param enable_nrr_for_outbound_encoded_messages: Required. The value + indicating whether to enable NRR for outbound encoded messages. + :type enable_nrr_for_outbound_encoded_messages: bool + :param enable_nrr_for_outbound_decoded_messages: Required. The value + indicating whether to enable NRR for outbound decoded messages. + :type enable_nrr_for_outbound_decoded_messages: bool + :param enable_nrr_for_inbound_mdn: Required. The value indicating whether + to enable NRR for inbound MDN. + :type enable_nrr_for_inbound_mdn: bool + :param sha2_algorithm_format: The Sha2 algorithm format. Valid values are + Sha2, ShaHashSize, ShaHyphenHashSize, Sha2UnderscoreHashSize. + :type sha2_algorithm_format: str + """ + + _validation = { + 'override_group_signing_certificate': {'required': True}, + 'enable_nrr_for_inbound_encoded_messages': {'required': True}, + 'enable_nrr_for_inbound_decoded_messages': {'required': True}, + 'enable_nrr_for_outbound_mdn': {'required': True}, + 'enable_nrr_for_outbound_encoded_messages': {'required': True}, + 'enable_nrr_for_outbound_decoded_messages': {'required': True}, + 'enable_nrr_for_inbound_mdn': {'required': True}, + } + + _attribute_map = { + 'override_group_signing_certificate': {'key': 'overrideGroupSigningCertificate', 'type': 'bool'}, + 'signing_certificate_name': {'key': 'signingCertificateName', 'type': 'str'}, + 'encryption_certificate_name': {'key': 'encryptionCertificateName', 'type': 'str'}, + 'enable_nrr_for_inbound_encoded_messages': {'key': 'enableNRRForInboundEncodedMessages', 'type': 'bool'}, + 'enable_nrr_for_inbound_decoded_messages': {'key': 'enableNRRForInboundDecodedMessages', 'type': 'bool'}, + 'enable_nrr_for_outbound_mdn': {'key': 'enableNRRForOutboundMDN', 'type': 'bool'}, + 'enable_nrr_for_outbound_encoded_messages': {'key': 'enableNRRForOutboundEncodedMessages', 'type': 'bool'}, + 'enable_nrr_for_outbound_decoded_messages': {'key': 'enableNRRForOutboundDecodedMessages', 'type': 'bool'}, + 'enable_nrr_for_inbound_mdn': {'key': 'enableNRRForInboundMDN', 'type': 'bool'}, + 'sha2_algorithm_format': {'key': 'sha2AlgorithmFormat', 'type': 'str'}, + } + + def __init__(self, *, override_group_signing_certificate: bool, enable_nrr_for_inbound_encoded_messages: bool, enable_nrr_for_inbound_decoded_messages: bool, enable_nrr_for_outbound_mdn: bool, enable_nrr_for_outbound_encoded_messages: bool, enable_nrr_for_outbound_decoded_messages: bool, enable_nrr_for_inbound_mdn: bool, signing_certificate_name: str=None, encryption_certificate_name: str=None, sha2_algorithm_format: str=None, **kwargs) -> None: + super(AS2SecuritySettings, self).__init__(**kwargs) + self.override_group_signing_certificate = override_group_signing_certificate + self.signing_certificate_name = signing_certificate_name + self.encryption_certificate_name = encryption_certificate_name + self.enable_nrr_for_inbound_encoded_messages = enable_nrr_for_inbound_encoded_messages + self.enable_nrr_for_inbound_decoded_messages = enable_nrr_for_inbound_decoded_messages + self.enable_nrr_for_outbound_mdn = enable_nrr_for_outbound_mdn + self.enable_nrr_for_outbound_encoded_messages = enable_nrr_for_outbound_encoded_messages + self.enable_nrr_for_outbound_decoded_messages = enable_nrr_for_outbound_decoded_messages + self.enable_nrr_for_inbound_mdn = enable_nrr_for_inbound_mdn + self.sha2_algorithm_format = sha2_algorithm_format + + +class AS2ValidationSettings(Model): + """The AS2 agreement validation settings. + + All required parameters must be populated in order to send to Azure. + + :param override_message_properties: Required. The value indicating whether + to override incoming message properties with those in agreement. + :type override_message_properties: bool + :param encrypt_message: Required. The value indicating whether the message + has to be encrypted. + :type encrypt_message: bool + :param sign_message: Required. The value indicating whether the message + has to be signed. + :type sign_message: bool + :param compress_message: Required. The value indicating whether the + message has to be compressed. + :type compress_message: bool + :param check_duplicate_message: Required. The value indicating whether to + check for duplicate message. + :type check_duplicate_message: bool + :param interchange_duplicates_validity_days: Required. The number of days + to look back for duplicate interchange. + :type interchange_duplicates_validity_days: int + :param check_certificate_revocation_list_on_send: Required. The value + indicating whether to check for certificate revocation list on send. + :type check_certificate_revocation_list_on_send: bool + :param check_certificate_revocation_list_on_receive: Required. The value + indicating whether to check for certificate revocation list on receive. + :type check_certificate_revocation_list_on_receive: bool + :param encryption_algorithm: Required. The encryption algorithm. Possible + values include: 'NotSpecified', 'None', 'DES3', 'RC2', 'AES128', 'AES192', + 'AES256' + :type encryption_algorithm: str or + ~azure.mgmt.logic.models.EncryptionAlgorithm + :param signing_algorithm: The signing algorithm. Possible values include: + 'NotSpecified', 'Default', 'SHA1', 'SHA2256', 'SHA2384', 'SHA2512' + :type signing_algorithm: str or ~azure.mgmt.logic.models.SigningAlgorithm + """ + + _validation = { + 'override_message_properties': {'required': True}, + 'encrypt_message': {'required': True}, + 'sign_message': {'required': True}, + 'compress_message': {'required': True}, + 'check_duplicate_message': {'required': True}, + 'interchange_duplicates_validity_days': {'required': True}, + 'check_certificate_revocation_list_on_send': {'required': True}, + 'check_certificate_revocation_list_on_receive': {'required': True}, + 'encryption_algorithm': {'required': True}, + } + + _attribute_map = { + 'override_message_properties': {'key': 'overrideMessageProperties', 'type': 'bool'}, + 'encrypt_message': {'key': 'encryptMessage', 'type': 'bool'}, + 'sign_message': {'key': 'signMessage', 'type': 'bool'}, + 'compress_message': {'key': 'compressMessage', 'type': 'bool'}, + 'check_duplicate_message': {'key': 'checkDuplicateMessage', 'type': 'bool'}, + 'interchange_duplicates_validity_days': {'key': 'interchangeDuplicatesValidityDays', 'type': 'int'}, + 'check_certificate_revocation_list_on_send': {'key': 'checkCertificateRevocationListOnSend', 'type': 'bool'}, + 'check_certificate_revocation_list_on_receive': {'key': 'checkCertificateRevocationListOnReceive', 'type': 'bool'}, + 'encryption_algorithm': {'key': 'encryptionAlgorithm', 'type': 'str'}, + 'signing_algorithm': {'key': 'signingAlgorithm', 'type': 'str'}, + } + + def __init__(self, *, override_message_properties: bool, encrypt_message: bool, sign_message: bool, compress_message: bool, check_duplicate_message: bool, interchange_duplicates_validity_days: int, check_certificate_revocation_list_on_send: bool, check_certificate_revocation_list_on_receive: bool, encryption_algorithm, signing_algorithm=None, **kwargs) -> None: + super(AS2ValidationSettings, self).__init__(**kwargs) + self.override_message_properties = override_message_properties + self.encrypt_message = encrypt_message + self.sign_message = sign_message + self.compress_message = compress_message + self.check_duplicate_message = check_duplicate_message + self.interchange_duplicates_validity_days = interchange_duplicates_validity_days + self.check_certificate_revocation_list_on_send = check_certificate_revocation_list_on_send + self.check_certificate_revocation_list_on_receive = check_certificate_revocation_list_on_receive + self.encryption_algorithm = encryption_algorithm + self.signing_algorithm = signing_algorithm + + +class AssemblyDefinition(Resource): + """The assembly definition. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The resource id. + :vartype id: str + :ivar name: Gets the resource name. + :vartype name: str + :ivar type: Gets the resource type. + :vartype type: str + :param location: The resource location. + :type location: str + :param tags: The resource tags. + :type tags: dict[str, str] + :param properties: Required. The assembly properties. + :type properties: ~azure.mgmt.logic.models.AssemblyProperties + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'properties': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'properties': {'key': 'properties', 'type': 'AssemblyProperties'}, + } + + def __init__(self, *, properties, location: str=None, tags=None, **kwargs) -> None: + super(AssemblyDefinition, self).__init__(location=location, tags=tags, **kwargs) + self.properties = properties + + +class AssemblyProperties(ArtifactContentPropertiesDefinition): + """The assembly properties definition. + + All required parameters must be populated in order to send to Azure. + + :param created_time: The artifact creation time. + :type created_time: datetime + :param changed_time: The artifact changed time. + :type changed_time: datetime + :param metadata: + :type metadata: object + :param content: + :type content: object + :param content_type: The content type. + :type content_type: str + :param content_link: The content link. + :type content_link: ~azure.mgmt.logic.models.ContentLink + :param assembly_name: Required. The assembly name. + :type assembly_name: str + :param assembly_version: The assembly version. + :type assembly_version: str + :param assembly_culture: The assembly culture. + :type assembly_culture: str + :param assembly_public_key_token: The assembly public key token. + :type assembly_public_key_token: str + """ + + _validation = { + 'assembly_name': {'required': True}, + } + + _attribute_map = { + 'created_time': {'key': 'createdTime', 'type': 'iso-8601'}, + 'changed_time': {'key': 'changedTime', 'type': 'iso-8601'}, + 'metadata': {'key': 'metadata', 'type': 'object'}, + 'content': {'key': 'content', 'type': 'object'}, + 'content_type': {'key': 'contentType', 'type': 'str'}, + 'content_link': {'key': 'contentLink', 'type': 'ContentLink'}, + 'assembly_name': {'key': 'assemblyName', 'type': 'str'}, + 'assembly_version': {'key': 'assemblyVersion', 'type': 'str'}, + 'assembly_culture': {'key': 'assemblyCulture', 'type': 'str'}, + 'assembly_public_key_token': {'key': 'assemblyPublicKeyToken', 'type': 'str'}, + } + + def __init__(self, *, assembly_name: str, created_time=None, changed_time=None, metadata=None, content=None, content_type: str=None, content_link=None, assembly_version: str=None, assembly_culture: str=None, assembly_public_key_token: str=None, **kwargs) -> None: + super(AssemblyProperties, self).__init__(created_time=created_time, changed_time=changed_time, metadata=metadata, content=content, content_type=content_type, content_link=content_link, **kwargs) + self.assembly_name = assembly_name + self.assembly_version = assembly_version + self.assembly_culture = assembly_culture + self.assembly_public_key_token = assembly_public_key_token + + +class ErrorInfo(Model): + """The error info. + + All required parameters must be populated in order to send to Azure. + + :param code: Required. The error code. + :type code: str + """ + + _validation = { + 'code': {'required': True}, + } + + _attribute_map = { + 'code': {'key': 'code', 'type': 'str'}, + } + + def __init__(self, *, code: str, **kwargs) -> None: + super(ErrorInfo, self).__init__(**kwargs) + self.code = code + + +class AzureResourceErrorInfo(ErrorInfo): + """The azure resource error info. + + All required parameters must be populated in order to send to Azure. + + :param code: Required. The error code. + :type code: str + :param message: Required. The error message. + :type message: str + :param details: The error details. + :type details: list[~azure.mgmt.logic.models.AzureResourceErrorInfo] + """ + + _validation = { + 'code': {'required': True}, + 'message': {'required': True}, + } + + _attribute_map = { + 'code': {'key': 'code', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + 'details': {'key': 'details', 'type': '[AzureResourceErrorInfo]'}, + } + + def __init__(self, *, code: str, message: str, details=None, **kwargs) -> None: + super(AzureResourceErrorInfo, self).__init__(code=code, **kwargs) + self.message = message + self.details = details + + +class B2BPartnerContent(Model): + """The B2B partner content. + + :param business_identities: The list of partner business identities. + :type business_identities: list[~azure.mgmt.logic.models.BusinessIdentity] + """ + + _attribute_map = { + 'business_identities': {'key': 'businessIdentities', 'type': '[BusinessIdentity]'}, + } + + def __init__(self, *, business_identities=None, **kwargs) -> None: + super(B2BPartnerContent, self).__init__(**kwargs) + self.business_identities = business_identities + + +class BatchConfiguration(Resource): + """The batch configuration resource definition. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The resource id. + :vartype id: str + :ivar name: Gets the resource name. + :vartype name: str + :ivar type: Gets the resource type. + :vartype type: str + :param location: The resource location. + :type location: str + :param tags: The resource tags. + :type tags: dict[str, str] + :param properties: Required. The batch configuration properties. + :type properties: ~azure.mgmt.logic.models.BatchConfigurationProperties + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'properties': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'properties': {'key': 'properties', 'type': 'BatchConfigurationProperties'}, + } + + def __init__(self, *, properties, location: str=None, tags=None, **kwargs) -> None: + super(BatchConfiguration, self).__init__(location=location, tags=tags, **kwargs) + self.properties = properties + + +class BatchConfigurationProperties(ArtifactProperties): + """The batch configuration properties definition. + + All required parameters must be populated in order to send to Azure. + + :param created_time: The artifact creation time. + :type created_time: datetime + :param changed_time: The artifact changed time. + :type changed_time: datetime + :param metadata: + :type metadata: object + :param batch_group_name: Required. The name of the batch group. + :type batch_group_name: str + :param release_criteria: Required. The batch release criteria. + :type release_criteria: ~azure.mgmt.logic.models.BatchReleaseCriteria + """ + + _validation = { + 'batch_group_name': {'required': True}, + 'release_criteria': {'required': True}, + } + + _attribute_map = { + 'created_time': {'key': 'createdTime', 'type': 'iso-8601'}, + 'changed_time': {'key': 'changedTime', 'type': 'iso-8601'}, + 'metadata': {'key': 'metadata', 'type': 'object'}, + 'batch_group_name': {'key': 'batchGroupName', 'type': 'str'}, + 'release_criteria': {'key': 'releaseCriteria', 'type': 'BatchReleaseCriteria'}, + } + + def __init__(self, *, batch_group_name: str, release_criteria, created_time=None, changed_time=None, metadata=None, **kwargs) -> None: + super(BatchConfigurationProperties, self).__init__(created_time=created_time, changed_time=changed_time, metadata=metadata, **kwargs) + self.batch_group_name = batch_group_name + self.release_criteria = release_criteria + + +class BatchReleaseCriteria(Model): + """The batch release criteria. + + :param message_count: The message count. + :type message_count: int + :param batch_size: The batch size in bytes. + :type batch_size: int + :param recurrence: The recurrence. + :type recurrence: ~azure.mgmt.logic.models.WorkflowTriggerRecurrence + """ + + _attribute_map = { + 'message_count': {'key': 'messageCount', 'type': 'int'}, + 'batch_size': {'key': 'batchSize', 'type': 'int'}, + 'recurrence': {'key': 'recurrence', 'type': 'WorkflowTriggerRecurrence'}, + } + + def __init__(self, *, message_count: int=None, batch_size: int=None, recurrence=None, **kwargs) -> None: + super(BatchReleaseCriteria, self).__init__(**kwargs) + self.message_count = message_count + self.batch_size = batch_size + self.recurrence = recurrence + + +class BusinessIdentity(Model): + """The integration account partner's business identity. + + All required parameters must be populated in order to send to Azure. + + :param qualifier: Required. The business identity qualifier e.g. + as2identity, ZZ, ZZZ, 31, 32 + :type qualifier: str + :param value: Required. The user defined business identity value. + :type value: str + """ + + _validation = { + 'qualifier': {'required': True}, + 'value': {'required': True}, + } + + _attribute_map = { + 'qualifier': {'key': 'qualifier', 'type': 'str'}, + 'value': {'key': 'value', 'type': 'str'}, + } + + def __init__(self, *, qualifier: str, value: str, **kwargs) -> None: + super(BusinessIdentity, self).__init__(**kwargs) + self.qualifier = qualifier + self.value = value + + +class CallbackUrl(Model): + """The callback url. + + :param value: The URL value. + :type value: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': 'str'}, + } + + def __init__(self, *, value: str=None, **kwargs) -> None: + super(CallbackUrl, self).__init__(**kwargs) + self.value = value + + +class CloudError(Model): + """CloudError. + """ + + _attribute_map = { + } + + +class ContentHash(Model): + """The content hash. + + :param algorithm: The algorithm of the content hash. + :type algorithm: str + :param value: The value of the content hash. + :type value: str + """ + + _attribute_map = { + 'algorithm': {'key': 'algorithm', 'type': 'str'}, + 'value': {'key': 'value', 'type': 'str'}, + } + + def __init__(self, *, algorithm: str=None, value: str=None, **kwargs) -> None: + super(ContentHash, self).__init__(**kwargs) + self.algorithm = algorithm + self.value = value + + +class ContentLink(Model): + """The content link. + + :param uri: The content link URI. + :type uri: str + :param content_version: The content version. + :type content_version: str + :param content_size: The content size. + :type content_size: long + :param content_hash: The content hash. + :type content_hash: ~azure.mgmt.logic.models.ContentHash + :param metadata: The metadata. + :type metadata: object + """ + + _attribute_map = { + 'uri': {'key': 'uri', 'type': 'str'}, + 'content_version': {'key': 'contentVersion', 'type': 'str'}, + 'content_size': {'key': 'contentSize', 'type': 'long'}, + 'content_hash': {'key': 'contentHash', 'type': 'ContentHash'}, + 'metadata': {'key': 'metadata', 'type': 'object'}, + } + + def __init__(self, *, uri: str=None, content_version: str=None, content_size: int=None, content_hash=None, metadata=None, **kwargs) -> None: + super(ContentLink, self).__init__(**kwargs) + self.uri = uri + self.content_version = content_version + self.content_size = content_size + self.content_hash = content_hash + self.metadata = metadata + + +class Correlation(Model): + """The correlation property. + + :param client_tracking_id: The client tracking id. + :type client_tracking_id: str + """ + + _attribute_map = { + 'client_tracking_id': {'key': 'clientTrackingId', 'type': 'str'}, + } + + def __init__(self, *, client_tracking_id: str=None, **kwargs) -> None: + super(Correlation, self).__init__(**kwargs) + self.client_tracking_id = client_tracking_id + + +class EdifactAcknowledgementSettings(Model): + """The Edifact agreement acknowledgement settings. + + All required parameters must be populated in order to send to Azure. + + :param need_technical_acknowledgement: Required. The value indicating + whether technical acknowledgement is needed. + :type need_technical_acknowledgement: bool + :param batch_technical_acknowledgements: Required. The value indicating + whether to batch the technical acknowledgements. + :type batch_technical_acknowledgements: bool + :param need_functional_acknowledgement: Required. The value indicating + whether functional acknowledgement is needed. + :type need_functional_acknowledgement: bool + :param batch_functional_acknowledgements: Required. The value indicating + whether to batch functional acknowledgements. + :type batch_functional_acknowledgements: bool + :param need_loop_for_valid_messages: Required. The value indicating + whether a loop is needed for valid messages. + :type need_loop_for_valid_messages: bool + :param send_synchronous_acknowledgement: Required. The value indicating + whether to send synchronous acknowledgement. + :type send_synchronous_acknowledgement: bool + :param acknowledgement_control_number_prefix: The acknowledgement control + number prefix. + :type acknowledgement_control_number_prefix: str + :param acknowledgement_control_number_suffix: The acknowledgement control + number suffix. + :type acknowledgement_control_number_suffix: str + :param acknowledgement_control_number_lower_bound: Required. The + acknowledgement control number lower bound. + :type acknowledgement_control_number_lower_bound: int + :param acknowledgement_control_number_upper_bound: Required. The + acknowledgement control number upper bound. + :type acknowledgement_control_number_upper_bound: int + :param rollover_acknowledgement_control_number: Required. The value + indicating whether to rollover acknowledgement control number. + :type rollover_acknowledgement_control_number: bool + """ + + _validation = { + 'need_technical_acknowledgement': {'required': True}, + 'batch_technical_acknowledgements': {'required': True}, + 'need_functional_acknowledgement': {'required': True}, + 'batch_functional_acknowledgements': {'required': True}, + 'need_loop_for_valid_messages': {'required': True}, + 'send_synchronous_acknowledgement': {'required': True}, + 'acknowledgement_control_number_lower_bound': {'required': True}, + 'acknowledgement_control_number_upper_bound': {'required': True}, + 'rollover_acknowledgement_control_number': {'required': True}, + } + + _attribute_map = { + 'need_technical_acknowledgement': {'key': 'needTechnicalAcknowledgement', 'type': 'bool'}, + 'batch_technical_acknowledgements': {'key': 'batchTechnicalAcknowledgements', 'type': 'bool'}, + 'need_functional_acknowledgement': {'key': 'needFunctionalAcknowledgement', 'type': 'bool'}, + 'batch_functional_acknowledgements': {'key': 'batchFunctionalAcknowledgements', 'type': 'bool'}, + 'need_loop_for_valid_messages': {'key': 'needLoopForValidMessages', 'type': 'bool'}, + 'send_synchronous_acknowledgement': {'key': 'sendSynchronousAcknowledgement', 'type': 'bool'}, + 'acknowledgement_control_number_prefix': {'key': 'acknowledgementControlNumberPrefix', 'type': 'str'}, + 'acknowledgement_control_number_suffix': {'key': 'acknowledgementControlNumberSuffix', 'type': 'str'}, + 'acknowledgement_control_number_lower_bound': {'key': 'acknowledgementControlNumberLowerBound', 'type': 'int'}, + 'acknowledgement_control_number_upper_bound': {'key': 'acknowledgementControlNumberUpperBound', 'type': 'int'}, + 'rollover_acknowledgement_control_number': {'key': 'rolloverAcknowledgementControlNumber', 'type': 'bool'}, + } + + def __init__(self, *, need_technical_acknowledgement: bool, batch_technical_acknowledgements: bool, need_functional_acknowledgement: bool, batch_functional_acknowledgements: bool, need_loop_for_valid_messages: bool, send_synchronous_acknowledgement: bool, acknowledgement_control_number_lower_bound: int, acknowledgement_control_number_upper_bound: int, rollover_acknowledgement_control_number: bool, acknowledgement_control_number_prefix: str=None, acknowledgement_control_number_suffix: str=None, **kwargs) -> None: + super(EdifactAcknowledgementSettings, self).__init__(**kwargs) + self.need_technical_acknowledgement = need_technical_acknowledgement + self.batch_technical_acknowledgements = batch_technical_acknowledgements + self.need_functional_acknowledgement = need_functional_acknowledgement + self.batch_functional_acknowledgements = batch_functional_acknowledgements + self.need_loop_for_valid_messages = need_loop_for_valid_messages + self.send_synchronous_acknowledgement = send_synchronous_acknowledgement + self.acknowledgement_control_number_prefix = acknowledgement_control_number_prefix + self.acknowledgement_control_number_suffix = acknowledgement_control_number_suffix + self.acknowledgement_control_number_lower_bound = acknowledgement_control_number_lower_bound + self.acknowledgement_control_number_upper_bound = acknowledgement_control_number_upper_bound + self.rollover_acknowledgement_control_number = rollover_acknowledgement_control_number + + +class EdifactAgreementContent(Model): + """The Edifact agreement content. + + All required parameters must be populated in order to send to Azure. + + :param receive_agreement: Required. The EDIFACT one-way receive agreement. + :type receive_agreement: ~azure.mgmt.logic.models.EdifactOneWayAgreement + :param send_agreement: Required. The EDIFACT one-way send agreement. + :type send_agreement: ~azure.mgmt.logic.models.EdifactOneWayAgreement + """ + + _validation = { + 'receive_agreement': {'required': True}, + 'send_agreement': {'required': True}, + } + + _attribute_map = { + 'receive_agreement': {'key': 'receiveAgreement', 'type': 'EdifactOneWayAgreement'}, + 'send_agreement': {'key': 'sendAgreement', 'type': 'EdifactOneWayAgreement'}, + } + + def __init__(self, *, receive_agreement, send_agreement, **kwargs) -> None: + super(EdifactAgreementContent, self).__init__(**kwargs) + self.receive_agreement = receive_agreement + self.send_agreement = send_agreement + + +class EdifactDelimiterOverride(Model): + """The Edifact delimiter override settings. + + All required parameters must be populated in order to send to Azure. + + :param message_id: The message id. + :type message_id: str + :param message_version: The message version. + :type message_version: str + :param message_release: The message release. + :type message_release: str + :param data_element_separator: Required. The data element separator. + :type data_element_separator: int + :param component_separator: Required. The component separator. + :type component_separator: int + :param segment_terminator: Required. The segment terminator. + :type segment_terminator: int + :param repetition_separator: Required. The repetition separator. + :type repetition_separator: int + :param segment_terminator_suffix: Required. The segment terminator suffix. + Possible values include: 'NotSpecified', 'None', 'CR', 'LF', 'CRLF' + :type segment_terminator_suffix: str or + ~azure.mgmt.logic.models.SegmentTerminatorSuffix + :param decimal_point_indicator: Required. The decimal point indicator. + Possible values include: 'NotSpecified', 'Comma', 'Decimal' + :type decimal_point_indicator: str or + ~azure.mgmt.logic.models.EdifactDecimalIndicator + :param release_indicator: Required. The release indicator. + :type release_indicator: int + :param message_association_assigned_code: The message association assigned + code. + :type message_association_assigned_code: str + :param target_namespace: The target namespace on which this delimiter + settings has to be applied. + :type target_namespace: str + """ + + _validation = { + 'data_element_separator': {'required': True}, + 'component_separator': {'required': True}, + 'segment_terminator': {'required': True}, + 'repetition_separator': {'required': True}, + 'segment_terminator_suffix': {'required': True}, + 'decimal_point_indicator': {'required': True}, + 'release_indicator': {'required': True}, + } + + _attribute_map = { + 'message_id': {'key': 'messageId', 'type': 'str'}, + 'message_version': {'key': 'messageVersion', 'type': 'str'}, + 'message_release': {'key': 'messageRelease', 'type': 'str'}, + 'data_element_separator': {'key': 'dataElementSeparator', 'type': 'int'}, + 'component_separator': {'key': 'componentSeparator', 'type': 'int'}, + 'segment_terminator': {'key': 'segmentTerminator', 'type': 'int'}, + 'repetition_separator': {'key': 'repetitionSeparator', 'type': 'int'}, + 'segment_terminator_suffix': {'key': 'segmentTerminatorSuffix', 'type': 'SegmentTerminatorSuffix'}, + 'decimal_point_indicator': {'key': 'decimalPointIndicator', 'type': 'EdifactDecimalIndicator'}, + 'release_indicator': {'key': 'releaseIndicator', 'type': 'int'}, + 'message_association_assigned_code': {'key': 'messageAssociationAssignedCode', 'type': 'str'}, + 'target_namespace': {'key': 'targetNamespace', 'type': 'str'}, + } + + def __init__(self, *, data_element_separator: int, component_separator: int, segment_terminator: int, repetition_separator: int, segment_terminator_suffix, decimal_point_indicator, release_indicator: int, message_id: str=None, message_version: str=None, message_release: str=None, message_association_assigned_code: str=None, target_namespace: str=None, **kwargs) -> None: + super(EdifactDelimiterOverride, self).__init__(**kwargs) + self.message_id = message_id + self.message_version = message_version + self.message_release = message_release + self.data_element_separator = data_element_separator + self.component_separator = component_separator + self.segment_terminator = segment_terminator + self.repetition_separator = repetition_separator + self.segment_terminator_suffix = segment_terminator_suffix + self.decimal_point_indicator = decimal_point_indicator + self.release_indicator = release_indicator + self.message_association_assigned_code = message_association_assigned_code + self.target_namespace = target_namespace + + +class EdifactEnvelopeOverride(Model): + """The Edifact envelope override settings. + + :param message_id: The message id on which this envelope settings has to + be applied. + :type message_id: str + :param message_version: The message version on which this envelope + settings has to be applied. + :type message_version: str + :param message_release: The message release version on which this envelope + settings has to be applied. + :type message_release: str + :param message_association_assigned_code: The message association assigned + code. + :type message_association_assigned_code: str + :param target_namespace: The target namespace on which this envelope + settings has to be applied. + :type target_namespace: str + :param functional_group_id: The functional group id. + :type functional_group_id: str + :param sender_application_qualifier: The sender application qualifier. + :type sender_application_qualifier: str + :param sender_application_id: The sender application id. + :type sender_application_id: str + :param receiver_application_qualifier: The receiver application qualifier. + :type receiver_application_qualifier: str + :param receiver_application_id: The receiver application id. + :type receiver_application_id: str + :param controlling_agency_code: The controlling agency code. + :type controlling_agency_code: str + :param group_header_message_version: The group header message version. + :type group_header_message_version: str + :param group_header_message_release: The group header message release. + :type group_header_message_release: str + :param association_assigned_code: The association assigned code. + :type association_assigned_code: str + :param application_password: The application password. + :type application_password: str + """ + + _attribute_map = { + 'message_id': {'key': 'messageId', 'type': 'str'}, + 'message_version': {'key': 'messageVersion', 'type': 'str'}, + 'message_release': {'key': 'messageRelease', 'type': 'str'}, + 'message_association_assigned_code': {'key': 'messageAssociationAssignedCode', 'type': 'str'}, + 'target_namespace': {'key': 'targetNamespace', 'type': 'str'}, + 'functional_group_id': {'key': 'functionalGroupId', 'type': 'str'}, + 'sender_application_qualifier': {'key': 'senderApplicationQualifier', 'type': 'str'}, + 'sender_application_id': {'key': 'senderApplicationId', 'type': 'str'}, + 'receiver_application_qualifier': {'key': 'receiverApplicationQualifier', 'type': 'str'}, + 'receiver_application_id': {'key': 'receiverApplicationId', 'type': 'str'}, + 'controlling_agency_code': {'key': 'controllingAgencyCode', 'type': 'str'}, + 'group_header_message_version': {'key': 'groupHeaderMessageVersion', 'type': 'str'}, + 'group_header_message_release': {'key': 'groupHeaderMessageRelease', 'type': 'str'}, + 'association_assigned_code': {'key': 'associationAssignedCode', 'type': 'str'}, + 'application_password': {'key': 'applicationPassword', 'type': 'str'}, + } + + def __init__(self, *, message_id: str=None, message_version: str=None, message_release: str=None, message_association_assigned_code: str=None, target_namespace: str=None, functional_group_id: str=None, sender_application_qualifier: str=None, sender_application_id: str=None, receiver_application_qualifier: str=None, receiver_application_id: str=None, controlling_agency_code: str=None, group_header_message_version: str=None, group_header_message_release: str=None, association_assigned_code: str=None, application_password: str=None, **kwargs) -> None: + super(EdifactEnvelopeOverride, self).__init__(**kwargs) + self.message_id = message_id + self.message_version = message_version + self.message_release = message_release + self.message_association_assigned_code = message_association_assigned_code + self.target_namespace = target_namespace + self.functional_group_id = functional_group_id + self.sender_application_qualifier = sender_application_qualifier + self.sender_application_id = sender_application_id + self.receiver_application_qualifier = receiver_application_qualifier + self.receiver_application_id = receiver_application_id + self.controlling_agency_code = controlling_agency_code + self.group_header_message_version = group_header_message_version + self.group_header_message_release = group_header_message_release + self.association_assigned_code = association_assigned_code + self.application_password = application_password + + +class EdifactEnvelopeSettings(Model): + """The Edifact agreement envelope settings. + + All required parameters must be populated in order to send to Azure. + + :param group_association_assigned_code: The group association assigned + code. + :type group_association_assigned_code: str + :param communication_agreement_id: The communication agreement id. + :type communication_agreement_id: str + :param apply_delimiter_string_advice: Required. The value indicating + whether to apply delimiter string advice. + :type apply_delimiter_string_advice: bool + :param create_grouping_segments: Required. The value indicating whether to + create grouping segments. + :type create_grouping_segments: bool + :param enable_default_group_headers: Required. The value indicating + whether to enable default group headers. + :type enable_default_group_headers: bool + :param recipient_reference_password_value: The recipient reference + password value. + :type recipient_reference_password_value: str + :param recipient_reference_password_qualifier: The recipient reference + password qualifier. + :type recipient_reference_password_qualifier: str + :param application_reference_id: The application reference id. + :type application_reference_id: str + :param processing_priority_code: The processing priority code. + :type processing_priority_code: str + :param interchange_control_number_lower_bound: Required. The interchange + control number lower bound. + :type interchange_control_number_lower_bound: long + :param interchange_control_number_upper_bound: Required. The interchange + control number upper bound. + :type interchange_control_number_upper_bound: long + :param rollover_interchange_control_number: Required. The value indicating + whether to rollover interchange control number. + :type rollover_interchange_control_number: bool + :param interchange_control_number_prefix: The interchange control number + prefix. + :type interchange_control_number_prefix: str + :param interchange_control_number_suffix: The interchange control number + suffix. + :type interchange_control_number_suffix: str + :param sender_reverse_routing_address: The sender reverse routing address. + :type sender_reverse_routing_address: str + :param receiver_reverse_routing_address: The receiver reverse routing + address. + :type receiver_reverse_routing_address: str + :param functional_group_id: The functional group id. + :type functional_group_id: str + :param group_controlling_agency_code: The group controlling agency code. + :type group_controlling_agency_code: str + :param group_message_version: The group message version. + :type group_message_version: str + :param group_message_release: The group message release. + :type group_message_release: str + :param group_control_number_lower_bound: Required. The group control + number lower bound. + :type group_control_number_lower_bound: long + :param group_control_number_upper_bound: Required. The group control + number upper bound. + :type group_control_number_upper_bound: long + :param rollover_group_control_number: Required. The value indicating + whether to rollover group control number. + :type rollover_group_control_number: bool + :param group_control_number_prefix: The group control number prefix. + :type group_control_number_prefix: str + :param group_control_number_suffix: The group control number suffix. + :type group_control_number_suffix: str + :param group_application_receiver_qualifier: The group application + receiver qualifier. + :type group_application_receiver_qualifier: str + :param group_application_receiver_id: The group application receiver id. + :type group_application_receiver_id: str + :param group_application_sender_qualifier: The group application sender + qualifier. + :type group_application_sender_qualifier: str + :param group_application_sender_id: The group application sender id. + :type group_application_sender_id: str + :param group_application_password: The group application password. + :type group_application_password: str + :param overwrite_existing_transaction_set_control_number: Required. The + value indicating whether to overwrite existing transaction set control + number. + :type overwrite_existing_transaction_set_control_number: bool + :param transaction_set_control_number_prefix: The transaction set control + number prefix. + :type transaction_set_control_number_prefix: str + :param transaction_set_control_number_suffix: The transaction set control + number suffix. + :type transaction_set_control_number_suffix: str + :param transaction_set_control_number_lower_bound: Required. The + transaction set control number lower bound. + :type transaction_set_control_number_lower_bound: long + :param transaction_set_control_number_upper_bound: Required. The + transaction set control number upper bound. + :type transaction_set_control_number_upper_bound: long + :param rollover_transaction_set_control_number: Required. The value + indicating whether to rollover transaction set control number. + :type rollover_transaction_set_control_number: bool + :param is_test_interchange: Required. The value indicating whether the + message is a test interchange. + :type is_test_interchange: bool + :param sender_internal_identification: The sender internal identification. + :type sender_internal_identification: str + :param sender_internal_sub_identification: The sender internal sub + identification. + :type sender_internal_sub_identification: str + :param receiver_internal_identification: The receiver internal + identification. + :type receiver_internal_identification: str + :param receiver_internal_sub_identification: The receiver internal sub + identification. + :type receiver_internal_sub_identification: str + """ + + _validation = { + 'apply_delimiter_string_advice': {'required': True}, + 'create_grouping_segments': {'required': True}, + 'enable_default_group_headers': {'required': True}, + 'interchange_control_number_lower_bound': {'required': True}, + 'interchange_control_number_upper_bound': {'required': True}, + 'rollover_interchange_control_number': {'required': True}, + 'group_control_number_lower_bound': {'required': True}, + 'group_control_number_upper_bound': {'required': True}, + 'rollover_group_control_number': {'required': True}, + 'overwrite_existing_transaction_set_control_number': {'required': True}, + 'transaction_set_control_number_lower_bound': {'required': True}, + 'transaction_set_control_number_upper_bound': {'required': True}, + 'rollover_transaction_set_control_number': {'required': True}, + 'is_test_interchange': {'required': True}, + } + + _attribute_map = { + 'group_association_assigned_code': {'key': 'groupAssociationAssignedCode', 'type': 'str'}, + 'communication_agreement_id': {'key': 'communicationAgreementId', 'type': 'str'}, + 'apply_delimiter_string_advice': {'key': 'applyDelimiterStringAdvice', 'type': 'bool'}, + 'create_grouping_segments': {'key': 'createGroupingSegments', 'type': 'bool'}, + 'enable_default_group_headers': {'key': 'enableDefaultGroupHeaders', 'type': 'bool'}, + 'recipient_reference_password_value': {'key': 'recipientReferencePasswordValue', 'type': 'str'}, + 'recipient_reference_password_qualifier': {'key': 'recipientReferencePasswordQualifier', 'type': 'str'}, + 'application_reference_id': {'key': 'applicationReferenceId', 'type': 'str'}, + 'processing_priority_code': {'key': 'processingPriorityCode', 'type': 'str'}, + 'interchange_control_number_lower_bound': {'key': 'interchangeControlNumberLowerBound', 'type': 'long'}, + 'interchange_control_number_upper_bound': {'key': 'interchangeControlNumberUpperBound', 'type': 'long'}, + 'rollover_interchange_control_number': {'key': 'rolloverInterchangeControlNumber', 'type': 'bool'}, + 'interchange_control_number_prefix': {'key': 'interchangeControlNumberPrefix', 'type': 'str'}, + 'interchange_control_number_suffix': {'key': 'interchangeControlNumberSuffix', 'type': 'str'}, + 'sender_reverse_routing_address': {'key': 'senderReverseRoutingAddress', 'type': 'str'}, + 'receiver_reverse_routing_address': {'key': 'receiverReverseRoutingAddress', 'type': 'str'}, + 'functional_group_id': {'key': 'functionalGroupId', 'type': 'str'}, + 'group_controlling_agency_code': {'key': 'groupControllingAgencyCode', 'type': 'str'}, + 'group_message_version': {'key': 'groupMessageVersion', 'type': 'str'}, + 'group_message_release': {'key': 'groupMessageRelease', 'type': 'str'}, + 'group_control_number_lower_bound': {'key': 'groupControlNumberLowerBound', 'type': 'long'}, + 'group_control_number_upper_bound': {'key': 'groupControlNumberUpperBound', 'type': 'long'}, + 'rollover_group_control_number': {'key': 'rolloverGroupControlNumber', 'type': 'bool'}, + 'group_control_number_prefix': {'key': 'groupControlNumberPrefix', 'type': 'str'}, + 'group_control_number_suffix': {'key': 'groupControlNumberSuffix', 'type': 'str'}, + 'group_application_receiver_qualifier': {'key': 'groupApplicationReceiverQualifier', 'type': 'str'}, + 'group_application_receiver_id': {'key': 'groupApplicationReceiverId', 'type': 'str'}, + 'group_application_sender_qualifier': {'key': 'groupApplicationSenderQualifier', 'type': 'str'}, + 'group_application_sender_id': {'key': 'groupApplicationSenderId', 'type': 'str'}, + 'group_application_password': {'key': 'groupApplicationPassword', 'type': 'str'}, + 'overwrite_existing_transaction_set_control_number': {'key': 'overwriteExistingTransactionSetControlNumber', 'type': 'bool'}, + 'transaction_set_control_number_prefix': {'key': 'transactionSetControlNumberPrefix', 'type': 'str'}, + 'transaction_set_control_number_suffix': {'key': 'transactionSetControlNumberSuffix', 'type': 'str'}, + 'transaction_set_control_number_lower_bound': {'key': 'transactionSetControlNumberLowerBound', 'type': 'long'}, + 'transaction_set_control_number_upper_bound': {'key': 'transactionSetControlNumberUpperBound', 'type': 'long'}, + 'rollover_transaction_set_control_number': {'key': 'rolloverTransactionSetControlNumber', 'type': 'bool'}, + 'is_test_interchange': {'key': 'isTestInterchange', 'type': 'bool'}, + 'sender_internal_identification': {'key': 'senderInternalIdentification', 'type': 'str'}, + 'sender_internal_sub_identification': {'key': 'senderInternalSubIdentification', 'type': 'str'}, + 'receiver_internal_identification': {'key': 'receiverInternalIdentification', 'type': 'str'}, + 'receiver_internal_sub_identification': {'key': 'receiverInternalSubIdentification', 'type': 'str'}, + } + + def __init__(self, *, apply_delimiter_string_advice: bool, create_grouping_segments: bool, enable_default_group_headers: bool, interchange_control_number_lower_bound: int, interchange_control_number_upper_bound: int, rollover_interchange_control_number: bool, group_control_number_lower_bound: int, group_control_number_upper_bound: int, rollover_group_control_number: bool, overwrite_existing_transaction_set_control_number: bool, transaction_set_control_number_lower_bound: int, transaction_set_control_number_upper_bound: int, rollover_transaction_set_control_number: bool, is_test_interchange: bool, group_association_assigned_code: str=None, communication_agreement_id: str=None, recipient_reference_password_value: str=None, recipient_reference_password_qualifier: str=None, application_reference_id: str=None, processing_priority_code: str=None, interchange_control_number_prefix: str=None, interchange_control_number_suffix: str=None, sender_reverse_routing_address: str=None, receiver_reverse_routing_address: str=None, functional_group_id: str=None, group_controlling_agency_code: str=None, group_message_version: str=None, group_message_release: str=None, group_control_number_prefix: str=None, group_control_number_suffix: str=None, group_application_receiver_qualifier: str=None, group_application_receiver_id: str=None, group_application_sender_qualifier: str=None, group_application_sender_id: str=None, group_application_password: str=None, transaction_set_control_number_prefix: str=None, transaction_set_control_number_suffix: str=None, sender_internal_identification: str=None, sender_internal_sub_identification: str=None, receiver_internal_identification: str=None, receiver_internal_sub_identification: str=None, **kwargs) -> None: + super(EdifactEnvelopeSettings, self).__init__(**kwargs) + self.group_association_assigned_code = group_association_assigned_code + self.communication_agreement_id = communication_agreement_id + self.apply_delimiter_string_advice = apply_delimiter_string_advice + self.create_grouping_segments = create_grouping_segments + self.enable_default_group_headers = enable_default_group_headers + self.recipient_reference_password_value = recipient_reference_password_value + self.recipient_reference_password_qualifier = recipient_reference_password_qualifier + self.application_reference_id = application_reference_id + self.processing_priority_code = processing_priority_code + self.interchange_control_number_lower_bound = interchange_control_number_lower_bound + self.interchange_control_number_upper_bound = interchange_control_number_upper_bound + self.rollover_interchange_control_number = rollover_interchange_control_number + self.interchange_control_number_prefix = interchange_control_number_prefix + self.interchange_control_number_suffix = interchange_control_number_suffix + self.sender_reverse_routing_address = sender_reverse_routing_address + self.receiver_reverse_routing_address = receiver_reverse_routing_address + self.functional_group_id = functional_group_id + self.group_controlling_agency_code = group_controlling_agency_code + self.group_message_version = group_message_version + self.group_message_release = group_message_release + self.group_control_number_lower_bound = group_control_number_lower_bound + self.group_control_number_upper_bound = group_control_number_upper_bound + self.rollover_group_control_number = rollover_group_control_number + self.group_control_number_prefix = group_control_number_prefix + self.group_control_number_suffix = group_control_number_suffix + self.group_application_receiver_qualifier = group_application_receiver_qualifier + self.group_application_receiver_id = group_application_receiver_id + self.group_application_sender_qualifier = group_application_sender_qualifier + self.group_application_sender_id = group_application_sender_id + self.group_application_password = group_application_password + self.overwrite_existing_transaction_set_control_number = overwrite_existing_transaction_set_control_number + self.transaction_set_control_number_prefix = transaction_set_control_number_prefix + self.transaction_set_control_number_suffix = transaction_set_control_number_suffix + self.transaction_set_control_number_lower_bound = transaction_set_control_number_lower_bound + self.transaction_set_control_number_upper_bound = transaction_set_control_number_upper_bound + self.rollover_transaction_set_control_number = rollover_transaction_set_control_number + self.is_test_interchange = is_test_interchange + self.sender_internal_identification = sender_internal_identification + self.sender_internal_sub_identification = sender_internal_sub_identification + self.receiver_internal_identification = receiver_internal_identification + self.receiver_internal_sub_identification = receiver_internal_sub_identification + + +class EdifactFramingSettings(Model): + """The Edifact agreement framing settings. + + All required parameters must be populated in order to send to Azure. + + :param service_code_list_directory_version: The service code list + directory version. + :type service_code_list_directory_version: str + :param character_encoding: The character encoding. + :type character_encoding: str + :param protocol_version: Required. The protocol version. + :type protocol_version: int + :param data_element_separator: Required. The data element separator. + :type data_element_separator: int + :param component_separator: Required. The component separator. + :type component_separator: int + :param segment_terminator: Required. The segment terminator. + :type segment_terminator: int + :param release_indicator: Required. The release indicator. + :type release_indicator: int + :param repetition_separator: Required. The repetition separator. + :type repetition_separator: int + :param character_set: Required. The EDIFACT frame setting characterSet. + Possible values include: 'NotSpecified', 'UNOB', 'UNOA', 'UNOC', 'UNOD', + 'UNOE', 'UNOF', 'UNOG', 'UNOH', 'UNOI', 'UNOJ', 'UNOK', 'UNOX', 'UNOY', + 'KECA' + :type character_set: str or ~azure.mgmt.logic.models.EdifactCharacterSet + :param decimal_point_indicator: Required. The EDIFACT frame setting + decimal indicator. Possible values include: 'NotSpecified', 'Comma', + 'Decimal' + :type decimal_point_indicator: str or + ~azure.mgmt.logic.models.EdifactDecimalIndicator + :param segment_terminator_suffix: Required. The EDIFACT frame setting + segment terminator suffix. Possible values include: 'NotSpecified', + 'None', 'CR', 'LF', 'CRLF' + :type segment_terminator_suffix: str or + ~azure.mgmt.logic.models.SegmentTerminatorSuffix + """ + + _validation = { + 'protocol_version': {'required': True}, + 'data_element_separator': {'required': True}, + 'component_separator': {'required': True}, + 'segment_terminator': {'required': True}, + 'release_indicator': {'required': True}, + 'repetition_separator': {'required': True}, + 'character_set': {'required': True}, + 'decimal_point_indicator': {'required': True}, + 'segment_terminator_suffix': {'required': True}, + } + + _attribute_map = { + 'service_code_list_directory_version': {'key': 'serviceCodeListDirectoryVersion', 'type': 'str'}, + 'character_encoding': {'key': 'characterEncoding', 'type': 'str'}, + 'protocol_version': {'key': 'protocolVersion', 'type': 'int'}, + 'data_element_separator': {'key': 'dataElementSeparator', 'type': 'int'}, + 'component_separator': {'key': 'componentSeparator', 'type': 'int'}, + 'segment_terminator': {'key': 'segmentTerminator', 'type': 'int'}, + 'release_indicator': {'key': 'releaseIndicator', 'type': 'int'}, + 'repetition_separator': {'key': 'repetitionSeparator', 'type': 'int'}, + 'character_set': {'key': 'characterSet', 'type': 'str'}, + 'decimal_point_indicator': {'key': 'decimalPointIndicator', 'type': 'EdifactDecimalIndicator'}, + 'segment_terminator_suffix': {'key': 'segmentTerminatorSuffix', 'type': 'SegmentTerminatorSuffix'}, + } + + def __init__(self, *, protocol_version: int, data_element_separator: int, component_separator: int, segment_terminator: int, release_indicator: int, repetition_separator: int, character_set, decimal_point_indicator, segment_terminator_suffix, service_code_list_directory_version: str=None, character_encoding: str=None, **kwargs) -> None: + super(EdifactFramingSettings, self).__init__(**kwargs) + self.service_code_list_directory_version = service_code_list_directory_version + self.character_encoding = character_encoding + self.protocol_version = protocol_version + self.data_element_separator = data_element_separator + self.component_separator = component_separator + self.segment_terminator = segment_terminator + self.release_indicator = release_indicator + self.repetition_separator = repetition_separator + self.character_set = character_set + self.decimal_point_indicator = decimal_point_indicator + self.segment_terminator_suffix = segment_terminator_suffix + + +class EdifactMessageFilter(Model): + """The Edifact message filter for odata query. + + All required parameters must be populated in order to send to Azure. + + :param message_filter_type: Required. The message filter type. Possible + values include: 'NotSpecified', 'Include', 'Exclude' + :type message_filter_type: str or + ~azure.mgmt.logic.models.MessageFilterType + """ + + _validation = { + 'message_filter_type': {'required': True}, + } + + _attribute_map = { + 'message_filter_type': {'key': 'messageFilterType', 'type': 'str'}, + } + + def __init__(self, *, message_filter_type, **kwargs) -> None: + super(EdifactMessageFilter, self).__init__(**kwargs) + self.message_filter_type = message_filter_type + + +class EdifactMessageIdentifier(Model): + """The Edifact message identifier. + + All required parameters must be populated in order to send to Azure. + + :param message_id: Required. The message id on which this envelope + settings has to be applied. + :type message_id: str + """ + + _validation = { + 'message_id': {'required': True}, + } + + _attribute_map = { + 'message_id': {'key': 'messageId', 'type': 'str'}, + } + + def __init__(self, *, message_id: str, **kwargs) -> None: + super(EdifactMessageIdentifier, self).__init__(**kwargs) + self.message_id = message_id + + +class EdifactOneWayAgreement(Model): + """The Edifact one way agreement. + + All required parameters must be populated in order to send to Azure. + + :param sender_business_identity: Required. The sender business identity + :type sender_business_identity: ~azure.mgmt.logic.models.BusinessIdentity + :param receiver_business_identity: Required. The receiver business + identity + :type receiver_business_identity: + ~azure.mgmt.logic.models.BusinessIdentity + :param protocol_settings: Required. The EDIFACT protocol settings. + :type protocol_settings: ~azure.mgmt.logic.models.EdifactProtocolSettings + """ + + _validation = { + 'sender_business_identity': {'required': True}, + 'receiver_business_identity': {'required': True}, + 'protocol_settings': {'required': True}, + } + + _attribute_map = { + 'sender_business_identity': {'key': 'senderBusinessIdentity', 'type': 'BusinessIdentity'}, + 'receiver_business_identity': {'key': 'receiverBusinessIdentity', 'type': 'BusinessIdentity'}, + 'protocol_settings': {'key': 'protocolSettings', 'type': 'EdifactProtocolSettings'}, + } + + def __init__(self, *, sender_business_identity, receiver_business_identity, protocol_settings, **kwargs) -> None: + super(EdifactOneWayAgreement, self).__init__(**kwargs) + self.sender_business_identity = sender_business_identity + self.receiver_business_identity = receiver_business_identity + self.protocol_settings = protocol_settings + + +class EdifactProcessingSettings(Model): + """The Edifact agreement protocol settings. + + All required parameters must be populated in order to send to Azure. + + :param mask_security_info: Required. The value indicating whether to mask + security information. + :type mask_security_info: bool + :param preserve_interchange: Required. The value indicating whether to + preserve interchange. + :type preserve_interchange: bool + :param suspend_interchange_on_error: Required. The value indicating + whether to suspend interchange on error. + :type suspend_interchange_on_error: bool + :param create_empty_xml_tags_for_trailing_separators: Required. The value + indicating whether to create empty xml tags for trailing separators. + :type create_empty_xml_tags_for_trailing_separators: bool + :param use_dot_as_decimal_separator: Required. The value indicating + whether to use dot as decimal separator. + :type use_dot_as_decimal_separator: bool + """ + + _validation = { + 'mask_security_info': {'required': True}, + 'preserve_interchange': {'required': True}, + 'suspend_interchange_on_error': {'required': True}, + 'create_empty_xml_tags_for_trailing_separators': {'required': True}, + 'use_dot_as_decimal_separator': {'required': True}, + } + + _attribute_map = { + 'mask_security_info': {'key': 'maskSecurityInfo', 'type': 'bool'}, + 'preserve_interchange': {'key': 'preserveInterchange', 'type': 'bool'}, + 'suspend_interchange_on_error': {'key': 'suspendInterchangeOnError', 'type': 'bool'}, + 'create_empty_xml_tags_for_trailing_separators': {'key': 'createEmptyXmlTagsForTrailingSeparators', 'type': 'bool'}, + 'use_dot_as_decimal_separator': {'key': 'useDotAsDecimalSeparator', 'type': 'bool'}, + } + + def __init__(self, *, mask_security_info: bool, preserve_interchange: bool, suspend_interchange_on_error: bool, create_empty_xml_tags_for_trailing_separators: bool, use_dot_as_decimal_separator: bool, **kwargs) -> None: + super(EdifactProcessingSettings, self).__init__(**kwargs) + self.mask_security_info = mask_security_info + self.preserve_interchange = preserve_interchange + self.suspend_interchange_on_error = suspend_interchange_on_error + self.create_empty_xml_tags_for_trailing_separators = create_empty_xml_tags_for_trailing_separators + self.use_dot_as_decimal_separator = use_dot_as_decimal_separator + + +class EdifactProtocolSettings(Model): + """The Edifact agreement protocol settings. + + All required parameters must be populated in order to send to Azure. + + :param validation_settings: Required. The EDIFACT validation settings. + :type validation_settings: + ~azure.mgmt.logic.models.EdifactValidationSettings + :param framing_settings: Required. The EDIFACT framing settings. + :type framing_settings: ~azure.mgmt.logic.models.EdifactFramingSettings + :param envelope_settings: Required. The EDIFACT envelope settings. + :type envelope_settings: ~azure.mgmt.logic.models.EdifactEnvelopeSettings + :param acknowledgement_settings: Required. The EDIFACT acknowledgement + settings. + :type acknowledgement_settings: + ~azure.mgmt.logic.models.EdifactAcknowledgementSettings + :param message_filter: Required. The EDIFACT message filter. + :type message_filter: ~azure.mgmt.logic.models.EdifactMessageFilter + :param processing_settings: Required. The EDIFACT processing Settings. + :type processing_settings: + ~azure.mgmt.logic.models.EdifactProcessingSettings + :param envelope_overrides: The EDIFACT envelope override settings. + :type envelope_overrides: + list[~azure.mgmt.logic.models.EdifactEnvelopeOverride] + :param message_filter_list: The EDIFACT message filter list. + :type message_filter_list: + list[~azure.mgmt.logic.models.EdifactMessageIdentifier] + :param schema_references: Required. The EDIFACT schema references. + :type schema_references: + list[~azure.mgmt.logic.models.EdifactSchemaReference] + :param validation_overrides: The EDIFACT validation override settings. + :type validation_overrides: + list[~azure.mgmt.logic.models.EdifactValidationOverride] + :param edifact_delimiter_overrides: The EDIFACT delimiter override + settings. + :type edifact_delimiter_overrides: + list[~azure.mgmt.logic.models.EdifactDelimiterOverride] + """ + + _validation = { + 'validation_settings': {'required': True}, + 'framing_settings': {'required': True}, + 'envelope_settings': {'required': True}, + 'acknowledgement_settings': {'required': True}, + 'message_filter': {'required': True}, + 'processing_settings': {'required': True}, + 'schema_references': {'required': True}, + } + + _attribute_map = { + 'validation_settings': {'key': 'validationSettings', 'type': 'EdifactValidationSettings'}, + 'framing_settings': {'key': 'framingSettings', 'type': 'EdifactFramingSettings'}, + 'envelope_settings': {'key': 'envelopeSettings', 'type': 'EdifactEnvelopeSettings'}, + 'acknowledgement_settings': {'key': 'acknowledgementSettings', 'type': 'EdifactAcknowledgementSettings'}, + 'message_filter': {'key': 'messageFilter', 'type': 'EdifactMessageFilter'}, + 'processing_settings': {'key': 'processingSettings', 'type': 'EdifactProcessingSettings'}, + 'envelope_overrides': {'key': 'envelopeOverrides', 'type': '[EdifactEnvelopeOverride]'}, + 'message_filter_list': {'key': 'messageFilterList', 'type': '[EdifactMessageIdentifier]'}, + 'schema_references': {'key': 'schemaReferences', 'type': '[EdifactSchemaReference]'}, + 'validation_overrides': {'key': 'validationOverrides', 'type': '[EdifactValidationOverride]'}, + 'edifact_delimiter_overrides': {'key': 'edifactDelimiterOverrides', 'type': '[EdifactDelimiterOverride]'}, + } + + def __init__(self, *, validation_settings, framing_settings, envelope_settings, acknowledgement_settings, message_filter, processing_settings, schema_references, envelope_overrides=None, message_filter_list=None, validation_overrides=None, edifact_delimiter_overrides=None, **kwargs) -> None: + super(EdifactProtocolSettings, self).__init__(**kwargs) + self.validation_settings = validation_settings + self.framing_settings = framing_settings + self.envelope_settings = envelope_settings + self.acknowledgement_settings = acknowledgement_settings + self.message_filter = message_filter + self.processing_settings = processing_settings + self.envelope_overrides = envelope_overrides + self.message_filter_list = message_filter_list + self.schema_references = schema_references + self.validation_overrides = validation_overrides + self.edifact_delimiter_overrides = edifact_delimiter_overrides + + +class EdifactSchemaReference(Model): + """The Edifact schema reference. + + All required parameters must be populated in order to send to Azure. + + :param message_id: Required. The message id. + :type message_id: str + :param message_version: Required. The message version. + :type message_version: str + :param message_release: Required. The message release version. + :type message_release: str + :param sender_application_id: The sender application id. + :type sender_application_id: str + :param sender_application_qualifier: The sender application qualifier. + :type sender_application_qualifier: str + :param association_assigned_code: The association assigned code. + :type association_assigned_code: str + :param schema_name: Required. The schema name. + :type schema_name: str + """ + + _validation = { + 'message_id': {'required': True}, + 'message_version': {'required': True}, + 'message_release': {'required': True}, + 'schema_name': {'required': True}, + } + + _attribute_map = { + 'message_id': {'key': 'messageId', 'type': 'str'}, + 'message_version': {'key': 'messageVersion', 'type': 'str'}, + 'message_release': {'key': 'messageRelease', 'type': 'str'}, + 'sender_application_id': {'key': 'senderApplicationId', 'type': 'str'}, + 'sender_application_qualifier': {'key': 'senderApplicationQualifier', 'type': 'str'}, + 'association_assigned_code': {'key': 'associationAssignedCode', 'type': 'str'}, + 'schema_name': {'key': 'schemaName', 'type': 'str'}, + } + + def __init__(self, *, message_id: str, message_version: str, message_release: str, schema_name: str, sender_application_id: str=None, sender_application_qualifier: str=None, association_assigned_code: str=None, **kwargs) -> None: + super(EdifactSchemaReference, self).__init__(**kwargs) + self.message_id = message_id + self.message_version = message_version + self.message_release = message_release + self.sender_application_id = sender_application_id + self.sender_application_qualifier = sender_application_qualifier + self.association_assigned_code = association_assigned_code + self.schema_name = schema_name + + +class EdifactValidationOverride(Model): + """The Edifact validation override settings. + + All required parameters must be populated in order to send to Azure. + + :param message_id: Required. The message id on which the validation + settings has to be applied. + :type message_id: str + :param enforce_character_set: Required. The value indicating whether to + validate character Set. + :type enforce_character_set: bool + :param validate_edi_types: Required. The value indicating whether to + validate EDI types. + :type validate_edi_types: bool + :param validate_xsd_types: Required. The value indicating whether to + validate XSD types. + :type validate_xsd_types: bool + :param allow_leading_and_trailing_spaces_and_zeroes: Required. The value + indicating whether to allow leading and trailing spaces and zeroes. + :type allow_leading_and_trailing_spaces_and_zeroes: bool + :param trailing_separator_policy: Required. The trailing separator policy. + Possible values include: 'NotSpecified', 'NotAllowed', 'Optional', + 'Mandatory' + :type trailing_separator_policy: str or + ~azure.mgmt.logic.models.TrailingSeparatorPolicy + :param trim_leading_and_trailing_spaces_and_zeroes: Required. The value + indicating whether to trim leading and trailing spaces and zeroes. + :type trim_leading_and_trailing_spaces_and_zeroes: bool + """ + + _validation = { + 'message_id': {'required': True}, + 'enforce_character_set': {'required': True}, + 'validate_edi_types': {'required': True}, + 'validate_xsd_types': {'required': True}, + 'allow_leading_and_trailing_spaces_and_zeroes': {'required': True}, + 'trailing_separator_policy': {'required': True}, + 'trim_leading_and_trailing_spaces_and_zeroes': {'required': True}, + } + + _attribute_map = { + 'message_id': {'key': 'messageId', 'type': 'str'}, + 'enforce_character_set': {'key': 'enforceCharacterSet', 'type': 'bool'}, + 'validate_edi_types': {'key': 'validateEDITypes', 'type': 'bool'}, + 'validate_xsd_types': {'key': 'validateXSDTypes', 'type': 'bool'}, + 'allow_leading_and_trailing_spaces_and_zeroes': {'key': 'allowLeadingAndTrailingSpacesAndZeroes', 'type': 'bool'}, + 'trailing_separator_policy': {'key': 'trailingSeparatorPolicy', 'type': 'str'}, + 'trim_leading_and_trailing_spaces_and_zeroes': {'key': 'trimLeadingAndTrailingSpacesAndZeroes', 'type': 'bool'}, + } + + def __init__(self, *, message_id: str, enforce_character_set: bool, validate_edi_types: bool, validate_xsd_types: bool, allow_leading_and_trailing_spaces_and_zeroes: bool, trailing_separator_policy, trim_leading_and_trailing_spaces_and_zeroes: bool, **kwargs) -> None: + super(EdifactValidationOverride, self).__init__(**kwargs) + self.message_id = message_id + self.enforce_character_set = enforce_character_set + self.validate_edi_types = validate_edi_types + self.validate_xsd_types = validate_xsd_types + self.allow_leading_and_trailing_spaces_and_zeroes = allow_leading_and_trailing_spaces_and_zeroes + self.trailing_separator_policy = trailing_separator_policy + self.trim_leading_and_trailing_spaces_and_zeroes = trim_leading_and_trailing_spaces_and_zeroes + + +class EdifactValidationSettings(Model): + """The Edifact agreement validation settings. + + All required parameters must be populated in order to send to Azure. + + :param validate_character_set: Required. The value indicating whether to + validate character set in the message. + :type validate_character_set: bool + :param check_duplicate_interchange_control_number: Required. The value + indicating whether to check for duplicate interchange control number. + :type check_duplicate_interchange_control_number: bool + :param interchange_control_number_validity_days: Required. The validity + period of interchange control number. + :type interchange_control_number_validity_days: int + :param check_duplicate_group_control_number: Required. The value + indicating whether to check for duplicate group control number. + :type check_duplicate_group_control_number: bool + :param check_duplicate_transaction_set_control_number: Required. The value + indicating whether to check for duplicate transaction set control number. + :type check_duplicate_transaction_set_control_number: bool + :param validate_edi_types: Required. The value indicating whether to + Whether to validate EDI types. + :type validate_edi_types: bool + :param validate_xsd_types: Required. The value indicating whether to + Whether to validate XSD types. + :type validate_xsd_types: bool + :param allow_leading_and_trailing_spaces_and_zeroes: Required. The value + indicating whether to allow leading and trailing spaces and zeroes. + :type allow_leading_and_trailing_spaces_and_zeroes: bool + :param trim_leading_and_trailing_spaces_and_zeroes: Required. The value + indicating whether to trim leading and trailing spaces and zeroes. + :type trim_leading_and_trailing_spaces_and_zeroes: bool + :param trailing_separator_policy: Required. The trailing separator policy. + Possible values include: 'NotSpecified', 'NotAllowed', 'Optional', + 'Mandatory' + :type trailing_separator_policy: str or + ~azure.mgmt.logic.models.TrailingSeparatorPolicy + """ + + _validation = { + 'validate_character_set': {'required': True}, + 'check_duplicate_interchange_control_number': {'required': True}, + 'interchange_control_number_validity_days': {'required': True}, + 'check_duplicate_group_control_number': {'required': True}, + 'check_duplicate_transaction_set_control_number': {'required': True}, + 'validate_edi_types': {'required': True}, + 'validate_xsd_types': {'required': True}, + 'allow_leading_and_trailing_spaces_and_zeroes': {'required': True}, + 'trim_leading_and_trailing_spaces_and_zeroes': {'required': True}, + 'trailing_separator_policy': {'required': True}, + } + + _attribute_map = { + 'validate_character_set': {'key': 'validateCharacterSet', 'type': 'bool'}, + 'check_duplicate_interchange_control_number': {'key': 'checkDuplicateInterchangeControlNumber', 'type': 'bool'}, + 'interchange_control_number_validity_days': {'key': 'interchangeControlNumberValidityDays', 'type': 'int'}, + 'check_duplicate_group_control_number': {'key': 'checkDuplicateGroupControlNumber', 'type': 'bool'}, + 'check_duplicate_transaction_set_control_number': {'key': 'checkDuplicateTransactionSetControlNumber', 'type': 'bool'}, + 'validate_edi_types': {'key': 'validateEDITypes', 'type': 'bool'}, + 'validate_xsd_types': {'key': 'validateXSDTypes', 'type': 'bool'}, + 'allow_leading_and_trailing_spaces_and_zeroes': {'key': 'allowLeadingAndTrailingSpacesAndZeroes', 'type': 'bool'}, + 'trim_leading_and_trailing_spaces_and_zeroes': {'key': 'trimLeadingAndTrailingSpacesAndZeroes', 'type': 'bool'}, + 'trailing_separator_policy': {'key': 'trailingSeparatorPolicy', 'type': 'str'}, + } + + def __init__(self, *, validate_character_set: bool, check_duplicate_interchange_control_number: bool, interchange_control_number_validity_days: int, check_duplicate_group_control_number: bool, check_duplicate_transaction_set_control_number: bool, validate_edi_types: bool, validate_xsd_types: bool, allow_leading_and_trailing_spaces_and_zeroes: bool, trim_leading_and_trailing_spaces_and_zeroes: bool, trailing_separator_policy, **kwargs) -> None: + super(EdifactValidationSettings, self).__init__(**kwargs) + self.validate_character_set = validate_character_set + self.check_duplicate_interchange_control_number = check_duplicate_interchange_control_number + self.interchange_control_number_validity_days = interchange_control_number_validity_days + self.check_duplicate_group_control_number = check_duplicate_group_control_number + self.check_duplicate_transaction_set_control_number = check_duplicate_transaction_set_control_number + self.validate_edi_types = validate_edi_types + self.validate_xsd_types = validate_xsd_types + self.allow_leading_and_trailing_spaces_and_zeroes = allow_leading_and_trailing_spaces_and_zeroes + self.trim_leading_and_trailing_spaces_and_zeroes = trim_leading_and_trailing_spaces_and_zeroes + self.trailing_separator_policy = trailing_separator_policy + + +class ErrorProperties(Model): + """Error properties indicate why the Logic service was not able to process the + incoming request. The reason is provided in the error message. + + :param code: Error code. + :type code: str + :param message: Error message indicating why the operation failed. + :type message: str + """ + + _attribute_map = { + 'code': {'key': 'code', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + } + + def __init__(self, *, code: str=None, message: str=None, **kwargs) -> None: + super(ErrorProperties, self).__init__(**kwargs) + self.code = code + self.message = message + + +class ErrorResponse(Model): + """Error response indicates Logic service is not able to process the incoming + request. The error property contains the error details. + + :param error: The error properties. + :type error: ~azure.mgmt.logic.models.ErrorProperties + """ + + _attribute_map = { + 'error': {'key': 'error', 'type': 'ErrorProperties'}, + } + + def __init__(self, *, error=None, **kwargs) -> None: + super(ErrorResponse, self).__init__(**kwargs) + self.error = error + + +class ErrorResponseException(HttpOperationError): + """Server responsed with exception of type: 'ErrorResponse'. + + :param deserialize: A deserializer + :param response: Server response to be deserialized. + """ + + def __init__(self, deserialize, response, *args): + + super(ErrorResponseException, self).__init__(deserialize, response, 'ErrorResponse', *args) + + +class Expression(Model): + """The expression. + + :param text: The text. + :type text: str + :param value: + :type value: object + :param subexpressions: The sub expressions. + :type subexpressions: list[~azure.mgmt.logic.models.Expression] + :param error: + :type error: ~azure.mgmt.logic.models.AzureResourceErrorInfo + """ + + _attribute_map = { + 'text': {'key': 'text', 'type': 'str'}, + 'value': {'key': 'value', 'type': 'object'}, + 'subexpressions': {'key': 'subexpressions', 'type': '[Expression]'}, + 'error': {'key': 'error', 'type': 'AzureResourceErrorInfo'}, + } + + def __init__(self, *, text: str=None, value=None, subexpressions=None, error=None, **kwargs) -> None: + super(Expression, self).__init__(**kwargs) + self.text = text + self.value = value + self.subexpressions = subexpressions + self.error = error + + +class ExpressionRoot(Expression): + """The expression root. + + :param text: The text. + :type text: str + :param value: + :type value: object + :param subexpressions: The sub expressions. + :type subexpressions: list[~azure.mgmt.logic.models.Expression] + :param error: + :type error: ~azure.mgmt.logic.models.AzureResourceErrorInfo + :param path: The path. + :type path: str + """ + + _attribute_map = { + 'text': {'key': 'text', 'type': 'str'}, + 'value': {'key': 'value', 'type': 'object'}, + 'subexpressions': {'key': 'subexpressions', 'type': '[Expression]'}, + 'error': {'key': 'error', 'type': 'AzureResourceErrorInfo'}, + 'path': {'key': 'path', 'type': 'str'}, + } + + def __init__(self, *, text: str=None, value=None, subexpressions=None, error=None, path: str=None, **kwargs) -> None: + super(ExpressionRoot, self).__init__(text=text, value=value, subexpressions=subexpressions, error=error, **kwargs) + self.path = path + + +class ExtendedErrorInfo(Model): + """The extended error info. + + All required parameters must be populated in order to send to Azure. + + :param code: Required. The error code. Possible values include: + 'NotSpecified', 'IntegrationServiceEnvironmentNotFound', + 'InternalServerError', 'InvalidOperationId' + :type code: str or ~azure.mgmt.logic.models.ErrorResponseCode + :param message: Required. The error message. + :type message: str + :param details: The error message details. + :type details: list[~azure.mgmt.logic.models.ExtendedErrorInfo] + :param inner_error: The inner error. + :type inner_error: object + """ + + _validation = { + 'code': {'required': True}, + 'message': {'required': True}, + } + + _attribute_map = { + 'code': {'key': 'code', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + 'details': {'key': 'details', 'type': '[ExtendedErrorInfo]'}, + 'inner_error': {'key': 'innerError', 'type': 'object'}, + } + + def __init__(self, *, code, message: str, details=None, inner_error=None, **kwargs) -> None: + super(ExtendedErrorInfo, self).__init__(**kwargs) + self.code = code + self.message = message + self.details = details + self.inner_error = inner_error + + +class FlowAccessControlConfiguration(Model): + """The access control configuration. + + :param triggers: The access control configuration for invoking workflow + triggers. + :type triggers: + ~azure.mgmt.logic.models.FlowAccessControlConfigurationPolicy + :param contents: The access control configuration for accessing workflow + run contents. + :type contents: + ~azure.mgmt.logic.models.FlowAccessControlConfigurationPolicy + :param actions: The access control configuration for workflow actions. + :type actions: + ~azure.mgmt.logic.models.FlowAccessControlConfigurationPolicy + :param workflow_management: The access control configuration for workflow + management. + :type workflow_management: + ~azure.mgmt.logic.models.FlowAccessControlConfigurationPolicy + """ + + _attribute_map = { + 'triggers': {'key': 'triggers', 'type': 'FlowAccessControlConfigurationPolicy'}, + 'contents': {'key': 'contents', 'type': 'FlowAccessControlConfigurationPolicy'}, + 'actions': {'key': 'actions', 'type': 'FlowAccessControlConfigurationPolicy'}, + 'workflow_management': {'key': 'workflowManagement', 'type': 'FlowAccessControlConfigurationPolicy'}, + } + + def __init__(self, *, triggers=None, contents=None, actions=None, workflow_management=None, **kwargs) -> None: + super(FlowAccessControlConfiguration, self).__init__(**kwargs) + self.triggers = triggers + self.contents = contents + self.actions = actions + self.workflow_management = workflow_management + + +class FlowAccessControlConfigurationPolicy(Model): + """The access control configuration policy. + + :param allowed_caller_ip_addresses: The allowed caller IP address ranges. + :type allowed_caller_ip_addresses: + list[~azure.mgmt.logic.models.IpAddressRange] + :param open_authentication_policies: The authentication policies for + workflow. + :type open_authentication_policies: + ~azure.mgmt.logic.models.OpenAuthenticationAccessPolicies + """ + + _attribute_map = { + 'allowed_caller_ip_addresses': {'key': 'allowedCallerIpAddresses', 'type': '[IpAddressRange]'}, + 'open_authentication_policies': {'key': 'openAuthenticationPolicies', 'type': 'OpenAuthenticationAccessPolicies'}, + } + + def __init__(self, *, allowed_caller_ip_addresses=None, open_authentication_policies=None, **kwargs) -> None: + super(FlowAccessControlConfigurationPolicy, self).__init__(**kwargs) + self.allowed_caller_ip_addresses = allowed_caller_ip_addresses + self.open_authentication_policies = open_authentication_policies + + +class FlowEndpoints(Model): + """The flow endpoints configuration. + + :param outgoing_ip_addresses: The outgoing ip address. + :type outgoing_ip_addresses: list[~azure.mgmt.logic.models.IpAddress] + :param access_endpoint_ip_addresses: The access endpoint ip address. + :type access_endpoint_ip_addresses: + list[~azure.mgmt.logic.models.IpAddress] + """ + + _attribute_map = { + 'outgoing_ip_addresses': {'key': 'outgoingIpAddresses', 'type': '[IpAddress]'}, + 'access_endpoint_ip_addresses': {'key': 'accessEndpointIpAddresses', 'type': '[IpAddress]'}, + } + + def __init__(self, *, outgoing_ip_addresses=None, access_endpoint_ip_addresses=None, **kwargs) -> None: + super(FlowEndpoints, self).__init__(**kwargs) + self.outgoing_ip_addresses = outgoing_ip_addresses + self.access_endpoint_ip_addresses = access_endpoint_ip_addresses + + +class FlowEndpointsConfiguration(Model): + """The endpoints configuration. + + :param workflow: The workflow endpoints. + :type workflow: ~azure.mgmt.logic.models.FlowEndpoints + :param connector: The connector endpoints. + :type connector: ~azure.mgmt.logic.models.FlowEndpoints + """ + + _attribute_map = { + 'workflow': {'key': 'workflow', 'type': 'FlowEndpoints'}, + 'connector': {'key': 'connector', 'type': 'FlowEndpoints'}, + } + + def __init__(self, *, workflow=None, connector=None, **kwargs) -> None: + super(FlowEndpointsConfiguration, self).__init__(**kwargs) + self.workflow = workflow + self.connector = connector + + +class GenerateUpgradedDefinitionParameters(Model): + """The parameters to generate upgraded definition. + + :param target_schema_version: The target schema version. + :type target_schema_version: str + """ + + _attribute_map = { + 'target_schema_version': {'key': 'targetSchemaVersion', 'type': 'str'}, + } + + def __init__(self, *, target_schema_version: str=None, **kwargs) -> None: + super(GenerateUpgradedDefinitionParameters, self).__init__(**kwargs) + self.target_schema_version = target_schema_version + + +class GetCallbackUrlParameters(Model): + """The callback url parameters. + + :param not_after: The expiry time. + :type not_after: datetime + :param key_type: The key type. Possible values include: 'NotSpecified', + 'Primary', 'Secondary' + :type key_type: str or ~azure.mgmt.logic.models.KeyType + """ + + _attribute_map = { + 'not_after': {'key': 'notAfter', 'type': 'iso-8601'}, + 'key_type': {'key': 'keyType', 'type': 'str'}, + } + + def __init__(self, *, not_after=None, key_type=None, **kwargs) -> None: + super(GetCallbackUrlParameters, self).__init__(**kwargs) + self.not_after = not_after + self.key_type = key_type + + +class IntegrationAccount(Resource): + """The integration account. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar id: The resource id. + :vartype id: str + :ivar name: Gets the resource name. + :vartype name: str + :ivar type: Gets the resource type. + :vartype type: str + :param location: The resource location. + :type location: str + :param tags: The resource tags. + :type tags: dict[str, str] + :param integration_service_environment: The integration service + environment. + :type integration_service_environment: + ~azure.mgmt.logic.models.IntegrationServiceEnvironment + :param state: The workflow state. Possible values include: 'NotSpecified', + 'Completed', 'Enabled', 'Disabled', 'Deleted', 'Suspended' + :type state: str or ~azure.mgmt.logic.models.WorkflowState + :param sku: The sku. + :type sku: ~azure.mgmt.logic.models.IntegrationAccountSku + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'integration_service_environment': {'key': 'properties.integrationServiceEnvironment', 'type': 'IntegrationServiceEnvironment'}, + 'state': {'key': 'properties.state', 'type': 'str'}, + 'sku': {'key': 'sku', 'type': 'IntegrationAccountSku'}, + } + + def __init__(self, *, location: str=None, tags=None, integration_service_environment=None, state=None, sku=None, **kwargs) -> None: + super(IntegrationAccount, self).__init__(location=location, tags=tags, **kwargs) + self.integration_service_environment = integration_service_environment + self.state = state + self.sku = sku + + +class IntegrationAccountAgreement(Resource): + """The integration account agreement. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The resource id. + :vartype id: str + :ivar name: Gets the resource name. + :vartype name: str + :ivar type: Gets the resource type. + :vartype type: str + :param location: The resource location. + :type location: str + :param tags: The resource tags. + :type tags: dict[str, str] + :ivar created_time: The created time. + :vartype created_time: datetime + :ivar changed_time: The changed time. + :vartype changed_time: datetime + :param metadata: The metadata. + :type metadata: object + :param agreement_type: Required. The agreement type. Possible values + include: 'NotSpecified', 'AS2', 'X12', 'Edifact' + :type agreement_type: str or ~azure.mgmt.logic.models.AgreementType + :param host_partner: Required. The integration account partner that is set + as host partner for this agreement. + :type host_partner: str + :param guest_partner: Required. The integration account partner that is + set as guest partner for this agreement. + :type guest_partner: str + :param host_identity: Required. The business identity of the host partner. + :type host_identity: ~azure.mgmt.logic.models.BusinessIdentity + :param guest_identity: Required. The business identity of the guest + partner. + :type guest_identity: ~azure.mgmt.logic.models.BusinessIdentity + :param content: Required. The agreement content. + :type content: ~azure.mgmt.logic.models.AgreementContent + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'created_time': {'readonly': True}, + 'changed_time': {'readonly': True}, + 'agreement_type': {'required': True}, + 'host_partner': {'required': True}, + 'guest_partner': {'required': True}, + 'host_identity': {'required': True}, + 'guest_identity': {'required': True}, + 'content': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'created_time': {'key': 'properties.createdTime', 'type': 'iso-8601'}, + 'changed_time': {'key': 'properties.changedTime', 'type': 'iso-8601'}, + 'metadata': {'key': 'properties.metadata', 'type': 'object'}, + 'agreement_type': {'key': 'properties.agreementType', 'type': 'AgreementType'}, + 'host_partner': {'key': 'properties.hostPartner', 'type': 'str'}, + 'guest_partner': {'key': 'properties.guestPartner', 'type': 'str'}, + 'host_identity': {'key': 'properties.hostIdentity', 'type': 'BusinessIdentity'}, + 'guest_identity': {'key': 'properties.guestIdentity', 'type': 'BusinessIdentity'}, + 'content': {'key': 'properties.content', 'type': 'AgreementContent'}, + } + + def __init__(self, *, agreement_type, host_partner: str, guest_partner: str, host_identity, guest_identity, content, location: str=None, tags=None, metadata=None, **kwargs) -> None: + super(IntegrationAccountAgreement, self).__init__(location=location, tags=tags, **kwargs) + self.created_time = None + self.changed_time = None + self.metadata = metadata + self.agreement_type = agreement_type + self.host_partner = host_partner + self.guest_partner = guest_partner + self.host_identity = host_identity + self.guest_identity = guest_identity + self.content = content + + +class IntegrationAccountAgreementFilter(Model): + """The integration account agreement filter for odata query. + + All required parameters must be populated in order to send to Azure. + + :param agreement_type: Required. The agreement type of integration account + agreement. Possible values include: 'NotSpecified', 'AS2', 'X12', + 'Edifact' + :type agreement_type: str or ~azure.mgmt.logic.models.AgreementType + """ + + _validation = { + 'agreement_type': {'required': True}, + } + + _attribute_map = { + 'agreement_type': {'key': 'agreementType', 'type': 'AgreementType'}, + } + + def __init__(self, *, agreement_type, **kwargs) -> None: + super(IntegrationAccountAgreementFilter, self).__init__(**kwargs) + self.agreement_type = agreement_type + + +class IntegrationAccountCertificate(Resource): + """The integration account certificate. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar id: The resource id. + :vartype id: str + :ivar name: Gets the resource name. + :vartype name: str + :ivar type: Gets the resource type. + :vartype type: str + :param location: The resource location. + :type location: str + :param tags: The resource tags. + :type tags: dict[str, str] + :ivar created_time: The created time. + :vartype created_time: datetime + :ivar changed_time: The changed time. + :vartype changed_time: datetime + :param metadata: The metadata. + :type metadata: object + :param key: The key details in the key vault. + :type key: ~azure.mgmt.logic.models.KeyVaultKeyReference + :param public_certificate: The public certificate. + :type public_certificate: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'created_time': {'readonly': True}, + 'changed_time': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'created_time': {'key': 'properties.createdTime', 'type': 'iso-8601'}, + 'changed_time': {'key': 'properties.changedTime', 'type': 'iso-8601'}, + 'metadata': {'key': 'properties.metadata', 'type': 'object'}, + 'key': {'key': 'properties.key', 'type': 'KeyVaultKeyReference'}, + 'public_certificate': {'key': 'properties.publicCertificate', 'type': 'str'}, + } + + def __init__(self, *, location: str=None, tags=None, metadata=None, key=None, public_certificate: str=None, **kwargs) -> None: + super(IntegrationAccountCertificate, self).__init__(location=location, tags=tags, **kwargs) + self.created_time = None + self.changed_time = None + self.metadata = metadata + self.key = key + self.public_certificate = public_certificate + + +class IntegrationAccountMap(Resource): + """The integration account map. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The resource id. + :vartype id: str + :ivar name: Gets the resource name. + :vartype name: str + :ivar type: Gets the resource type. + :vartype type: str + :param location: The resource location. + :type location: str + :param tags: The resource tags. + :type tags: dict[str, str] + :param map_type: Required. The map type. Possible values include: + 'NotSpecified', 'Xslt', 'Xslt20', 'Xslt30', 'Liquid' + :type map_type: str or ~azure.mgmt.logic.models.MapType + :param parameters_schema: The parameters schema of integration account + map. + :type parameters_schema: + ~azure.mgmt.logic.models.IntegrationAccountMapPropertiesParametersSchema + :ivar created_time: The created time. + :vartype created_time: datetime + :ivar changed_time: The changed time. + :vartype changed_time: datetime + :param content: The content. + :type content: str + :param content_type: The content type. + :type content_type: str + :ivar content_link: The content link. + :vartype content_link: ~azure.mgmt.logic.models.ContentLink + :param metadata: The metadata. + :type metadata: object + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'map_type': {'required': True}, + 'created_time': {'readonly': True}, + 'changed_time': {'readonly': True}, + 'content_link': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'map_type': {'key': 'properties.mapType', 'type': 'str'}, + 'parameters_schema': {'key': 'properties.parametersSchema', 'type': 'IntegrationAccountMapPropertiesParametersSchema'}, + 'created_time': {'key': 'properties.createdTime', 'type': 'iso-8601'}, + 'changed_time': {'key': 'properties.changedTime', 'type': 'iso-8601'}, + 'content': {'key': 'properties.content', 'type': 'str'}, + 'content_type': {'key': 'properties.contentType', 'type': 'str'}, + 'content_link': {'key': 'properties.contentLink', 'type': 'ContentLink'}, + 'metadata': {'key': 'properties.metadata', 'type': 'object'}, + } + + def __init__(self, *, map_type, location: str=None, tags=None, parameters_schema=None, content: str=None, content_type: str=None, metadata=None, **kwargs) -> None: + super(IntegrationAccountMap, self).__init__(location=location, tags=tags, **kwargs) + self.map_type = map_type + self.parameters_schema = parameters_schema + self.created_time = None + self.changed_time = None + self.content = content + self.content_type = content_type + self.content_link = None + self.metadata = metadata + + +class IntegrationAccountMapFilter(Model): + """The integration account map filter for odata query. + + All required parameters must be populated in order to send to Azure. + + :param map_type: Required. The map type of integration account map. + Possible values include: 'NotSpecified', 'Xslt', 'Xslt20', 'Xslt30', + 'Liquid' + :type map_type: str or ~azure.mgmt.logic.models.MapType + """ + + _validation = { + 'map_type': {'required': True}, + } + + _attribute_map = { + 'map_type': {'key': 'mapType', 'type': 'str'}, + } + + def __init__(self, *, map_type, **kwargs) -> None: + super(IntegrationAccountMapFilter, self).__init__(**kwargs) + self.map_type = map_type + + +class IntegrationAccountMapPropertiesParametersSchema(Model): + """The parameters schema of integration account map. + + :param ref: The reference name. + :type ref: str + """ + + _attribute_map = { + 'ref': {'key': 'ref', 'type': 'str'}, + } + + def __init__(self, *, ref: str=None, **kwargs) -> None: + super(IntegrationAccountMapPropertiesParametersSchema, self).__init__(**kwargs) + self.ref = ref + + +class IntegrationAccountPartner(Resource): + """The integration account partner. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The resource id. + :vartype id: str + :ivar name: Gets the resource name. + :vartype name: str + :ivar type: Gets the resource type. + :vartype type: str + :param location: The resource location. + :type location: str + :param tags: The resource tags. + :type tags: dict[str, str] + :param partner_type: Required. The partner type. Possible values include: + 'NotSpecified', 'B2B' + :type partner_type: str or ~azure.mgmt.logic.models.PartnerType + :ivar created_time: The created time. + :vartype created_time: datetime + :ivar changed_time: The changed time. + :vartype changed_time: datetime + :param metadata: The metadata. + :type metadata: object + :param content: Required. The partner content. + :type content: ~azure.mgmt.logic.models.PartnerContent + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'partner_type': {'required': True}, + 'created_time': {'readonly': True}, + 'changed_time': {'readonly': True}, + 'content': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'partner_type': {'key': 'properties.partnerType', 'type': 'str'}, + 'created_time': {'key': 'properties.createdTime', 'type': 'iso-8601'}, + 'changed_time': {'key': 'properties.changedTime', 'type': 'iso-8601'}, + 'metadata': {'key': 'properties.metadata', 'type': 'object'}, + 'content': {'key': 'properties.content', 'type': 'PartnerContent'}, + } + + def __init__(self, *, partner_type, content, location: str=None, tags=None, metadata=None, **kwargs) -> None: + super(IntegrationAccountPartner, self).__init__(location=location, tags=tags, **kwargs) + self.partner_type = partner_type + self.created_time = None + self.changed_time = None + self.metadata = metadata + self.content = content + + +class IntegrationAccountPartnerFilter(Model): + """The integration account partner filter for odata query. + + All required parameters must be populated in order to send to Azure. + + :param partner_type: Required. The partner type of integration account + partner. Possible values include: 'NotSpecified', 'B2B' + :type partner_type: str or ~azure.mgmt.logic.models.PartnerType + """ + + _validation = { + 'partner_type': {'required': True}, + } + + _attribute_map = { + 'partner_type': {'key': 'partnerType', 'type': 'str'}, + } + + def __init__(self, *, partner_type, **kwargs) -> None: + super(IntegrationAccountPartnerFilter, self).__init__(**kwargs) + self.partner_type = partner_type + + +class IntegrationAccountSchema(Resource): + """The integration account schema. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The resource id. + :vartype id: str + :ivar name: Gets the resource name. + :vartype name: str + :ivar type: Gets the resource type. + :vartype type: str + :param location: The resource location. + :type location: str + :param tags: The resource tags. + :type tags: dict[str, str] + :param schema_type: Required. The schema type. Possible values include: + 'NotSpecified', 'Xml' + :type schema_type: str or ~azure.mgmt.logic.models.SchemaType + :param target_namespace: The target namespace of the schema. + :type target_namespace: str + :param document_name: The document name. + :type document_name: str + :param file_name: The file name. + :type file_name: str + :ivar created_time: The created time. + :vartype created_time: datetime + :ivar changed_time: The changed time. + :vartype changed_time: datetime + :param metadata: The metadata. + :type metadata: object + :param content: The content. + :type content: str + :param content_type: The content type. + :type content_type: str + :ivar content_link: The content link. + :vartype content_link: ~azure.mgmt.logic.models.ContentLink + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'schema_type': {'required': True}, + 'created_time': {'readonly': True}, + 'changed_time': {'readonly': True}, + 'content_link': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'schema_type': {'key': 'properties.schemaType', 'type': 'str'}, + 'target_namespace': {'key': 'properties.targetNamespace', 'type': 'str'}, + 'document_name': {'key': 'properties.documentName', 'type': 'str'}, + 'file_name': {'key': 'properties.fileName', 'type': 'str'}, + 'created_time': {'key': 'properties.createdTime', 'type': 'iso-8601'}, + 'changed_time': {'key': 'properties.changedTime', 'type': 'iso-8601'}, + 'metadata': {'key': 'properties.metadata', 'type': 'object'}, + 'content': {'key': 'properties.content', 'type': 'str'}, + 'content_type': {'key': 'properties.contentType', 'type': 'str'}, + 'content_link': {'key': 'properties.contentLink', 'type': 'ContentLink'}, + } + + def __init__(self, *, schema_type, location: str=None, tags=None, target_namespace: str=None, document_name: str=None, file_name: str=None, metadata=None, content: str=None, content_type: str=None, **kwargs) -> None: + super(IntegrationAccountSchema, self).__init__(location=location, tags=tags, **kwargs) + self.schema_type = schema_type + self.target_namespace = target_namespace + self.document_name = document_name + self.file_name = file_name + self.created_time = None + self.changed_time = None + self.metadata = metadata + self.content = content + self.content_type = content_type + self.content_link = None + + +class IntegrationAccountSchemaFilter(Model): + """The integration account schema filter for odata query. + + All required parameters must be populated in order to send to Azure. + + :param schema_type: Required. The schema type of integration account + schema. Possible values include: 'NotSpecified', 'Xml' + :type schema_type: str or ~azure.mgmt.logic.models.SchemaType + """ + + _validation = { + 'schema_type': {'required': True}, + } + + _attribute_map = { + 'schema_type': {'key': 'schemaType', 'type': 'str'}, + } + + def __init__(self, *, schema_type, **kwargs) -> None: + super(IntegrationAccountSchemaFilter, self).__init__(**kwargs) + self.schema_type = schema_type + + +class IntegrationAccountSession(Resource): + """The integration account session. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar id: The resource id. + :vartype id: str + :ivar name: Gets the resource name. + :vartype name: str + :ivar type: Gets the resource type. + :vartype type: str + :param location: The resource location. + :type location: str + :param tags: The resource tags. + :type tags: dict[str, str] + :ivar created_time: The created time. + :vartype created_time: datetime + :ivar changed_time: The changed time. + :vartype changed_time: datetime + :param content: The session content. + :type content: object + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'created_time': {'readonly': True}, + 'changed_time': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'created_time': {'key': 'properties.createdTime', 'type': 'iso-8601'}, + 'changed_time': {'key': 'properties.changedTime', 'type': 'iso-8601'}, + 'content': {'key': 'properties.content', 'type': 'object'}, + } + + def __init__(self, *, location: str=None, tags=None, content=None, **kwargs) -> None: + super(IntegrationAccountSession, self).__init__(location=location, tags=tags, **kwargs) + self.created_time = None + self.changed_time = None + self.content = content + + +class IntegrationAccountSessionFilter(Model): + """The integration account session filter. + + All required parameters must be populated in order to send to Azure. + + :param changed_time: Required. The changed time of integration account + sessions. + :type changed_time: datetime + """ + + _validation = { + 'changed_time': {'required': True}, + } + + _attribute_map = { + 'changed_time': {'key': 'changedTime', 'type': 'iso-8601'}, + } + + def __init__(self, *, changed_time, **kwargs) -> None: + super(IntegrationAccountSessionFilter, self).__init__(**kwargs) + self.changed_time = changed_time + + +class IntegrationAccountSku(Model): + """The integration account sku. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. The sku name. Possible values include: + 'NotSpecified', 'Free', 'Basic', 'Standard' + :type name: str or ~azure.mgmt.logic.models.IntegrationAccountSkuName + """ + + _validation = { + 'name': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + } + + def __init__(self, *, name, **kwargs) -> None: + super(IntegrationAccountSku, self).__init__(**kwargs) + self.name = name + + +class IntegrationServiceEnvironmenEncryptionConfiguration(Model): + """The encryption configuration for the integration service environment. + + :param encryption_key_reference: The encryption key reference. + :type encryption_key_reference: + ~azure.mgmt.logic.models.IntegrationServiceEnvironmenEncryptionKeyReference + """ + + _attribute_map = { + 'encryption_key_reference': {'key': 'encryptionKeyReference', 'type': 'IntegrationServiceEnvironmenEncryptionKeyReference'}, + } + + def __init__(self, *, encryption_key_reference=None, **kwargs) -> None: + super(IntegrationServiceEnvironmenEncryptionConfiguration, self).__init__(**kwargs) + self.encryption_key_reference = encryption_key_reference + + +class IntegrationServiceEnvironmenEncryptionKeyReference(Model): + """The encryption key details for the integration service environment. + + :param key_vault: The key vault reference. + :type key_vault: ~azure.mgmt.logic.models.ResourceReference + :param key_name: Gets the key name in the Key Vault. + :type key_name: str + :param key_version: Gets the version of the key specified in the keyName + property. + :type key_version: str + """ + + _attribute_map = { + 'key_vault': {'key': 'keyVault', 'type': 'ResourceReference'}, + 'key_name': {'key': 'keyName', 'type': 'str'}, + 'key_version': {'key': 'keyVersion', 'type': 'str'}, + } + + def __init__(self, *, key_vault=None, key_name: str=None, key_version: str=None, **kwargs) -> None: + super(IntegrationServiceEnvironmenEncryptionKeyReference, self).__init__(**kwargs) + self.key_vault = key_vault + self.key_name = key_name + self.key_version = key_version + + +class IntegrationServiceEnvironment(Resource): + """The integration service environment. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar id: The resource id. + :vartype id: str + :ivar name: Gets the resource name. + :vartype name: str + :ivar type: Gets the resource type. + :vartype type: str + :param location: The resource location. + :type location: str + :param tags: The resource tags. + :type tags: dict[str, str] + :param properties: The integration service environment properties. + :type properties: + ~azure.mgmt.logic.models.IntegrationServiceEnvironmentProperties + :param sku: The sku. + :type sku: ~azure.mgmt.logic.models.IntegrationServiceEnvironmentSku + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'properties': {'key': 'properties', 'type': 'IntegrationServiceEnvironmentProperties'}, + 'sku': {'key': 'sku', 'type': 'IntegrationServiceEnvironmentSku'}, + } + + def __init__(self, *, location: str=None, tags=None, properties=None, sku=None, **kwargs) -> None: + super(IntegrationServiceEnvironment, self).__init__(location=location, tags=tags, **kwargs) + self.properties = properties + self.sku = sku + + +class IntegrationServiceEnvironmentAccessEndpoint(Model): + """The integration service environment access endpoint. + + :param type: The access endpoint type. Possible values include: + 'NotSpecified', 'External', 'Internal' + :type type: str or + ~azure.mgmt.logic.models.IntegrationServiceEnvironmentAccessEndpointType + """ + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__(self, *, type=None, **kwargs) -> None: + super(IntegrationServiceEnvironmentAccessEndpoint, self).__init__(**kwargs) + self.type = type + + +class IntegrationServiceEnvironmentNetworkDependency(Model): + """The azure async operation resource. + + :param category: The network dependency category type. Possible values + include: 'NotSpecified', 'AzureStorage', 'AzureManagement', + 'AzureActiveDirectory', 'SSLCertificateVerification', + 'DiagnosticLogsAndMetrics', 'IntegrationServiceEnvironmentConnectors', + 'RedisCache', 'AccessEndpoints', 'RecoveryService', 'SQL', + 'RegionalService' + :type category: str or + ~azure.mgmt.logic.models.IntegrationServiceEnvironmentNetworkDependencyCategoryType + :param display_name: The display name. + :type display_name: str + :param endpoints: The endpoints. + :type endpoints: + list[~azure.mgmt.logic.models.IntegrationServiceEnvironmentNetworkEndpoint] + """ + + _attribute_map = { + 'category': {'key': 'category', 'type': 'str'}, + 'display_name': {'key': 'displayName', 'type': 'str'}, + 'endpoints': {'key': 'endpoints', 'type': '[IntegrationServiceEnvironmentNetworkEndpoint]'}, + } + + def __init__(self, *, category=None, display_name: str=None, endpoints=None, **kwargs) -> None: + super(IntegrationServiceEnvironmentNetworkDependency, self).__init__(**kwargs) + self.category = category + self.display_name = display_name + self.endpoints = endpoints + + +class IntegrationServiceEnvironmentNetworkDependencyHealth(Model): + """The integration service environment subnet network health. + + :param error: The error if any occurred during the operation. + :type error: ~azure.mgmt.logic.models.ExtendedErrorInfo + :param state: The network dependency health state. Possible values + include: 'NotSpecified', 'Healthy', 'Unhealthy', 'Unknown' + :type state: str or + ~azure.mgmt.logic.models.IntegrationServiceEnvironmentNetworkDependencyHealthState + """ + + _attribute_map = { + 'error': {'key': 'error', 'type': 'ExtendedErrorInfo'}, + 'state': {'key': 'state', 'type': 'str'}, + } + + def __init__(self, *, error=None, state=None, **kwargs) -> None: + super(IntegrationServiceEnvironmentNetworkDependencyHealth, self).__init__(**kwargs) + self.error = error + self.state = state + + +class IntegrationServiceEnvironmentNetworkEndpoint(Model): + """The network endpoint. + + :param accessibility: The accessibility state. Possible values include: + 'NotSpecified', 'Unknown', 'Available', 'NotAvailable' + :type accessibility: str or + ~azure.mgmt.logic.models.IntegrationServiceEnvironmentNetworkEndPointAccessibilityState + :param domain_name: The domain name. + :type domain_name: str + :param ports: The ports. + :type ports: list[str] + """ + + _attribute_map = { + 'accessibility': {'key': 'accessibility', 'type': 'str'}, + 'domain_name': {'key': 'domainName', 'type': 'str'}, + 'ports': {'key': 'ports', 'type': '[str]'}, + } + + def __init__(self, *, accessibility=None, domain_name: str=None, ports=None, **kwargs) -> None: + super(IntegrationServiceEnvironmentNetworkEndpoint, self).__init__(**kwargs) + self.accessibility = accessibility + self.domain_name = domain_name + self.ports = ports + + +class IntegrationServiceEnvironmentProperties(Model): + """The integration service environment properties. + + :param provisioning_state: The provisioning state. Possible values + include: 'NotSpecified', 'Accepted', 'Running', 'Ready', 'Creating', + 'Created', 'Deleting', 'Deleted', 'Canceled', 'Failed', 'Succeeded', + 'Moving', 'Updating', 'Registering', 'Registered', 'Unregistering', + 'Unregistered', 'Completed', 'Renewing', 'Pending', 'Waiting', + 'InProgress' + :type provisioning_state: str or + ~azure.mgmt.logic.models.WorkflowProvisioningState + :param state: The integration service environment state. Possible values + include: 'NotSpecified', 'Completed', 'Enabled', 'Disabled', 'Deleted', + 'Suspended' + :type state: str or ~azure.mgmt.logic.models.WorkflowState + :param integration_service_environment_id: Gets the tracking id. + :type integration_service_environment_id: str + :param endpoints_configuration: The endpoints configuration. + :type endpoints_configuration: + ~azure.mgmt.logic.models.FlowEndpointsConfiguration + :param network_configuration: The network configuration. + :type network_configuration: ~azure.mgmt.logic.models.NetworkConfiguration + :param encryption_configuration: The encryption configuration. + :type encryption_configuration: + ~azure.mgmt.logic.models.IntegrationServiceEnvironmenEncryptionConfiguration + """ + + _attribute_map = { + 'provisioning_state': {'key': 'provisioningState', 'type': 'str'}, + 'state': {'key': 'state', 'type': 'str'}, + 'integration_service_environment_id': {'key': 'integrationServiceEnvironmentId', 'type': 'str'}, + 'endpoints_configuration': {'key': 'endpointsConfiguration', 'type': 'FlowEndpointsConfiguration'}, + 'network_configuration': {'key': 'networkConfiguration', 'type': 'NetworkConfiguration'}, + 'encryption_configuration': {'key': 'encryptionConfiguration', 'type': 'IntegrationServiceEnvironmenEncryptionConfiguration'}, + } + + def __init__(self, *, provisioning_state=None, state=None, integration_service_environment_id: str=None, endpoints_configuration=None, network_configuration=None, encryption_configuration=None, **kwargs) -> None: + super(IntegrationServiceEnvironmentProperties, self).__init__(**kwargs) + self.provisioning_state = provisioning_state + self.state = state + self.integration_service_environment_id = integration_service_environment_id + self.endpoints_configuration = endpoints_configuration + self.network_configuration = network_configuration + self.encryption_configuration = encryption_configuration + + +class IntegrationServiceEnvironmentSku(Model): + """The integration service environment sku. + + :param name: The sku name. Possible values include: 'NotSpecified', + 'Premium', 'Developer' + :type name: str or + ~azure.mgmt.logic.models.IntegrationServiceEnvironmentSkuName + :param capacity: The sku capacity. + :type capacity: int + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'capacity': {'key': 'capacity', 'type': 'int'}, + } + + def __init__(self, *, name=None, capacity: int=None, **kwargs) -> None: + super(IntegrationServiceEnvironmentSku, self).__init__(**kwargs) + self.name = name + self.capacity = capacity + + +class IntegrationServiceEnvironmentSkuCapacity(Model): + """The integration service environment sku capacity. + + :param minimum: The minimum capacity. + :type minimum: int + :param maximum: The maximum capacity. + :type maximum: int + :param default: The default capacity. + :type default: int + :param scale_type: The sku scale type. Possible values include: 'Manual', + 'Automatic', 'None' + :type scale_type: str or + ~azure.mgmt.logic.models.IntegrationServiceEnvironmentSkuScaleType + """ + + _attribute_map = { + 'minimum': {'key': 'minimum', 'type': 'int'}, + 'maximum': {'key': 'maximum', 'type': 'int'}, + 'default': {'key': 'default', 'type': 'int'}, + 'scale_type': {'key': 'scaleType', 'type': 'str'}, + } + + def __init__(self, *, minimum: int=None, maximum: int=None, default: int=None, scale_type=None, **kwargs) -> None: + super(IntegrationServiceEnvironmentSkuCapacity, self).__init__(**kwargs) + self.minimum = minimum + self.maximum = maximum + self.default = default + self.scale_type = scale_type + + +class IntegrationServiceEnvironmentSkuDefinition(Model): + """The integration service environment sku definition. + + :param resource_type: The resource type. + :type resource_type: str + :param sku: The sku. + :type sku: + ~azure.mgmt.logic.models.IntegrationServiceEnvironmentSkuDefinitionSku + :param capacity: The sku capacity. + :type capacity: + ~azure.mgmt.logic.models.IntegrationServiceEnvironmentSkuCapacity + """ + + _attribute_map = { + 'resource_type': {'key': 'resourceType', 'type': 'str'}, + 'sku': {'key': 'sku', 'type': 'IntegrationServiceEnvironmentSkuDefinitionSku'}, + 'capacity': {'key': 'capacity', 'type': 'IntegrationServiceEnvironmentSkuCapacity'}, + } + + def __init__(self, *, resource_type: str=None, sku=None, capacity=None, **kwargs) -> None: + super(IntegrationServiceEnvironmentSkuDefinition, self).__init__(**kwargs) + self.resource_type = resource_type + self.sku = sku + self.capacity = capacity + + +class IntegrationServiceEnvironmentSkuDefinitionSku(Model): + """The sku. + + :param name: The sku name. Possible values include: 'NotSpecified', + 'Premium', 'Developer' + :type name: str or + ~azure.mgmt.logic.models.IntegrationServiceEnvironmentSkuName + :param tier: The sku tier. + :type tier: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'tier': {'key': 'tier', 'type': 'str'}, + } + + def __init__(self, *, name=None, tier: str=None, **kwargs) -> None: + super(IntegrationServiceEnvironmentSkuDefinitionSku, self).__init__(**kwargs) + self.name = name + self.tier = tier + + +class IntegrationServiceEnvironmentSubnetNetworkHealth(Model): + """The integration service environment subnet network health. + + All required parameters must be populated in order to send to Azure. + + :param outbound_network_dependencies: The outbound network dependencies. + :type outbound_network_dependencies: + list[~azure.mgmt.logic.models.IntegrationServiceEnvironmentNetworkDependency] + :param outbound_network_health: The integration service environment + network health. + :type outbound_network_health: + ~azure.mgmt.logic.models.IntegrationServiceEnvironmentNetworkDependencyHealth + :param network_dependency_health_state: Required. The integration service + environment network health state. Possible values include: 'NotSpecified', + 'Unknown', 'Available', 'NotAvailable' + :type network_dependency_health_state: str or + ~azure.mgmt.logic.models.IntegrationServiceEnvironmentNetworkEndPointAccessibilityState + """ + + _validation = { + 'network_dependency_health_state': {'required': True}, + } + + _attribute_map = { + 'outbound_network_dependencies': {'key': 'outboundNetworkDependencies', 'type': '[IntegrationServiceEnvironmentNetworkDependency]'}, + 'outbound_network_health': {'key': 'outboundNetworkHealth', 'type': 'IntegrationServiceEnvironmentNetworkDependencyHealth'}, + 'network_dependency_health_state': {'key': 'networkDependencyHealthState', 'type': 'str'}, + } + + def __init__(self, *, network_dependency_health_state, outbound_network_dependencies=None, outbound_network_health=None, **kwargs) -> None: + super(IntegrationServiceEnvironmentSubnetNetworkHealth, self).__init__(**kwargs) + self.outbound_network_dependencies = outbound_network_dependencies + self.outbound_network_health = outbound_network_health + self.network_dependency_health_state = network_dependency_health_state + + +class IpAddress(Model): + """The ip address. + + :param address: The address. + :type address: str + """ + + _attribute_map = { + 'address': {'key': 'address', 'type': 'str'}, + } + + def __init__(self, *, address: str=None, **kwargs) -> None: + super(IpAddress, self).__init__(**kwargs) + self.address = address + + +class IpAddressRange(Model): + """The ip address range. + + :param address_range: The IP address range. + :type address_range: str + """ + + _attribute_map = { + 'address_range': {'key': 'addressRange', 'type': 'str'}, + } + + def __init__(self, *, address_range: str=None, **kwargs) -> None: + super(IpAddressRange, self).__init__(**kwargs) + self.address_range = address_range + + +class JsonSchema(Model): + """The JSON schema. + + :param title: The JSON title. + :type title: str + :param content: The JSON content. + :type content: str + """ + + _attribute_map = { + 'title': {'key': 'title', 'type': 'str'}, + 'content': {'key': 'content', 'type': 'str'}, + } + + def __init__(self, *, title: str=None, content: str=None, **kwargs) -> None: + super(JsonSchema, self).__init__(**kwargs) + self.title = title + self.content = content + + +class KeyVaultKey(Model): + """The key vault key. + + :param kid: The key id. + :type kid: str + :param attributes: The key attributes. + :type attributes: ~azure.mgmt.logic.models.KeyVaultKeyAttributes + """ + + _attribute_map = { + 'kid': {'key': 'kid', 'type': 'str'}, + 'attributes': {'key': 'attributes', 'type': 'KeyVaultKeyAttributes'}, + } + + def __init__(self, *, kid: str=None, attributes=None, **kwargs) -> None: + super(KeyVaultKey, self).__init__(**kwargs) + self.kid = kid + self.attributes = attributes + + +class KeyVaultKeyAttributes(Model): + """The key attributes. + + :param enabled: Whether the key is enabled or not. + :type enabled: bool + :param created: When the key was created. + :type created: long + :param updated: When the key was updated. + :type updated: long + """ + + _attribute_map = { + 'enabled': {'key': 'enabled', 'type': 'bool'}, + 'created': {'key': 'created', 'type': 'long'}, + 'updated': {'key': 'updated', 'type': 'long'}, + } + + def __init__(self, *, enabled: bool=None, created: int=None, updated: int=None, **kwargs) -> None: + super(KeyVaultKeyAttributes, self).__init__(**kwargs) + self.enabled = enabled + self.created = created + self.updated = updated + + +class KeyVaultKeyReference(Model): + """The reference to the key vault key. + + All required parameters must be populated in order to send to Azure. + + :param key_vault: Required. The key vault reference. + :type key_vault: ~azure.mgmt.logic.models.KeyVaultKeyReferenceKeyVault + :param key_name: Required. The private key name in key vault. + :type key_name: str + :param key_version: The private key version in key vault. + :type key_version: str + """ + + _validation = { + 'key_vault': {'required': True}, + 'key_name': {'required': True}, + } + + _attribute_map = { + 'key_vault': {'key': 'keyVault', 'type': 'KeyVaultKeyReferenceKeyVault'}, + 'key_name': {'key': 'keyName', 'type': 'str'}, + 'key_version': {'key': 'keyVersion', 'type': 'str'}, + } + + def __init__(self, *, key_vault, key_name: str, key_version: str=None, **kwargs) -> None: + super(KeyVaultKeyReference, self).__init__(**kwargs) + self.key_vault = key_vault + self.key_name = key_name + self.key_version = key_version + + +class KeyVaultKeyReferenceKeyVault(Model): + """The key vault reference. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :param id: The resource id. + :type id: str + :ivar name: The resource name. + :vartype name: str + :ivar type: The resource type. + :vartype type: str + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__(self, *, id: str=None, **kwargs) -> None: + super(KeyVaultKeyReferenceKeyVault, self).__init__(**kwargs) + self.id = id + self.name = None + self.type = None + + +class KeyVaultReference(ResourceReference): + """The key vault reference. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :param id: The resource id. + :type id: str + :ivar name: Gets the resource name. + :vartype name: str + :ivar type: Gets the resource type. + :vartype type: str + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__(self, *, id: str=None, **kwargs) -> None: + super(KeyVaultReference, self).__init__(id=id, **kwargs) + + +class ListKeyVaultKeysDefinition(Model): + """The list key vault keys definition. + + All required parameters must be populated in order to send to Azure. + + :param key_vault: Required. The key vault reference. + :type key_vault: ~azure.mgmt.logic.models.KeyVaultReference + :param skip_token: The skip token. + :type skip_token: str + """ + + _validation = { + 'key_vault': {'required': True}, + } + + _attribute_map = { + 'key_vault': {'key': 'keyVault', 'type': 'KeyVaultReference'}, + 'skip_token': {'key': 'skipToken', 'type': 'str'}, + } + + def __init__(self, *, key_vault, skip_token: str=None, **kwargs) -> None: + super(ListKeyVaultKeysDefinition, self).__init__(**kwargs) + self.key_vault = key_vault + self.skip_token = skip_token + + +class ManagedApi(Resource): + """The managed api definition. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar id: The resource id. + :vartype id: str + :ivar name: Gets the resource name. + :vartype name: str + :ivar type: Gets the resource type. + :vartype type: str + :param location: The resource location. + :type location: str + :param tags: The resource tags. + :type tags: dict[str, str] + :param properties: The api resource properties. + :type properties: ~azure.mgmt.logic.models.ApiResourceProperties + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'properties': {'key': 'properties', 'type': 'ApiResourceProperties'}, + } + + def __init__(self, *, location: str=None, tags=None, properties=None, **kwargs) -> None: + super(ManagedApi, self).__init__(location=location, tags=tags, **kwargs) + self.properties = properties + + +class NetworkConfiguration(Model): + """The network configuration. + + :param virtual_network_address_space: Gets the virtual network address + space. + :type virtual_network_address_space: str + :param access_endpoint: The access endpoint. + :type access_endpoint: + ~azure.mgmt.logic.models.IntegrationServiceEnvironmentAccessEndpoint + :param subnets: The subnets. + :type subnets: list[~azure.mgmt.logic.models.ResourceReference] + """ + + _attribute_map = { + 'virtual_network_address_space': {'key': 'virtualNetworkAddressSpace', 'type': 'str'}, + 'access_endpoint': {'key': 'accessEndpoint', 'type': 'IntegrationServiceEnvironmentAccessEndpoint'}, + 'subnets': {'key': 'subnets', 'type': '[ResourceReference]'}, + } + + def __init__(self, *, virtual_network_address_space: str=None, access_endpoint=None, subnets=None, **kwargs) -> None: + super(NetworkConfiguration, self).__init__(**kwargs) + self.virtual_network_address_space = virtual_network_address_space + self.access_endpoint = access_endpoint + self.subnets = subnets + + +class OpenAuthenticationAccessPolicies(Model): + """AuthenticationPolicy of type Open. + + :param policies: Open authentication policies. + :type policies: dict[str, + ~azure.mgmt.logic.models.OpenAuthenticationAccessPolicy] + """ + + _attribute_map = { + 'policies': {'key': 'policies', 'type': '{OpenAuthenticationAccessPolicy}'}, + } + + def __init__(self, *, policies=None, **kwargs) -> None: + super(OpenAuthenticationAccessPolicies, self).__init__(**kwargs) + self.policies = policies + + +class OpenAuthenticationAccessPolicy(Model): + """Open authentication access policy defined by user. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar type: Type of provider for OAuth. Possible values include: 'AAD' + :vartype type: str or + ~azure.mgmt.logic.models.OpenAuthenticationProviderType + :param claims: The access policy claims. + :type claims: list[~azure.mgmt.logic.models.OpenAuthenticationPolicyClaim] + """ + + _validation = { + 'type': {'readonly': True}, + } + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + 'claims': {'key': 'claims', 'type': '[OpenAuthenticationPolicyClaim]'}, + } + + def __init__(self, *, claims=None, **kwargs) -> None: + super(OpenAuthenticationAccessPolicy, self).__init__(**kwargs) + self.type = None + self.claims = claims + + +class OpenAuthenticationPolicyClaim(Model): + """Open authentication policy claim. + + :param name: The name of the claim. + :type name: str + :param value: The value of the claim. + :type value: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'value': {'key': 'value', 'type': 'str'}, + } + + def __init__(self, *, name: str=None, value: str=None, **kwargs) -> None: + super(OpenAuthenticationPolicyClaim, self).__init__(**kwargs) + self.name = name + self.value = value + + +class Operation(Model): + """Logic REST API operation. + + :param origin: Operation: origin + :type origin: str + :param name: Operation name: {provider}/{resource}/{operation} + :type name: str + :param display: The object that represents the operation. + :type display: ~azure.mgmt.logic.models.OperationDisplay + :param properties: The properties. + :type properties: object + """ + + _attribute_map = { + 'origin': {'key': 'origin', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'display': {'key': 'display', 'type': 'OperationDisplay'}, + 'properties': {'key': 'properties', 'type': 'object'}, + } + + def __init__(self, *, origin: str=None, name: str=None, display=None, properties=None, **kwargs) -> None: + super(Operation, self).__init__(**kwargs) + self.origin = origin + self.name = name + self.display = display + self.properties = properties + + +class OperationDisplay(Model): + """The object that represents the operation. + + :param provider: Service provider: Microsoft.Logic + :type provider: str + :param resource: Resource on which the operation is performed: Profile, + endpoint, etc. + :type resource: str + :param operation: Operation type: Read, write, delete, etc. + :type operation: str + :param description: Operation: description. + :type description: str + """ + + _attribute_map = { + 'provider': {'key': 'provider', 'type': 'str'}, + 'resource': {'key': 'resource', 'type': 'str'}, + 'operation': {'key': 'operation', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + } + + def __init__(self, *, provider: str=None, resource: str=None, operation: str=None, description: str=None, **kwargs) -> None: + super(OperationDisplay, self).__init__(**kwargs) + self.provider = provider + self.resource = resource + self.operation = operation + self.description = description + + +class OperationResultProperties(Model): + """The run operation result properties. + + :param start_time: The start time of the workflow scope repetition. + :type start_time: datetime + :param end_time: The end time of the workflow scope repetition. + :type end_time: datetime + :param correlation: The correlation properties. + :type correlation: ~azure.mgmt.logic.models.RunActionCorrelation + :param status: The status of the workflow scope repetition. Possible + values include: 'NotSpecified', 'Paused', 'Running', 'Waiting', + 'Succeeded', 'Skipped', 'Suspended', 'Cancelled', 'Failed', 'Faulted', + 'TimedOut', 'Aborted', 'Ignored' + :type status: str or ~azure.mgmt.logic.models.WorkflowStatus + :param code: The workflow scope repetition code. + :type code: str + :param error: + :type error: object + """ + + _attribute_map = { + 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, + 'end_time': {'key': 'endTime', 'type': 'iso-8601'}, + 'correlation': {'key': 'correlation', 'type': 'RunActionCorrelation'}, + 'status': {'key': 'status', 'type': 'str'}, + 'code': {'key': 'code', 'type': 'str'}, + 'error': {'key': 'error', 'type': 'object'}, + } + + def __init__(self, *, start_time=None, end_time=None, correlation=None, status=None, code: str=None, error=None, **kwargs) -> None: + super(OperationResultProperties, self).__init__(**kwargs) + self.start_time = start_time + self.end_time = end_time + self.correlation = correlation + self.status = status + self.code = code + self.error = error + + +class OperationResult(OperationResultProperties): + """The operation result definition. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :param start_time: The start time of the workflow scope repetition. + :type start_time: datetime + :param end_time: The end time of the workflow scope repetition. + :type end_time: datetime + :param correlation: The correlation properties. + :type correlation: ~azure.mgmt.logic.models.RunActionCorrelation + :param status: The status of the workflow scope repetition. Possible + values include: 'NotSpecified', 'Paused', 'Running', 'Waiting', + 'Succeeded', 'Skipped', 'Suspended', 'Cancelled', 'Failed', 'Faulted', + 'TimedOut', 'Aborted', 'Ignored' + :type status: str or ~azure.mgmt.logic.models.WorkflowStatus + :param code: The workflow scope repetition code. + :type code: str + :param error: + :type error: object + :ivar tracking_id: Gets the tracking id. + :vartype tracking_id: str + :ivar inputs: Gets the inputs. + :vartype inputs: object + :ivar inputs_link: Gets the link to inputs. + :vartype inputs_link: ~azure.mgmt.logic.models.ContentLink + :ivar outputs: Gets the outputs. + :vartype outputs: object + :ivar outputs_link: Gets the link to outputs. + :vartype outputs_link: ~azure.mgmt.logic.models.ContentLink + :ivar tracked_properties: Gets the tracked properties. + :vartype tracked_properties: object + :param retry_history: Gets the retry histories. + :type retry_history: list[~azure.mgmt.logic.models.RetryHistory] + :param iteration_count: + :type iteration_count: int + """ + + _validation = { + 'tracking_id': {'readonly': True}, + 'inputs': {'readonly': True}, + 'inputs_link': {'readonly': True}, + 'outputs': {'readonly': True}, + 'outputs_link': {'readonly': True}, + 'tracked_properties': {'readonly': True}, + } + + _attribute_map = { + 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, + 'end_time': {'key': 'endTime', 'type': 'iso-8601'}, + 'correlation': {'key': 'correlation', 'type': 'RunActionCorrelation'}, + 'status': {'key': 'status', 'type': 'str'}, + 'code': {'key': 'code', 'type': 'str'}, + 'error': {'key': 'error', 'type': 'object'}, + 'tracking_id': {'key': 'trackingId', 'type': 'str'}, + 'inputs': {'key': 'inputs', 'type': 'object'}, + 'inputs_link': {'key': 'inputsLink', 'type': 'ContentLink'}, + 'outputs': {'key': 'outputs', 'type': 'object'}, + 'outputs_link': {'key': 'outputsLink', 'type': 'ContentLink'}, + 'tracked_properties': {'key': 'trackedProperties', 'type': 'object'}, + 'retry_history': {'key': 'retryHistory', 'type': '[RetryHistory]'}, + 'iteration_count': {'key': 'iterationCount', 'type': 'int'}, + } + + def __init__(self, *, start_time=None, end_time=None, correlation=None, status=None, code: str=None, error=None, retry_history=None, iteration_count: int=None, **kwargs) -> None: + super(OperationResult, self).__init__(start_time=start_time, end_time=end_time, correlation=correlation, status=status, code=code, error=error, **kwargs) + self.tracking_id = None + self.inputs = None + self.inputs_link = None + self.outputs = None + self.outputs_link = None + self.tracked_properties = None + self.retry_history = retry_history + self.iteration_count = iteration_count + + +class PartnerContent(Model): + """The integration account partner content. + + :param b2b: The B2B partner content. + :type b2b: ~azure.mgmt.logic.models.B2BPartnerContent + """ + + _attribute_map = { + 'b2b': {'key': 'b2b', 'type': 'B2BPartnerContent'}, + } + + def __init__(self, *, b2b=None, **kwargs) -> None: + super(PartnerContent, self).__init__(**kwargs) + self.b2b = b2b + + +class RecurrenceSchedule(Model): + """The recurrence schedule. + + :param minutes: The minutes. + :type minutes: list[int] + :param hours: The hours. + :type hours: list[int] + :param week_days: The days of the week. + :type week_days: list[str or ~azure.mgmt.logic.models.DaysOfWeek] + :param month_days: The month days. + :type month_days: list[int] + :param monthly_occurrences: The monthly occurrences. + :type monthly_occurrences: + list[~azure.mgmt.logic.models.RecurrenceScheduleOccurrence] + """ + + _attribute_map = { + 'minutes': {'key': 'minutes', 'type': '[int]'}, + 'hours': {'key': 'hours', 'type': '[int]'}, + 'week_days': {'key': 'weekDays', 'type': '[DaysOfWeek]'}, + 'month_days': {'key': 'monthDays', 'type': '[int]'}, + 'monthly_occurrences': {'key': 'monthlyOccurrences', 'type': '[RecurrenceScheduleOccurrence]'}, + } + + def __init__(self, *, minutes=None, hours=None, week_days=None, month_days=None, monthly_occurrences=None, **kwargs) -> None: + super(RecurrenceSchedule, self).__init__(**kwargs) + self.minutes = minutes + self.hours = hours + self.week_days = week_days + self.month_days = month_days + self.monthly_occurrences = monthly_occurrences + + +class RecurrenceScheduleOccurrence(Model): + """The recurrence schedule occurrence. + + :param day: The day of the week. Possible values include: 'Sunday', + 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday' + :type day: str or ~azure.mgmt.logic.models.DayOfWeek + :param occurrence: The occurrence. + :type occurrence: int + """ + + _attribute_map = { + 'day': {'key': 'day', 'type': 'DayOfWeek'}, + 'occurrence': {'key': 'occurrence', 'type': 'int'}, + } + + def __init__(self, *, day=None, occurrence: int=None, **kwargs) -> None: + super(RecurrenceScheduleOccurrence, self).__init__(**kwargs) + self.day = day + self.occurrence = occurrence + + +class RegenerateActionParameter(Model): + """The access key regenerate action content. + + :param key_type: The key type. Possible values include: 'NotSpecified', + 'Primary', 'Secondary' + :type key_type: str or ~azure.mgmt.logic.models.KeyType + """ + + _attribute_map = { + 'key_type': {'key': 'keyType', 'type': 'str'}, + } + + def __init__(self, *, key_type=None, **kwargs) -> None: + super(RegenerateActionParameter, self).__init__(**kwargs) + self.key_type = key_type + + +class RepetitionIndex(Model): + """The workflow run action repetition index. + + All required parameters must be populated in order to send to Azure. + + :param scope_name: The scope. + :type scope_name: str + :param item_index: Required. The index. + :type item_index: int + """ + + _validation = { + 'item_index': {'required': True}, + } + + _attribute_map = { + 'scope_name': {'key': 'scopeName', 'type': 'str'}, + 'item_index': {'key': 'itemIndex', 'type': 'int'}, + } + + def __init__(self, *, item_index: int, scope_name: str=None, **kwargs) -> None: + super(RepetitionIndex, self).__init__(**kwargs) + self.scope_name = scope_name + self.item_index = item_index + + +class Request(Model): + """A request. + + :param headers: A list of all the headers attached to the request. + :type headers: object + :param uri: The destination for the request. + :type uri: str + :param method: The HTTP method used for the request. + :type method: str + """ + + _attribute_map = { + 'headers': {'key': 'headers', 'type': 'object'}, + 'uri': {'key': 'uri', 'type': 'str'}, + 'method': {'key': 'method', 'type': 'str'}, + } + + def __init__(self, *, headers=None, uri: str=None, method: str=None, **kwargs) -> None: + super(Request, self).__init__(**kwargs) + self.headers = headers + self.uri = uri + self.method = method + + +class RequestHistory(Resource): + """The request history. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar id: The resource id. + :vartype id: str + :ivar name: Gets the resource name. + :vartype name: str + :ivar type: Gets the resource type. + :vartype type: str + :param location: The resource location. + :type location: str + :param tags: The resource tags. + :type tags: dict[str, str] + :param properties: The request history properties. + :type properties: ~azure.mgmt.logic.models.RequestHistoryProperties + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'properties': {'key': 'properties', 'type': 'RequestHistoryProperties'}, + } + + def __init__(self, *, location: str=None, tags=None, properties=None, **kwargs) -> None: + super(RequestHistory, self).__init__(location=location, tags=tags, **kwargs) + self.properties = properties + + +class RequestHistoryProperties(Model): + """The request history. + + :param start_time: The time the request started. + :type start_time: datetime + :param end_time: The time the request ended. + :type end_time: datetime + :param request: The request. + :type request: ~azure.mgmt.logic.models.Request + :param response: The response. + :type response: ~azure.mgmt.logic.models.Response + """ + + _attribute_map = { + 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, + 'end_time': {'key': 'endTime', 'type': 'iso-8601'}, + 'request': {'key': 'request', 'type': 'Request'}, + 'response': {'key': 'response', 'type': 'Response'}, + } + + def __init__(self, *, start_time=None, end_time=None, request=None, response=None, **kwargs) -> None: + super(RequestHistoryProperties, self).__init__(**kwargs) + self.start_time = start_time + self.end_time = end_time + self.request = request + self.response = response + + +class Response(Model): + """A response. + + :param headers: A list of all the headers attached to the response. + :type headers: object + :param status_code: The status code of the response. + :type status_code: int + :param body_link: Details on the location of the body content. + :type body_link: ~azure.mgmt.logic.models.ContentLink + """ + + _attribute_map = { + 'headers': {'key': 'headers', 'type': 'object'}, + 'status_code': {'key': 'statusCode', 'type': 'int'}, + 'body_link': {'key': 'bodyLink', 'type': 'ContentLink'}, + } + + def __init__(self, *, headers=None, status_code: int=None, body_link=None, **kwargs) -> None: + super(Response, self).__init__(**kwargs) + self.headers = headers + self.status_code = status_code + self.body_link = body_link + + +class RetryHistory(Model): + """The retry history. + + :param start_time: Gets the start time. + :type start_time: datetime + :param end_time: Gets the end time. + :type end_time: datetime + :param code: Gets the status code. + :type code: str + :param client_request_id: Gets the client request Id. + :type client_request_id: str + :param service_request_id: Gets the service request Id. + :type service_request_id: str + :param error: Gets the error response. + :type error: ~azure.mgmt.logic.models.ErrorResponse + """ + + _attribute_map = { + 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, + 'end_time': {'key': 'endTime', 'type': 'iso-8601'}, + 'code': {'key': 'code', 'type': 'str'}, + 'client_request_id': {'key': 'clientRequestId', 'type': 'str'}, + 'service_request_id': {'key': 'serviceRequestId', 'type': 'str'}, + 'error': {'key': 'error', 'type': 'ErrorResponse'}, + } + + def __init__(self, *, start_time=None, end_time=None, code: str=None, client_request_id: str=None, service_request_id: str=None, error=None, **kwargs) -> None: + super(RetryHistory, self).__init__(**kwargs) + self.start_time = start_time + self.end_time = end_time + self.code = code + self.client_request_id = client_request_id + self.service_request_id = service_request_id + self.error = error + + +class RunCorrelation(Model): + """The correlation properties. + + :param client_tracking_id: The client tracking identifier. + :type client_tracking_id: str + :param client_keywords: The client keywords. + :type client_keywords: list[str] + """ + + _attribute_map = { + 'client_tracking_id': {'key': 'clientTrackingId', 'type': 'str'}, + 'client_keywords': {'key': 'clientKeywords', 'type': '[str]'}, + } + + def __init__(self, *, client_tracking_id: str=None, client_keywords=None, **kwargs) -> None: + super(RunCorrelation, self).__init__(**kwargs) + self.client_tracking_id = client_tracking_id + self.client_keywords = client_keywords + + +class RunActionCorrelation(RunCorrelation): + """The workflow run action correlation properties. + + :param client_tracking_id: The client tracking identifier. + :type client_tracking_id: str + :param client_keywords: The client keywords. + :type client_keywords: list[str] + :param action_tracking_id: The action tracking identifier. + :type action_tracking_id: str + """ + + _attribute_map = { + 'client_tracking_id': {'key': 'clientTrackingId', 'type': 'str'}, + 'client_keywords': {'key': 'clientKeywords', 'type': '[str]'}, + 'action_tracking_id': {'key': 'actionTrackingId', 'type': 'str'}, + } + + def __init__(self, *, client_tracking_id: str=None, client_keywords=None, action_tracking_id: str=None, **kwargs) -> None: + super(RunActionCorrelation, self).__init__(client_tracking_id=client_tracking_id, client_keywords=client_keywords, **kwargs) + self.action_tracking_id = action_tracking_id + + +class SetTriggerStateActionDefinition(Model): + """The set trigger state action definition. + + All required parameters must be populated in order to send to Azure. + + :param source: Required. The source. + :type source: ~azure.mgmt.logic.models.WorkflowTriggerReference + """ + + _validation = { + 'source': {'required': True}, + } + + _attribute_map = { + 'source': {'key': 'source', 'type': 'WorkflowTriggerReference'}, + } + + def __init__(self, *, source, **kwargs) -> None: + super(SetTriggerStateActionDefinition, self).__init__(**kwargs) + self.source = source + + +class Sku(Model): + """The sku type. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. The name. Possible values include: 'NotSpecified', + 'Free', 'Shared', 'Basic', 'Standard', 'Premium' + :type name: str or ~azure.mgmt.logic.models.SkuName + :param plan: The reference to plan. + :type plan: ~azure.mgmt.logic.models.ResourceReference + """ + + _validation = { + 'name': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'plan': {'key': 'plan', 'type': 'ResourceReference'}, + } + + def __init__(self, *, name, plan=None, **kwargs) -> None: + super(Sku, self).__init__(**kwargs) + self.name = name + self.plan = plan + + +class SubResource(Model): + """The sub resource type. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar id: The resource id. + :vartype id: str + """ + + _validation = { + 'id': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + } + + def __init__(self, **kwargs) -> None: + super(SubResource, self).__init__(**kwargs) + self.id = None + + +class SwaggerCustomDynamicList(Model): + """The swagger custom dynamic list. + + :param operation_id: The operation id to fetch dynamic schema. + :type operation_id: str + :param built_in_operation: The built in operation. + :type built_in_operation: str + :param items_path: The path to a response property (relative to the + response object, not the response body) which contains an array of dynamic + value items. + :type items_path: str + :param item_value_path: The path to a property which defines the value + which should be used. + :type item_value_path: str + :param item_title_path: The path to an item property which defines the + display name of the item. + :type item_title_path: str + :param parameters: The parameters. + :type parameters: dict[str, + ~azure.mgmt.logic.models.SwaggerCustomDynamicProperties] + """ + + _attribute_map = { + 'operation_id': {'key': 'operationId', 'type': 'str'}, + 'built_in_operation': {'key': 'builtInOperation', 'type': 'str'}, + 'items_path': {'key': 'itemsPath', 'type': 'str'}, + 'item_value_path': {'key': 'itemValuePath', 'type': 'str'}, + 'item_title_path': {'key': 'itemTitlePath', 'type': 'str'}, + 'parameters': {'key': 'parameters', 'type': '{SwaggerCustomDynamicProperties}'}, + } + + def __init__(self, *, operation_id: str=None, built_in_operation: str=None, items_path: str=None, item_value_path: str=None, item_title_path: str=None, parameters=None, **kwargs) -> None: + super(SwaggerCustomDynamicList, self).__init__(**kwargs) + self.operation_id = operation_id + self.built_in_operation = built_in_operation + self.items_path = items_path + self.item_value_path = item_value_path + self.item_title_path = item_title_path + self.parameters = parameters + + +class SwaggerCustomDynamicProperties(Model): + """The swagger custom dynamic properties. + + :param operation_id: The operation id to fetch dynamic schema. + :type operation_id: str + :param value_path: Json pointer to the dynamic schema on the response + body. + :type value_path: str + :param parameters: The operation parameters. + :type parameters: dict[str, + ~azure.mgmt.logic.models.SwaggerCustomDynamicProperties] + """ + + _attribute_map = { + 'operation_id': {'key': 'operationId', 'type': 'str'}, + 'value_path': {'key': 'valuePath', 'type': 'str'}, + 'parameters': {'key': 'parameters', 'type': '{SwaggerCustomDynamicProperties}'}, + } + + def __init__(self, *, operation_id: str=None, value_path: str=None, parameters=None, **kwargs) -> None: + super(SwaggerCustomDynamicProperties, self).__init__(**kwargs) + self.operation_id = operation_id + self.value_path = value_path + self.parameters = parameters + + +class SwaggerCustomDynamicSchema(Model): + """The swagger custom dynamic schema. + + :param operation_id: The operation id to fetch dynamic schema. + :type operation_id: str + :param value_path: Json pointer to the dynamic schema on the response + body. + :type value_path: str + :param parameters: The operation parameters. + :type parameters: dict[str, object] + """ + + _attribute_map = { + 'operation_id': {'key': 'operationId', 'type': 'str'}, + 'value_path': {'key': 'valuePath', 'type': 'str'}, + 'parameters': {'key': 'parameters', 'type': '{object}'}, + } + + def __init__(self, *, operation_id: str=None, value_path: str=None, parameters=None, **kwargs) -> None: + super(SwaggerCustomDynamicSchema, self).__init__(**kwargs) + self.operation_id = operation_id + self.value_path = value_path + self.parameters = parameters + + +class SwaggerCustomDynamicTree(Model): + """The swagger custom dynamic tree. + + :param settings: The tree settings + :type settings: ~azure.mgmt.logic.models.SwaggerCustomDynamicTreeSettings + :param open: The tree on-open configuration + :type open: ~azure.mgmt.logic.models.SwaggerCustomDynamicTreeCommand + :param browse: The tree on-browse configuration + :type browse: ~azure.mgmt.logic.models.SwaggerCustomDynamicTreeCommand + """ + + _attribute_map = { + 'settings': {'key': 'settings', 'type': 'SwaggerCustomDynamicTreeSettings'}, + 'open': {'key': 'open', 'type': 'SwaggerCustomDynamicTreeCommand'}, + 'browse': {'key': 'browse', 'type': 'SwaggerCustomDynamicTreeCommand'}, + } + + def __init__(self, *, settings=None, open=None, browse=None, **kwargs) -> None: + super(SwaggerCustomDynamicTree, self).__init__(**kwargs) + self.settings = settings + self.open = open + self.browse = browse + + +class SwaggerCustomDynamicTreeCommand(Model): + """The swagger tree command. + + :param operation_id: The path to an item property which defines the + display name of the item. + :type operation_id: str + :param items_path: The path to an item property which defines the display + name of the item. + :type items_path: str + :param item_value_path: The path to an item property which defines the + display name of the item. + :type item_value_path: str + :param item_title_path: The path to an item property which defines the + display name of the item. + :type item_title_path: str + :param item_full_title_path: The path to an item property which defines + the display name of the item. + :type item_full_title_path: str + :param item_is_parent: The path to an item property which defines the + display name of the item. + :type item_is_parent: str + :param selectable_filter: The path to an item property which defines the + display name of the item. + :type selectable_filter: str + :param parameters: + :type parameters: dict[str, + ~azure.mgmt.logic.models.SwaggerCustomDynamicTreeParameter] + """ + + _attribute_map = { + 'operation_id': {'key': 'operationId', 'type': 'str'}, + 'items_path': {'key': 'itemsPath', 'type': 'str'}, + 'item_value_path': {'key': 'itemValuePath', 'type': 'str'}, + 'item_title_path': {'key': 'itemTitlePath', 'type': 'str'}, + 'item_full_title_path': {'key': 'itemFullTitlePath', 'type': 'str'}, + 'item_is_parent': {'key': 'itemIsParent', 'type': 'str'}, + 'selectable_filter': {'key': 'selectableFilter', 'type': 'str'}, + 'parameters': {'key': 'parameters', 'type': '{SwaggerCustomDynamicTreeParameter}'}, + } + + def __init__(self, *, operation_id: str=None, items_path: str=None, item_value_path: str=None, item_title_path: str=None, item_full_title_path: str=None, item_is_parent: str=None, selectable_filter: str=None, parameters=None, **kwargs) -> None: + super(SwaggerCustomDynamicTreeCommand, self).__init__(**kwargs) + self.operation_id = operation_id + self.items_path = items_path + self.item_value_path = item_value_path + self.item_title_path = item_title_path + self.item_full_title_path = item_full_title_path + self.item_is_parent = item_is_parent + self.selectable_filter = selectable_filter + self.parameters = parameters + + +class SwaggerCustomDynamicTreeParameter(Model): + """The swagger custom dynamic tree parameter. + + :param selected_item_value_path: Gets or sets a path to a property in the + currently selected item to pass as a value to a parameter for the given + operation. + :type selected_item_value_path: str + :param value: The parameter value. + :type value: object + :param parameter_reference: The parameter reference. + :type parameter_reference: str + :param required: Indicates whether the parameter is required. + :type required: bool + """ + + _attribute_map = { + 'selected_item_value_path': {'key': 'selectedItemValuePath', 'type': 'str'}, + 'value': {'key': 'value', 'type': 'object'}, + 'parameter_reference': {'key': 'parameterReference', 'type': 'str'}, + 'required': {'key': 'required', 'type': 'bool'}, + } + + def __init__(self, *, selected_item_value_path: str=None, value=None, parameter_reference: str=None, required: bool=None, **kwargs) -> None: + super(SwaggerCustomDynamicTreeParameter, self).__init__(**kwargs) + self.selected_item_value_path = selected_item_value_path + self.value = value + self.parameter_reference = parameter_reference + self.required = required + + +class SwaggerCustomDynamicTreeSettings(Model): + """The swagger custom dynamic tree settings. + + :param can_select_parent_nodes: Indicates whether parent nodes can be + selected. + :type can_select_parent_nodes: bool + :param can_select_leaf_nodes: Indicates whether leaf nodes can be + selected. + :type can_select_leaf_nodes: bool + """ + + _attribute_map = { + 'can_select_parent_nodes': {'key': 'CanSelectParentNodes', 'type': 'bool'}, + 'can_select_leaf_nodes': {'key': 'CanSelectLeafNodes', 'type': 'bool'}, + } + + def __init__(self, *, can_select_parent_nodes: bool=None, can_select_leaf_nodes: bool=None, **kwargs) -> None: + super(SwaggerCustomDynamicTreeSettings, self).__init__(**kwargs) + self.can_select_parent_nodes = can_select_parent_nodes + self.can_select_leaf_nodes = can_select_leaf_nodes + + +class SwaggerExternalDocumentation(Model): + """The swagger external documentation. + + :param description: The document description. + :type description: str + :param uri: The documentation Uri. + :type uri: str + :param extensions: The vendor extensions. + :type extensions: dict[str, object] + """ + + _attribute_map = { + 'description': {'key': 'description', 'type': 'str'}, + 'uri': {'key': 'uri', 'type': 'str'}, + 'extensions': {'key': 'extensions', 'type': '{object}'}, + } + + def __init__(self, *, description: str=None, uri: str=None, extensions=None, **kwargs) -> None: + super(SwaggerExternalDocumentation, self).__init__(**kwargs) + self.description = description + self.uri = uri + self.extensions = extensions + + +class SwaggerSchema(Model): + """The swagger schema. + + :param ref: The reference. + :type ref: str + :param type: The type. Possible values include: 'String', 'Number', + 'Integer', 'Boolean', 'Array', 'File', 'Object', 'Null' + :type type: str or ~azure.mgmt.logic.models.SwaggerSchemaType + :param title: The title. + :type title: str + :param items: The items schema. + :type items: ~azure.mgmt.logic.models.SwaggerSchema + :param properties: The object properties + :type properties: dict[str, ~azure.mgmt.logic.models.SwaggerSchema] + :param additional_properties: The additional properties. + :type additional_properties: object + :param required: The object required properties. + :type required: list[str] + :param max_properties: The maximum number of allowed properties. + :type max_properties: int + :param min_properties: The minimum number of allowed properties. + :type min_properties: int + :param all_of: The schemas which must pass validation when this schema is + used. + :type all_of: list[~azure.mgmt.logic.models.SwaggerSchema] + :param discriminator: The discriminator. + :type discriminator: str + :param read_only: Indicates whether this property must be present in the a + request. + :type read_only: bool + :param xml: The xml representation format for a property. + :type xml: ~azure.mgmt.logic.models.SwaggerXml + :param external_docs: The external documentation. + :type external_docs: ~azure.mgmt.logic.models.SwaggerExternalDocumentation + :param example: The example value. + :type example: object + :param notification_url_extension: Indicates the notification url + extension. If this is set, the property's value should be a callback url + for a webhook. + :type notification_url_extension: bool + :param dynamic_schema_old: The dynamic schema configuration. + :type dynamic_schema_old: + ~azure.mgmt.logic.models.SwaggerCustomDynamicSchema + :param dynamic_schema_new: The dynamic schema configuration. + :type dynamic_schema_new: + ~azure.mgmt.logic.models.SwaggerCustomDynamicProperties + :param dynamic_list_new: The dynamic list. + :type dynamic_list_new: ~azure.mgmt.logic.models.SwaggerCustomDynamicList + :param dynamic_tree: The dynamic values tree configuration. + :type dynamic_tree: ~azure.mgmt.logic.models.SwaggerCustomDynamicTree + """ + + _attribute_map = { + 'ref': {'key': 'ref', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'title': {'key': 'title', 'type': 'str'}, + 'items': {'key': 'items', 'type': 'SwaggerSchema'}, + 'properties': {'key': 'properties', 'type': '{SwaggerSchema}'}, + 'additional_properties': {'key': 'additionalProperties', 'type': 'object'}, + 'required': {'key': 'required', 'type': '[str]'}, + 'max_properties': {'key': 'maxProperties', 'type': 'int'}, + 'min_properties': {'key': 'minProperties', 'type': 'int'}, + 'all_of': {'key': 'allOf', 'type': '[SwaggerSchema]'}, + 'discriminator': {'key': 'discriminator', 'type': 'str'}, + 'read_only': {'key': 'readOnly', 'type': 'bool'}, + 'xml': {'key': 'xml', 'type': 'SwaggerXml'}, + 'external_docs': {'key': 'externalDocs', 'type': 'SwaggerExternalDocumentation'}, + 'example': {'key': 'example', 'type': 'object'}, + 'notification_url_extension': {'key': 'notificationUrlExtension', 'type': 'bool'}, + 'dynamic_schema_old': {'key': 'dynamicSchemaOld', 'type': 'SwaggerCustomDynamicSchema'}, + 'dynamic_schema_new': {'key': 'dynamicSchemaNew', 'type': 'SwaggerCustomDynamicProperties'}, + 'dynamic_list_new': {'key': 'dynamicListNew', 'type': 'SwaggerCustomDynamicList'}, + 'dynamic_tree': {'key': 'dynamicTree', 'type': 'SwaggerCustomDynamicTree'}, + } + + def __init__(self, *, ref: str=None, type=None, title: str=None, items=None, properties=None, additional_properties=None, required=None, max_properties: int=None, min_properties: int=None, all_of=None, discriminator: str=None, read_only: bool=None, xml=None, external_docs=None, example=None, notification_url_extension: bool=None, dynamic_schema_old=None, dynamic_schema_new=None, dynamic_list_new=None, dynamic_tree=None, **kwargs) -> None: + super(SwaggerSchema, self).__init__(**kwargs) + self.ref = ref + self.type = type + self.title = title + self.items = items + self.properties = properties + self.additional_properties = additional_properties + self.required = required + self.max_properties = max_properties + self.min_properties = min_properties + self.all_of = all_of + self.discriminator = discriminator + self.read_only = read_only + self.xml = xml + self.external_docs = external_docs + self.example = example + self.notification_url_extension = notification_url_extension + self.dynamic_schema_old = dynamic_schema_old + self.dynamic_schema_new = dynamic_schema_new + self.dynamic_list_new = dynamic_list_new + self.dynamic_tree = dynamic_tree + + +class SwaggerXml(Model): + """The Swagger XML. + + :param name: The xml element or attribute name. + :type name: str + :param namespace: The xml namespace. + :type namespace: str + :param prefix: The name prefix. + :type prefix: str + :param attribute: Indicates whether the property should be an attribute + instead of an element. + :type attribute: bool + :param wrapped: Indicates whether the array elements are wrapped in a + container element. + :type wrapped: bool + :param extensions: The vendor extensions. + :type extensions: dict[str, object] + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'namespace': {'key': 'namespace', 'type': 'str'}, + 'prefix': {'key': 'prefix', 'type': 'str'}, + 'attribute': {'key': 'attribute', 'type': 'bool'}, + 'wrapped': {'key': 'wrapped', 'type': 'bool'}, + 'extensions': {'key': 'extensions', 'type': '{object}'}, + } + + def __init__(self, *, name: str=None, namespace: str=None, prefix: str=None, attribute: bool=None, wrapped: bool=None, extensions=None, **kwargs) -> None: + super(SwaggerXml, self).__init__(**kwargs) + self.name = name + self.namespace = namespace + self.prefix = prefix + self.attribute = attribute + self.wrapped = wrapped + self.extensions = extensions + + +class TrackingEvent(Model): + """The tracking event. + + All required parameters must be populated in order to send to Azure. + + :param event_level: Required. The event level. Possible values include: + 'LogAlways', 'Critical', 'Error', 'Warning', 'Informational', 'Verbose' + :type event_level: str or ~azure.mgmt.logic.models.EventLevel + :param event_time: Required. The event time. + :type event_time: datetime + :param record_type: Required. The record type. Possible values include: + 'NotSpecified', 'Custom', 'AS2Message', 'AS2MDN', 'X12Interchange', + 'X12FunctionalGroup', 'X12TransactionSet', 'X12InterchangeAcknowledgment', + 'X12FunctionalGroupAcknowledgment', 'X12TransactionSetAcknowledgment', + 'EdifactInterchange', 'EdifactFunctionalGroup', 'EdifactTransactionSet', + 'EdifactInterchangeAcknowledgment', + 'EdifactFunctionalGroupAcknowledgment', + 'EdifactTransactionSetAcknowledgment' + :type record_type: str or ~azure.mgmt.logic.models.TrackingRecordType + :param record: The record. + :type record: object + :param error: The error. + :type error: ~azure.mgmt.logic.models.TrackingEventErrorInfo + """ + + _validation = { + 'event_level': {'required': True}, + 'event_time': {'required': True}, + 'record_type': {'required': True}, + } + + _attribute_map = { + 'event_level': {'key': 'eventLevel', 'type': 'EventLevel'}, + 'event_time': {'key': 'eventTime', 'type': 'iso-8601'}, + 'record_type': {'key': 'recordType', 'type': 'str'}, + 'record': {'key': 'record', 'type': 'object'}, + 'error': {'key': 'error', 'type': 'TrackingEventErrorInfo'}, + } + + def __init__(self, *, event_level, event_time, record_type, record=None, error=None, **kwargs) -> None: + super(TrackingEvent, self).__init__(**kwargs) + self.event_level = event_level + self.event_time = event_time + self.record_type = record_type + self.record = record + self.error = error + + +class TrackingEventErrorInfo(Model): + """The tracking event error info. + + :param message: The message. + :type message: str + :param code: The code. + :type code: str + """ + + _attribute_map = { + 'message': {'key': 'message', 'type': 'str'}, + 'code': {'key': 'code', 'type': 'str'}, + } + + def __init__(self, *, message: str=None, code: str=None, **kwargs) -> None: + super(TrackingEventErrorInfo, self).__init__(**kwargs) + self.message = message + self.code = code + + +class TrackingEventsDefinition(Model): + """The tracking events definition. + + All required parameters must be populated in order to send to Azure. + + :param source_type: Required. The source type. + :type source_type: str + :param track_events_options: The track events options. Possible values + include: 'None', 'DisableSourceInfoEnrich' + :type track_events_options: str or + ~azure.mgmt.logic.models.TrackEventsOperationOptions + :param events: Required. The events. + :type events: list[~azure.mgmt.logic.models.TrackingEvent] + """ + + _validation = { + 'source_type': {'required': True}, + 'events': {'required': True}, + } + + _attribute_map = { + 'source_type': {'key': 'sourceType', 'type': 'str'}, + 'track_events_options': {'key': 'trackEventsOptions', 'type': 'str'}, + 'events': {'key': 'events', 'type': '[TrackingEvent]'}, + } + + def __init__(self, *, source_type: str, events, track_events_options=None, **kwargs) -> None: + super(TrackingEventsDefinition, self).__init__(**kwargs) + self.source_type = source_type + self.track_events_options = track_events_options + self.events = events + + +class Workflow(Resource): + """The workflow type. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar id: The resource id. + :vartype id: str + :ivar name: Gets the resource name. + :vartype name: str + :ivar type: Gets the resource type. + :vartype type: str + :param location: The resource location. + :type location: str + :param tags: The resource tags. + :type tags: dict[str, str] + :ivar provisioning_state: Gets the provisioning state. Possible values + include: 'NotSpecified', 'Accepted', 'Running', 'Ready', 'Creating', + 'Created', 'Deleting', 'Deleted', 'Canceled', 'Failed', 'Succeeded', + 'Moving', 'Updating', 'Registering', 'Registered', 'Unregistering', + 'Unregistered', 'Completed', 'Renewing', 'Pending', 'Waiting', + 'InProgress' + :vartype provisioning_state: str or + ~azure.mgmt.logic.models.WorkflowProvisioningState + :ivar created_time: Gets the created time. + :vartype created_time: datetime + :ivar changed_time: Gets the changed time. + :vartype changed_time: datetime + :param state: The state. Possible values include: 'NotSpecified', + 'Completed', 'Enabled', 'Disabled', 'Deleted', 'Suspended' + :type state: str or ~azure.mgmt.logic.models.WorkflowState + :ivar version: Gets the version. + :vartype version: str + :ivar access_endpoint: Gets the access endpoint. + :vartype access_endpoint: str + :param endpoints_configuration: The endpoints configuration. + :type endpoints_configuration: + ~azure.mgmt.logic.models.FlowEndpointsConfiguration + :param access_control: The access control configuration. + :type access_control: + ~azure.mgmt.logic.models.FlowAccessControlConfiguration + :ivar sku: The sku. + :vartype sku: ~azure.mgmt.logic.models.Sku + :param integration_account: The integration account. + :type integration_account: ~azure.mgmt.logic.models.ResourceReference + :param integration_service_environment: The integration service + environment. + :type integration_service_environment: + ~azure.mgmt.logic.models.ResourceReference + :param definition: The definition. + :type definition: object + :param parameters: The parameters. + :type parameters: dict[str, ~azure.mgmt.logic.models.WorkflowParameter] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'created_time': {'readonly': True}, + 'changed_time': {'readonly': True}, + 'version': {'readonly': True}, + 'access_endpoint': {'readonly': True}, + 'sku': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'created_time': {'key': 'properties.createdTime', 'type': 'iso-8601'}, + 'changed_time': {'key': 'properties.changedTime', 'type': 'iso-8601'}, + 'state': {'key': 'properties.state', 'type': 'str'}, + 'version': {'key': 'properties.version', 'type': 'str'}, + 'access_endpoint': {'key': 'properties.accessEndpoint', 'type': 'str'}, + 'endpoints_configuration': {'key': 'properties.endpointsConfiguration', 'type': 'FlowEndpointsConfiguration'}, + 'access_control': {'key': 'properties.accessControl', 'type': 'FlowAccessControlConfiguration'}, + 'sku': {'key': 'properties.sku', 'type': 'Sku'}, + 'integration_account': {'key': 'properties.integrationAccount', 'type': 'ResourceReference'}, + 'integration_service_environment': {'key': 'properties.integrationServiceEnvironment', 'type': 'ResourceReference'}, + 'definition': {'key': 'properties.definition', 'type': 'object'}, + 'parameters': {'key': 'properties.parameters', 'type': '{WorkflowParameter}'}, + } + + def __init__(self, *, location: str=None, tags=None, state=None, endpoints_configuration=None, access_control=None, integration_account=None, integration_service_environment=None, definition=None, parameters=None, **kwargs) -> None: + super(Workflow, self).__init__(location=location, tags=tags, **kwargs) + self.provisioning_state = None + self.created_time = None + self.changed_time = None + self.state = state + self.version = None + self.access_endpoint = None + self.endpoints_configuration = endpoints_configuration + self.access_control = access_control + self.sku = None + self.integration_account = integration_account + self.integration_service_environment = integration_service_environment + self.definition = definition + self.parameters = parameters + + +class WorkflowFilter(Model): + """The workflow filter. + + :param state: The state of workflows. Possible values include: + 'NotSpecified', 'Completed', 'Enabled', 'Disabled', 'Deleted', 'Suspended' + :type state: str or ~azure.mgmt.logic.models.WorkflowState + """ + + _attribute_map = { + 'state': {'key': 'state', 'type': 'str'}, + } + + def __init__(self, *, state=None, **kwargs) -> None: + super(WorkflowFilter, self).__init__(**kwargs) + self.state = state + + +class WorkflowParameter(Model): + """The workflow parameters. + + :param type: The type. Possible values include: 'NotSpecified', 'String', + 'SecureString', 'Int', 'Float', 'Bool', 'Array', 'Object', 'SecureObject' + :type type: str or ~azure.mgmt.logic.models.ParameterType + :param value: The value. + :type value: object + :param metadata: The metadata. + :type metadata: object + :param description: The description. + :type description: str + """ + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + 'value': {'key': 'value', 'type': 'object'}, + 'metadata': {'key': 'metadata', 'type': 'object'}, + 'description': {'key': 'description', 'type': 'str'}, + } + + def __init__(self, *, type=None, value=None, metadata=None, description: str=None, **kwargs) -> None: + super(WorkflowParameter, self).__init__(**kwargs) + self.type = type + self.value = value + self.metadata = metadata + self.description = description + + +class WorkflowOutputParameter(WorkflowParameter): + """The workflow output parameter. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :param type: The type. Possible values include: 'NotSpecified', 'String', + 'SecureString', 'Int', 'Float', 'Bool', 'Array', 'Object', 'SecureObject' + :type type: str or ~azure.mgmt.logic.models.ParameterType + :param value: The value. + :type value: object + :param metadata: The metadata. + :type metadata: object + :param description: The description. + :type description: str + :ivar error: Gets the error. + :vartype error: object + """ + + _validation = { + 'error': {'readonly': True}, + } + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + 'value': {'key': 'value', 'type': 'object'}, + 'metadata': {'key': 'metadata', 'type': 'object'}, + 'description': {'key': 'description', 'type': 'str'}, + 'error': {'key': 'error', 'type': 'object'}, + } + + def __init__(self, *, type=None, value=None, metadata=None, description: str=None, **kwargs) -> None: + super(WorkflowOutputParameter, self).__init__(type=type, value=value, metadata=metadata, description=description, **kwargs) + self.error = None + + +class WorkflowReference(ResourceReference): + """The workflow reference. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :param id: The resource id. + :type id: str + :ivar name: Gets the resource name. + :vartype name: str + :ivar type: Gets the resource type. + :vartype type: str + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__(self, *, id: str=None, **kwargs) -> None: + super(WorkflowReference, self).__init__(id=id, **kwargs) + + +class WorkflowRun(SubResource): + """The workflow run. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar id: The resource id. + :vartype id: str + :ivar wait_end_time: Gets the wait end time. + :vartype wait_end_time: datetime + :ivar start_time: Gets the start time. + :vartype start_time: datetime + :ivar end_time: Gets the end time. + :vartype end_time: datetime + :ivar status: Gets the status. Possible values include: 'NotSpecified', + 'Paused', 'Running', 'Waiting', 'Succeeded', 'Skipped', 'Suspended', + 'Cancelled', 'Failed', 'Faulted', 'TimedOut', 'Aborted', 'Ignored' + :vartype status: str or ~azure.mgmt.logic.models.WorkflowStatus + :ivar code: Gets the code. + :vartype code: str + :ivar error: Gets the error. + :vartype error: object + :ivar correlation_id: Gets the correlation id. + :vartype correlation_id: str + :param correlation: The run correlation. + :type correlation: ~azure.mgmt.logic.models.Correlation + :ivar workflow: Gets the reference to workflow version. + :vartype workflow: ~azure.mgmt.logic.models.ResourceReference + :ivar trigger: Gets the fired trigger. + :vartype trigger: ~azure.mgmt.logic.models.WorkflowRunTrigger + :ivar outputs: Gets the outputs. + :vartype outputs: dict[str, + ~azure.mgmt.logic.models.WorkflowOutputParameter] + :ivar response: Gets the response of the flow run. + :vartype response: ~azure.mgmt.logic.models.WorkflowRunTrigger + :ivar name: Gets the workflow run name. + :vartype name: str + :ivar type: Gets the workflow run type. + :vartype type: str + """ + + _validation = { + 'id': {'readonly': True}, + 'wait_end_time': {'readonly': True}, + 'start_time': {'readonly': True}, + 'end_time': {'readonly': True}, + 'status': {'readonly': True}, + 'code': {'readonly': True}, + 'error': {'readonly': True}, + 'correlation_id': {'readonly': True}, + 'workflow': {'readonly': True}, + 'trigger': {'readonly': True}, + 'outputs': {'readonly': True}, + 'response': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'wait_end_time': {'key': 'properties.waitEndTime', 'type': 'iso-8601'}, + 'start_time': {'key': 'properties.startTime', 'type': 'iso-8601'}, + 'end_time': {'key': 'properties.endTime', 'type': 'iso-8601'}, + 'status': {'key': 'properties.status', 'type': 'str'}, + 'code': {'key': 'properties.code', 'type': 'str'}, + 'error': {'key': 'properties.error', 'type': 'object'}, + 'correlation_id': {'key': 'properties.correlationId', 'type': 'str'}, + 'correlation': {'key': 'properties.correlation', 'type': 'Correlation'}, + 'workflow': {'key': 'properties.workflow', 'type': 'ResourceReference'}, + 'trigger': {'key': 'properties.trigger', 'type': 'WorkflowRunTrigger'}, + 'outputs': {'key': 'properties.outputs', 'type': '{WorkflowOutputParameter}'}, + 'response': {'key': 'properties.response', 'type': 'WorkflowRunTrigger'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__(self, *, correlation=None, **kwargs) -> None: + super(WorkflowRun, self).__init__(**kwargs) + self.wait_end_time = None + self.start_time = None + self.end_time = None + self.status = None + self.code = None + self.error = None + self.correlation_id = None + self.correlation = correlation + self.workflow = None + self.trigger = None + self.outputs = None + self.response = None + self.name = None + self.type = None + + +class WorkflowRunAction(SubResource): + """The workflow run action. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar id: The resource id. + :vartype id: str + :ivar start_time: Gets the start time. + :vartype start_time: datetime + :ivar end_time: Gets the end time. + :vartype end_time: datetime + :ivar status: Gets the status. Possible values include: 'NotSpecified', + 'Paused', 'Running', 'Waiting', 'Succeeded', 'Skipped', 'Suspended', + 'Cancelled', 'Failed', 'Faulted', 'TimedOut', 'Aborted', 'Ignored' + :vartype status: str or ~azure.mgmt.logic.models.WorkflowStatus + :ivar code: Gets the code. + :vartype code: str + :ivar error: Gets the error. + :vartype error: object + :ivar tracking_id: Gets the tracking id. + :vartype tracking_id: str + :param correlation: The correlation properties. + :type correlation: ~azure.mgmt.logic.models.RunActionCorrelation + :ivar inputs_link: Gets the link to inputs. + :vartype inputs_link: ~azure.mgmt.logic.models.ContentLink + :ivar outputs_link: Gets the link to outputs. + :vartype outputs_link: ~azure.mgmt.logic.models.ContentLink + :ivar tracked_properties: Gets the tracked properties. + :vartype tracked_properties: object + :param retry_history: Gets the retry histories. + :type retry_history: list[~azure.mgmt.logic.models.RetryHistory] + :ivar name: Gets the workflow run action name. + :vartype name: str + :ivar type: Gets the workflow run action type. + :vartype type: str + """ + + _validation = { + 'id': {'readonly': True}, + 'start_time': {'readonly': True}, + 'end_time': {'readonly': True}, + 'status': {'readonly': True}, + 'code': {'readonly': True}, + 'error': {'readonly': True}, + 'tracking_id': {'readonly': True}, + 'inputs_link': {'readonly': True}, + 'outputs_link': {'readonly': True}, + 'tracked_properties': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'start_time': {'key': 'properties.startTime', 'type': 'iso-8601'}, + 'end_time': {'key': 'properties.endTime', 'type': 'iso-8601'}, + 'status': {'key': 'properties.status', 'type': 'str'}, + 'code': {'key': 'properties.code', 'type': 'str'}, + 'error': {'key': 'properties.error', 'type': 'object'}, + 'tracking_id': {'key': 'properties.trackingId', 'type': 'str'}, + 'correlation': {'key': 'properties.correlation', 'type': 'RunActionCorrelation'}, + 'inputs_link': {'key': 'properties.inputsLink', 'type': 'ContentLink'}, + 'outputs_link': {'key': 'properties.outputsLink', 'type': 'ContentLink'}, + 'tracked_properties': {'key': 'properties.trackedProperties', 'type': 'object'}, + 'retry_history': {'key': 'properties.retryHistory', 'type': '[RetryHistory]'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__(self, *, correlation=None, retry_history=None, **kwargs) -> None: + super(WorkflowRunAction, self).__init__(**kwargs) + self.start_time = None + self.end_time = None + self.status = None + self.code = None + self.error = None + self.tracking_id = None + self.correlation = correlation + self.inputs_link = None + self.outputs_link = None + self.tracked_properties = None + self.retry_history = retry_history + self.name = None + self.type = None + + +class WorkflowRunActionFilter(Model): + """The workflow run action filter. + + :param status: The status of workflow run action. Possible values include: + 'NotSpecified', 'Paused', 'Running', 'Waiting', 'Succeeded', 'Skipped', + 'Suspended', 'Cancelled', 'Failed', 'Faulted', 'TimedOut', 'Aborted', + 'Ignored' + :type status: str or ~azure.mgmt.logic.models.WorkflowStatus + """ + + _attribute_map = { + 'status': {'key': 'status', 'type': 'str'}, + } + + def __init__(self, *, status=None, **kwargs) -> None: + super(WorkflowRunActionFilter, self).__init__(**kwargs) + self.status = status + + +class WorkflowRunActionRepetitionDefinition(Resource): + """The workflow run action repetition definition. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar id: The resource id. + :vartype id: str + :ivar name: Gets the resource name. + :vartype name: str + :ivar type: Gets the resource type. + :vartype type: str + :param location: The resource location. + :type location: str + :param tags: The resource tags. + :type tags: dict[str, str] + :param start_time: The start time of the workflow scope repetition. + :type start_time: datetime + :param end_time: The end time of the workflow scope repetition. + :type end_time: datetime + :param correlation: The correlation properties. + :type correlation: ~azure.mgmt.logic.models.RunActionCorrelation + :param status: The status of the workflow scope repetition. Possible + values include: 'NotSpecified', 'Paused', 'Running', 'Waiting', + 'Succeeded', 'Skipped', 'Suspended', 'Cancelled', 'Failed', 'Faulted', + 'TimedOut', 'Aborted', 'Ignored' + :type status: str or ~azure.mgmt.logic.models.WorkflowStatus + :param code: The workflow scope repetition code. + :type code: str + :param error: + :type error: object + :ivar tracking_id: Gets the tracking id. + :vartype tracking_id: str + :ivar inputs: Gets the inputs. + :vartype inputs: object + :ivar inputs_link: Gets the link to inputs. + :vartype inputs_link: ~azure.mgmt.logic.models.ContentLink + :ivar outputs: Gets the outputs. + :vartype outputs: object + :ivar outputs_link: Gets the link to outputs. + :vartype outputs_link: ~azure.mgmt.logic.models.ContentLink + :ivar tracked_properties: Gets the tracked properties. + :vartype tracked_properties: object + :param retry_history: Gets the retry histories. + :type retry_history: list[~azure.mgmt.logic.models.RetryHistory] + :param iteration_count: + :type iteration_count: int + :param repetition_indexes: The repetition indexes. + :type repetition_indexes: list[~azure.mgmt.logic.models.RepetitionIndex] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'tracking_id': {'readonly': True}, + 'inputs': {'readonly': True}, + 'inputs_link': {'readonly': True}, + 'outputs': {'readonly': True}, + 'outputs_link': {'readonly': True}, + 'tracked_properties': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'start_time': {'key': 'properties.startTime', 'type': 'iso-8601'}, + 'end_time': {'key': 'properties.endTime', 'type': 'iso-8601'}, + 'correlation': {'key': 'properties.correlation', 'type': 'RunActionCorrelation'}, + 'status': {'key': 'properties.status', 'type': 'str'}, + 'code': {'key': 'properties.code', 'type': 'str'}, + 'error': {'key': 'properties.error', 'type': 'object'}, + 'tracking_id': {'key': 'properties.trackingId', 'type': 'str'}, + 'inputs': {'key': 'properties.inputs', 'type': 'object'}, + 'inputs_link': {'key': 'properties.inputsLink', 'type': 'ContentLink'}, + 'outputs': {'key': 'properties.outputs', 'type': 'object'}, + 'outputs_link': {'key': 'properties.outputsLink', 'type': 'ContentLink'}, + 'tracked_properties': {'key': 'properties.trackedProperties', 'type': 'object'}, + 'retry_history': {'key': 'properties.retryHistory', 'type': '[RetryHistory]'}, + 'iteration_count': {'key': 'properties.iterationCount', 'type': 'int'}, + 'repetition_indexes': {'key': 'properties.repetitionIndexes', 'type': '[RepetitionIndex]'}, + } + + def __init__(self, *, location: str=None, tags=None, start_time=None, end_time=None, correlation=None, status=None, code: str=None, error=None, retry_history=None, iteration_count: int=None, repetition_indexes=None, **kwargs) -> None: + super(WorkflowRunActionRepetitionDefinition, self).__init__(location=location, tags=tags, **kwargs) + self.start_time = start_time + self.end_time = end_time + self.correlation = correlation + self.status = status + self.code = code + self.error = error + self.tracking_id = None + self.inputs = None + self.inputs_link = None + self.outputs = None + self.outputs_link = None + self.tracked_properties = None + self.retry_history = retry_history + self.iteration_count = iteration_count + self.repetition_indexes = repetition_indexes + + +class WorkflowRunFilter(Model): + """The workflow run filter. + + :param status: The status of workflow run. Possible values include: + 'NotSpecified', 'Paused', 'Running', 'Waiting', 'Succeeded', 'Skipped', + 'Suspended', 'Cancelled', 'Failed', 'Faulted', 'TimedOut', 'Aborted', + 'Ignored' + :type status: str or ~azure.mgmt.logic.models.WorkflowStatus + """ + + _attribute_map = { + 'status': {'key': 'status', 'type': 'str'}, + } + + def __init__(self, *, status=None, **kwargs) -> None: + super(WorkflowRunFilter, self).__init__(**kwargs) + self.status = status + + +class WorkflowRunTrigger(Model): + """The workflow run trigger. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar name: Gets the name. + :vartype name: str + :ivar inputs: Gets the inputs. + :vartype inputs: object + :ivar inputs_link: Gets the link to inputs. + :vartype inputs_link: ~azure.mgmt.logic.models.ContentLink + :ivar outputs: Gets the outputs. + :vartype outputs: object + :ivar outputs_link: Gets the link to outputs. + :vartype outputs_link: ~azure.mgmt.logic.models.ContentLink + :ivar scheduled_time: Gets the scheduled time. + :vartype scheduled_time: datetime + :ivar start_time: Gets the start time. + :vartype start_time: datetime + :ivar end_time: Gets the end time. + :vartype end_time: datetime + :ivar tracking_id: Gets the tracking id. + :vartype tracking_id: str + :param correlation: The run correlation. + :type correlation: ~azure.mgmt.logic.models.Correlation + :ivar code: Gets the code. + :vartype code: str + :ivar status: Gets the status. Possible values include: 'NotSpecified', + 'Paused', 'Running', 'Waiting', 'Succeeded', 'Skipped', 'Suspended', + 'Cancelled', 'Failed', 'Faulted', 'TimedOut', 'Aborted', 'Ignored' + :vartype status: str or ~azure.mgmt.logic.models.WorkflowStatus + :ivar error: Gets the error. + :vartype error: object + :ivar tracked_properties: Gets the tracked properties. + :vartype tracked_properties: object + """ + + _validation = { + 'name': {'readonly': True}, + 'inputs': {'readonly': True}, + 'inputs_link': {'readonly': True}, + 'outputs': {'readonly': True}, + 'outputs_link': {'readonly': True}, + 'scheduled_time': {'readonly': True}, + 'start_time': {'readonly': True}, + 'end_time': {'readonly': True}, + 'tracking_id': {'readonly': True}, + 'code': {'readonly': True}, + 'status': {'readonly': True}, + 'error': {'readonly': True}, + 'tracked_properties': {'readonly': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'inputs': {'key': 'inputs', 'type': 'object'}, + 'inputs_link': {'key': 'inputsLink', 'type': 'ContentLink'}, + 'outputs': {'key': 'outputs', 'type': 'object'}, + 'outputs_link': {'key': 'outputsLink', 'type': 'ContentLink'}, + 'scheduled_time': {'key': 'scheduledTime', 'type': 'iso-8601'}, + 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, + 'end_time': {'key': 'endTime', 'type': 'iso-8601'}, + 'tracking_id': {'key': 'trackingId', 'type': 'str'}, + 'correlation': {'key': 'correlation', 'type': 'Correlation'}, + 'code': {'key': 'code', 'type': 'str'}, + 'status': {'key': 'status', 'type': 'str'}, + 'error': {'key': 'error', 'type': 'object'}, + 'tracked_properties': {'key': 'trackedProperties', 'type': 'object'}, + } + + def __init__(self, *, correlation=None, **kwargs) -> None: + super(WorkflowRunTrigger, self).__init__(**kwargs) + self.name = None + self.inputs = None + self.inputs_link = None + self.outputs = None + self.outputs_link = None + self.scheduled_time = None + self.start_time = None + self.end_time = None + self.tracking_id = None + self.correlation = correlation + self.code = None + self.status = None + self.error = None + self.tracked_properties = None + + +class WorkflowTrigger(SubResource): + """The workflow trigger. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar id: The resource id. + :vartype id: str + :ivar provisioning_state: Gets the provisioning state. Possible values + include: 'NotSpecified', 'Accepted', 'Running', 'Ready', 'Creating', + 'Created', 'Deleting', 'Deleted', 'Canceled', 'Failed', 'Succeeded', + 'Moving', 'Updating', 'Registering', 'Registered', 'Unregistering', + 'Unregistered', 'Completed' + :vartype provisioning_state: str or + ~azure.mgmt.logic.models.WorkflowTriggerProvisioningState + :ivar created_time: Gets the created time. + :vartype created_time: datetime + :ivar changed_time: Gets the changed time. + :vartype changed_time: datetime + :ivar state: Gets the state. Possible values include: 'NotSpecified', + 'Completed', 'Enabled', 'Disabled', 'Deleted', 'Suspended' + :vartype state: str or ~azure.mgmt.logic.models.WorkflowState + :ivar status: Gets the status. Possible values include: 'NotSpecified', + 'Paused', 'Running', 'Waiting', 'Succeeded', 'Skipped', 'Suspended', + 'Cancelled', 'Failed', 'Faulted', 'TimedOut', 'Aborted', 'Ignored' + :vartype status: str or ~azure.mgmt.logic.models.WorkflowStatus + :ivar last_execution_time: Gets the last execution time. + :vartype last_execution_time: datetime + :ivar next_execution_time: Gets the next execution time. + :vartype next_execution_time: datetime + :ivar recurrence: Gets the workflow trigger recurrence. + :vartype recurrence: ~azure.mgmt.logic.models.WorkflowTriggerRecurrence + :ivar workflow: Gets the reference to workflow. + :vartype workflow: ~azure.mgmt.logic.models.ResourceReference + :ivar name: Gets the workflow trigger name. + :vartype name: str + :ivar type: Gets the workflow trigger type. + :vartype type: str + """ + + _validation = { + 'id': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'created_time': {'readonly': True}, + 'changed_time': {'readonly': True}, + 'state': {'readonly': True}, + 'status': {'readonly': True}, + 'last_execution_time': {'readonly': True}, + 'next_execution_time': {'readonly': True}, + 'recurrence': {'readonly': True}, + 'workflow': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'created_time': {'key': 'properties.createdTime', 'type': 'iso-8601'}, + 'changed_time': {'key': 'properties.changedTime', 'type': 'iso-8601'}, + 'state': {'key': 'properties.state', 'type': 'str'}, + 'status': {'key': 'properties.status', 'type': 'str'}, + 'last_execution_time': {'key': 'properties.lastExecutionTime', 'type': 'iso-8601'}, + 'next_execution_time': {'key': 'properties.nextExecutionTime', 'type': 'iso-8601'}, + 'recurrence': {'key': 'properties.recurrence', 'type': 'WorkflowTriggerRecurrence'}, + 'workflow': {'key': 'properties.workflow', 'type': 'ResourceReference'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__(self, **kwargs) -> None: + super(WorkflowTrigger, self).__init__(**kwargs) + self.provisioning_state = None + self.created_time = None + self.changed_time = None + self.state = None + self.status = None + self.last_execution_time = None + self.next_execution_time = None + self.recurrence = None + self.workflow = None + self.name = None + self.type = None + + +class WorkflowTriggerCallbackUrl(Model): + """The workflow trigger callback URL. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar value: Gets the workflow trigger callback URL. + :vartype value: str + :ivar method: Gets the workflow trigger callback URL HTTP method. + :vartype method: str + :ivar base_path: Gets the workflow trigger callback URL base path. + :vartype base_path: str + :ivar relative_path: Gets the workflow trigger callback URL relative path. + :vartype relative_path: str + :param relative_path_parameters: Gets the workflow trigger callback URL + relative path parameters. + :type relative_path_parameters: list[str] + :param queries: Gets the workflow trigger callback URL query parameters. + :type queries: + ~azure.mgmt.logic.models.WorkflowTriggerListCallbackUrlQueries + """ + + _validation = { + 'value': {'readonly': True}, + 'method': {'readonly': True}, + 'base_path': {'readonly': True}, + 'relative_path': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': 'str'}, + 'method': {'key': 'method', 'type': 'str'}, + 'base_path': {'key': 'basePath', 'type': 'str'}, + 'relative_path': {'key': 'relativePath', 'type': 'str'}, + 'relative_path_parameters': {'key': 'relativePathParameters', 'type': '[str]'}, + 'queries': {'key': 'queries', 'type': 'WorkflowTriggerListCallbackUrlQueries'}, + } + + def __init__(self, *, relative_path_parameters=None, queries=None, **kwargs) -> None: + super(WorkflowTriggerCallbackUrl, self).__init__(**kwargs) + self.value = None + self.method = None + self.base_path = None + self.relative_path = None + self.relative_path_parameters = relative_path_parameters + self.queries = queries + + +class WorkflowTriggerFilter(Model): + """The workflow trigger filter. + + :param state: The state of workflow trigger. Possible values include: + 'NotSpecified', 'Completed', 'Enabled', 'Disabled', 'Deleted', 'Suspended' + :type state: str or ~azure.mgmt.logic.models.WorkflowState + """ + + _attribute_map = { + 'state': {'key': 'state', 'type': 'str'}, + } + + def __init__(self, *, state=None, **kwargs) -> None: + super(WorkflowTriggerFilter, self).__init__(**kwargs) + self.state = state + + +class WorkflowTriggerHistory(SubResource): + """The workflow trigger history. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar id: The resource id. + :vartype id: str + :ivar start_time: Gets the start time. + :vartype start_time: datetime + :ivar end_time: Gets the end time. + :vartype end_time: datetime + :ivar scheduled_time: The scheduled time. + :vartype scheduled_time: datetime + :ivar status: Gets the status. Possible values include: 'NotSpecified', + 'Paused', 'Running', 'Waiting', 'Succeeded', 'Skipped', 'Suspended', + 'Cancelled', 'Failed', 'Faulted', 'TimedOut', 'Aborted', 'Ignored' + :vartype status: str or ~azure.mgmt.logic.models.WorkflowStatus + :ivar code: Gets the code. + :vartype code: str + :ivar error: Gets the error. + :vartype error: object + :ivar tracking_id: Gets the tracking id. + :vartype tracking_id: str + :param correlation: The run correlation. + :type correlation: ~azure.mgmt.logic.models.Correlation + :ivar inputs_link: Gets the link to input parameters. + :vartype inputs_link: ~azure.mgmt.logic.models.ContentLink + :ivar outputs_link: Gets the link to output parameters. + :vartype outputs_link: ~azure.mgmt.logic.models.ContentLink + :ivar fired: The value indicating whether trigger was fired. + :vartype fired: bool + :ivar run: Gets the reference to workflow run. + :vartype run: ~azure.mgmt.logic.models.ResourceReference + :ivar name: Gets the workflow trigger history name. + :vartype name: str + :ivar type: Gets the workflow trigger history type. + :vartype type: str + """ + + _validation = { + 'id': {'readonly': True}, + 'start_time': {'readonly': True}, + 'end_time': {'readonly': True}, + 'scheduled_time': {'readonly': True}, + 'status': {'readonly': True}, + 'code': {'readonly': True}, + 'error': {'readonly': True}, + 'tracking_id': {'readonly': True}, + 'inputs_link': {'readonly': True}, + 'outputs_link': {'readonly': True}, + 'fired': {'readonly': True}, + 'run': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'start_time': {'key': 'properties.startTime', 'type': 'iso-8601'}, + 'end_time': {'key': 'properties.endTime', 'type': 'iso-8601'}, + 'scheduled_time': {'key': 'properties.scheduledTime', 'type': 'iso-8601'}, + 'status': {'key': 'properties.status', 'type': 'str'}, + 'code': {'key': 'properties.code', 'type': 'str'}, + 'error': {'key': 'properties.error', 'type': 'object'}, + 'tracking_id': {'key': 'properties.trackingId', 'type': 'str'}, + 'correlation': {'key': 'properties.correlation', 'type': 'Correlation'}, + 'inputs_link': {'key': 'properties.inputsLink', 'type': 'ContentLink'}, + 'outputs_link': {'key': 'properties.outputsLink', 'type': 'ContentLink'}, + 'fired': {'key': 'properties.fired', 'type': 'bool'}, + 'run': {'key': 'properties.run', 'type': 'ResourceReference'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__(self, *, correlation=None, **kwargs) -> None: + super(WorkflowTriggerHistory, self).__init__(**kwargs) + self.start_time = None + self.end_time = None + self.scheduled_time = None + self.status = None + self.code = None + self.error = None + self.tracking_id = None + self.correlation = correlation + self.inputs_link = None + self.outputs_link = None + self.fired = None + self.run = None + self.name = None + self.type = None + + +class WorkflowTriggerHistoryFilter(Model): + """The workflow trigger history filter. + + :param status: The status of workflow trigger history. Possible values + include: 'NotSpecified', 'Paused', 'Running', 'Waiting', 'Succeeded', + 'Skipped', 'Suspended', 'Cancelled', 'Failed', 'Faulted', 'TimedOut', + 'Aborted', 'Ignored' + :type status: str or ~azure.mgmt.logic.models.WorkflowStatus + """ + + _attribute_map = { + 'status': {'key': 'status', 'type': 'str'}, + } + + def __init__(self, *, status=None, **kwargs) -> None: + super(WorkflowTriggerHistoryFilter, self).__init__(**kwargs) + self.status = status + + +class WorkflowTriggerListCallbackUrlQueries(Model): + """Gets the workflow trigger callback URL query parameters. + + :param api_version: The api version. + :type api_version: str + :param sp: The SAS permissions. + :type sp: str + :param sv: The SAS version. + :type sv: str + :param sig: The SAS signature. + :type sig: str + :param se: The SAS timestamp. + :type se: str + """ + + _attribute_map = { + 'api_version': {'key': 'api-version', 'type': 'str'}, + 'sp': {'key': 'sp', 'type': 'str'}, + 'sv': {'key': 'sv', 'type': 'str'}, + 'sig': {'key': 'sig', 'type': 'str'}, + 'se': {'key': 'se', 'type': 'str'}, + } + + def __init__(self, *, api_version: str=None, sp: str=None, sv: str=None, sig: str=None, se: str=None, **kwargs) -> None: + super(WorkflowTriggerListCallbackUrlQueries, self).__init__(**kwargs) + self.api_version = api_version + self.sp = sp + self.sv = sv + self.sig = sig + self.se = se + + +class WorkflowTriggerRecurrence(Model): + """The workflow trigger recurrence. + + :param frequency: The frequency. Possible values include: 'NotSpecified', + 'Second', 'Minute', 'Hour', 'Day', 'Week', 'Month', 'Year' + :type frequency: str or ~azure.mgmt.logic.models.RecurrenceFrequency + :param interval: The interval. + :type interval: int + :param start_time: The start time. + :type start_time: str + :param end_time: The end time. + :type end_time: str + :param time_zone: The time zone. + :type time_zone: str + :param schedule: The recurrence schedule. + :type schedule: ~azure.mgmt.logic.models.RecurrenceSchedule + """ + + _attribute_map = { + 'frequency': {'key': 'frequency', 'type': 'str'}, + 'interval': {'key': 'interval', 'type': 'int'}, + 'start_time': {'key': 'startTime', 'type': 'str'}, + 'end_time': {'key': 'endTime', 'type': 'str'}, + 'time_zone': {'key': 'timeZone', 'type': 'str'}, + 'schedule': {'key': 'schedule', 'type': 'RecurrenceSchedule'}, + } + + def __init__(self, *, frequency=None, interval: int=None, start_time: str=None, end_time: str=None, time_zone: str=None, schedule=None, **kwargs) -> None: + super(WorkflowTriggerRecurrence, self).__init__(**kwargs) + self.frequency = frequency + self.interval = interval + self.start_time = start_time + self.end_time = end_time + self.time_zone = time_zone + self.schedule = schedule + + +class WorkflowTriggerReference(ResourceReference): + """The workflow trigger reference. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :param id: The resource id. + :type id: str + :ivar name: Gets the resource name. + :vartype name: str + :ivar type: Gets the resource type. + :vartype type: str + :param flow_name: The workflow name. + :type flow_name: str + :param trigger_name: The workflow trigger name. + :type trigger_name: str + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'flow_name': {'key': 'flowName', 'type': 'str'}, + 'trigger_name': {'key': 'triggerName', 'type': 'str'}, + } + + def __init__(self, *, id: str=None, flow_name: str=None, trigger_name: str=None, **kwargs) -> None: + super(WorkflowTriggerReference, self).__init__(id=id, **kwargs) + self.flow_name = flow_name + self.trigger_name = trigger_name + + +class WorkflowVersion(Resource): + """The workflow version. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar id: The resource id. + :vartype id: str + :ivar name: Gets the resource name. + :vartype name: str + :ivar type: Gets the resource type. + :vartype type: str + :param location: The resource location. + :type location: str + :param tags: The resource tags. + :type tags: dict[str, str] + :ivar provisioning_state: The provisioning state. Possible values include: + 'NotSpecified', 'Accepted', 'Running', 'Ready', 'Creating', 'Created', + 'Deleting', 'Deleted', 'Canceled', 'Failed', 'Succeeded', 'Moving', + 'Updating', 'Registering', 'Registered', 'Unregistering', 'Unregistered', + 'Completed', 'Renewing', 'Pending', 'Waiting', 'InProgress' + :vartype provisioning_state: str or + ~azure.mgmt.logic.models.WorkflowProvisioningState + :ivar created_time: Gets the created time. + :vartype created_time: datetime + :ivar changed_time: Gets the changed time. + :vartype changed_time: datetime + :param state: The state. Possible values include: 'NotSpecified', + 'Completed', 'Enabled', 'Disabled', 'Deleted', 'Suspended' + :type state: str or ~azure.mgmt.logic.models.WorkflowState + :ivar version: Gets the version. + :vartype version: str + :ivar access_endpoint: Gets the access endpoint. + :vartype access_endpoint: str + :param endpoints_configuration: The endpoints configuration. + :type endpoints_configuration: + ~azure.mgmt.logic.models.FlowEndpointsConfiguration + :param access_control: The access control configuration. + :type access_control: + ~azure.mgmt.logic.models.FlowAccessControlConfiguration + :ivar sku: The sku. + :vartype sku: ~azure.mgmt.logic.models.Sku + :param integration_account: The integration account. + :type integration_account: ~azure.mgmt.logic.models.ResourceReference + :param definition: The definition. + :type definition: object + :param parameters: The parameters. + :type parameters: dict[str, ~azure.mgmt.logic.models.WorkflowParameter] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'created_time': {'readonly': True}, + 'changed_time': {'readonly': True}, + 'version': {'readonly': True}, + 'access_endpoint': {'readonly': True}, + 'sku': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'created_time': {'key': 'properties.createdTime', 'type': 'iso-8601'}, + 'changed_time': {'key': 'properties.changedTime', 'type': 'iso-8601'}, + 'state': {'key': 'properties.state', 'type': 'str'}, + 'version': {'key': 'properties.version', 'type': 'str'}, + 'access_endpoint': {'key': 'properties.accessEndpoint', 'type': 'str'}, + 'endpoints_configuration': {'key': 'properties.endpointsConfiguration', 'type': 'FlowEndpointsConfiguration'}, + 'access_control': {'key': 'properties.accessControl', 'type': 'FlowAccessControlConfiguration'}, + 'sku': {'key': 'properties.sku', 'type': 'Sku'}, + 'integration_account': {'key': 'properties.integrationAccount', 'type': 'ResourceReference'}, + 'definition': {'key': 'properties.definition', 'type': 'object'}, + 'parameters': {'key': 'properties.parameters', 'type': '{WorkflowParameter}'}, + } + + def __init__(self, *, location: str=None, tags=None, state=None, endpoints_configuration=None, access_control=None, integration_account=None, definition=None, parameters=None, **kwargs) -> None: + super(WorkflowVersion, self).__init__(location=location, tags=tags, **kwargs) + self.provisioning_state = None + self.created_time = None + self.changed_time = None + self.state = state + self.version = None + self.access_endpoint = None + self.endpoints_configuration = endpoints_configuration + self.access_control = access_control + self.sku = None + self.integration_account = integration_account + self.definition = definition + self.parameters = parameters + + +class WsdlService(Model): + """The WSDL service. + + :param qualified_name: The qualified name. + :type qualified_name: str + :param endpoint_qualified_names: The list of endpoints' qualified names. + :type endpoint_qualified_names: list[str] + """ + + _attribute_map = { + 'qualified_name': {'key': 'qualifiedName', 'type': 'str'}, + 'endpoint_qualified_names': {'key': 'EndpointQualifiedNames', 'type': '[str]'}, + } + + def __init__(self, *, qualified_name: str=None, endpoint_qualified_names=None, **kwargs) -> None: + super(WsdlService, self).__init__(**kwargs) + self.qualified_name = qualified_name + self.endpoint_qualified_names = endpoint_qualified_names + + +class X12AcknowledgementSettings(Model): + """The X12 agreement acknowledgement settings. + + All required parameters must be populated in order to send to Azure. + + :param need_technical_acknowledgement: Required. The value indicating + whether technical acknowledgement is needed. + :type need_technical_acknowledgement: bool + :param batch_technical_acknowledgements: Required. The value indicating + whether to batch the technical acknowledgements. + :type batch_technical_acknowledgements: bool + :param need_functional_acknowledgement: Required. The value indicating + whether functional acknowledgement is needed. + :type need_functional_acknowledgement: bool + :param functional_acknowledgement_version: The functional acknowledgement + version. + :type functional_acknowledgement_version: str + :param batch_functional_acknowledgements: Required. The value indicating + whether to batch functional acknowledgements. + :type batch_functional_acknowledgements: bool + :param need_implementation_acknowledgement: Required. The value indicating + whether implementation acknowledgement is needed. + :type need_implementation_acknowledgement: bool + :param implementation_acknowledgement_version: The implementation + acknowledgement version. + :type implementation_acknowledgement_version: str + :param batch_implementation_acknowledgements: Required. The value + indicating whether to batch implementation acknowledgements. + :type batch_implementation_acknowledgements: bool + :param need_loop_for_valid_messages: Required. The value indicating + whether a loop is needed for valid messages. + :type need_loop_for_valid_messages: bool + :param send_synchronous_acknowledgement: Required. The value indicating + whether to send synchronous acknowledgement. + :type send_synchronous_acknowledgement: bool + :param acknowledgement_control_number_prefix: The acknowledgement control + number prefix. + :type acknowledgement_control_number_prefix: str + :param acknowledgement_control_number_suffix: The acknowledgement control + number suffix. + :type acknowledgement_control_number_suffix: str + :param acknowledgement_control_number_lower_bound: Required. The + acknowledgement control number lower bound. + :type acknowledgement_control_number_lower_bound: int + :param acknowledgement_control_number_upper_bound: Required. The + acknowledgement control number upper bound. + :type acknowledgement_control_number_upper_bound: int + :param rollover_acknowledgement_control_number: Required. The value + indicating whether to rollover acknowledgement control number. + :type rollover_acknowledgement_control_number: bool + """ + + _validation = { + 'need_technical_acknowledgement': {'required': True}, + 'batch_technical_acknowledgements': {'required': True}, + 'need_functional_acknowledgement': {'required': True}, + 'batch_functional_acknowledgements': {'required': True}, + 'need_implementation_acknowledgement': {'required': True}, + 'batch_implementation_acknowledgements': {'required': True}, + 'need_loop_for_valid_messages': {'required': True}, + 'send_synchronous_acknowledgement': {'required': True}, + 'acknowledgement_control_number_lower_bound': {'required': True}, + 'acknowledgement_control_number_upper_bound': {'required': True}, + 'rollover_acknowledgement_control_number': {'required': True}, + } + + _attribute_map = { + 'need_technical_acknowledgement': {'key': 'needTechnicalAcknowledgement', 'type': 'bool'}, + 'batch_technical_acknowledgements': {'key': 'batchTechnicalAcknowledgements', 'type': 'bool'}, + 'need_functional_acknowledgement': {'key': 'needFunctionalAcknowledgement', 'type': 'bool'}, + 'functional_acknowledgement_version': {'key': 'functionalAcknowledgementVersion', 'type': 'str'}, + 'batch_functional_acknowledgements': {'key': 'batchFunctionalAcknowledgements', 'type': 'bool'}, + 'need_implementation_acknowledgement': {'key': 'needImplementationAcknowledgement', 'type': 'bool'}, + 'implementation_acknowledgement_version': {'key': 'implementationAcknowledgementVersion', 'type': 'str'}, + 'batch_implementation_acknowledgements': {'key': 'batchImplementationAcknowledgements', 'type': 'bool'}, + 'need_loop_for_valid_messages': {'key': 'needLoopForValidMessages', 'type': 'bool'}, + 'send_synchronous_acknowledgement': {'key': 'sendSynchronousAcknowledgement', 'type': 'bool'}, + 'acknowledgement_control_number_prefix': {'key': 'acknowledgementControlNumberPrefix', 'type': 'str'}, + 'acknowledgement_control_number_suffix': {'key': 'acknowledgementControlNumberSuffix', 'type': 'str'}, + 'acknowledgement_control_number_lower_bound': {'key': 'acknowledgementControlNumberLowerBound', 'type': 'int'}, + 'acknowledgement_control_number_upper_bound': {'key': 'acknowledgementControlNumberUpperBound', 'type': 'int'}, + 'rollover_acknowledgement_control_number': {'key': 'rolloverAcknowledgementControlNumber', 'type': 'bool'}, + } + + def __init__(self, *, need_technical_acknowledgement: bool, batch_technical_acknowledgements: bool, need_functional_acknowledgement: bool, batch_functional_acknowledgements: bool, need_implementation_acknowledgement: bool, batch_implementation_acknowledgements: bool, need_loop_for_valid_messages: bool, send_synchronous_acknowledgement: bool, acknowledgement_control_number_lower_bound: int, acknowledgement_control_number_upper_bound: int, rollover_acknowledgement_control_number: bool, functional_acknowledgement_version: str=None, implementation_acknowledgement_version: str=None, acknowledgement_control_number_prefix: str=None, acknowledgement_control_number_suffix: str=None, **kwargs) -> None: + super(X12AcknowledgementSettings, self).__init__(**kwargs) + self.need_technical_acknowledgement = need_technical_acknowledgement + self.batch_technical_acknowledgements = batch_technical_acknowledgements + self.need_functional_acknowledgement = need_functional_acknowledgement + self.functional_acknowledgement_version = functional_acknowledgement_version + self.batch_functional_acknowledgements = batch_functional_acknowledgements + self.need_implementation_acknowledgement = need_implementation_acknowledgement + self.implementation_acknowledgement_version = implementation_acknowledgement_version + self.batch_implementation_acknowledgements = batch_implementation_acknowledgements + self.need_loop_for_valid_messages = need_loop_for_valid_messages + self.send_synchronous_acknowledgement = send_synchronous_acknowledgement + self.acknowledgement_control_number_prefix = acknowledgement_control_number_prefix + self.acknowledgement_control_number_suffix = acknowledgement_control_number_suffix + self.acknowledgement_control_number_lower_bound = acknowledgement_control_number_lower_bound + self.acknowledgement_control_number_upper_bound = acknowledgement_control_number_upper_bound + self.rollover_acknowledgement_control_number = rollover_acknowledgement_control_number + + +class X12AgreementContent(Model): + """The X12 agreement content. + + All required parameters must be populated in order to send to Azure. + + :param receive_agreement: Required. The X12 one-way receive agreement. + :type receive_agreement: ~azure.mgmt.logic.models.X12OneWayAgreement + :param send_agreement: Required. The X12 one-way send agreement. + :type send_agreement: ~azure.mgmt.logic.models.X12OneWayAgreement + """ + + _validation = { + 'receive_agreement': {'required': True}, + 'send_agreement': {'required': True}, + } + + _attribute_map = { + 'receive_agreement': {'key': 'receiveAgreement', 'type': 'X12OneWayAgreement'}, + 'send_agreement': {'key': 'sendAgreement', 'type': 'X12OneWayAgreement'}, + } + + def __init__(self, *, receive_agreement, send_agreement, **kwargs) -> None: + super(X12AgreementContent, self).__init__(**kwargs) + self.receive_agreement = receive_agreement + self.send_agreement = send_agreement + + +class X12DelimiterOverrides(Model): + """The X12 delimiter override settings. + + All required parameters must be populated in order to send to Azure. + + :param protocol_version: The protocol version. + :type protocol_version: str + :param message_id: The message id. + :type message_id: str + :param data_element_separator: Required. The data element separator. + :type data_element_separator: int + :param component_separator: Required. The component separator. + :type component_separator: int + :param segment_terminator: Required. The segment terminator. + :type segment_terminator: int + :param segment_terminator_suffix: Required. The segment terminator suffix. + Possible values include: 'NotSpecified', 'None', 'CR', 'LF', 'CRLF' + :type segment_terminator_suffix: str or + ~azure.mgmt.logic.models.SegmentTerminatorSuffix + :param replace_character: Required. The replacement character. + :type replace_character: int + :param replace_separators_in_payload: Required. The value indicating + whether to replace separators in payload. + :type replace_separators_in_payload: bool + :param target_namespace: The target namespace on which this delimiter + settings has to be applied. + :type target_namespace: str + """ + + _validation = { + 'data_element_separator': {'required': True}, + 'component_separator': {'required': True}, + 'segment_terminator': {'required': True}, + 'segment_terminator_suffix': {'required': True}, + 'replace_character': {'required': True}, + 'replace_separators_in_payload': {'required': True}, + } + + _attribute_map = { + 'protocol_version': {'key': 'protocolVersion', 'type': 'str'}, + 'message_id': {'key': 'messageId', 'type': 'str'}, + 'data_element_separator': {'key': 'dataElementSeparator', 'type': 'int'}, + 'component_separator': {'key': 'componentSeparator', 'type': 'int'}, + 'segment_terminator': {'key': 'segmentTerminator', 'type': 'int'}, + 'segment_terminator_suffix': {'key': 'segmentTerminatorSuffix', 'type': 'SegmentTerminatorSuffix'}, + 'replace_character': {'key': 'replaceCharacter', 'type': 'int'}, + 'replace_separators_in_payload': {'key': 'replaceSeparatorsInPayload', 'type': 'bool'}, + 'target_namespace': {'key': 'targetNamespace', 'type': 'str'}, + } + + def __init__(self, *, data_element_separator: int, component_separator: int, segment_terminator: int, segment_terminator_suffix, replace_character: int, replace_separators_in_payload: bool, protocol_version: str=None, message_id: str=None, target_namespace: str=None, **kwargs) -> None: + super(X12DelimiterOverrides, self).__init__(**kwargs) + self.protocol_version = protocol_version + self.message_id = message_id + self.data_element_separator = data_element_separator + self.component_separator = component_separator + self.segment_terminator = segment_terminator + self.segment_terminator_suffix = segment_terminator_suffix + self.replace_character = replace_character + self.replace_separators_in_payload = replace_separators_in_payload + self.target_namespace = target_namespace + + +class X12EnvelopeOverride(Model): + """The X12 envelope override settings. + + All required parameters must be populated in order to send to Azure. + + :param target_namespace: Required. The target namespace on which this + envelope settings has to be applied. + :type target_namespace: str + :param protocol_version: Required. The protocol version on which this + envelope settings has to be applied. + :type protocol_version: str + :param message_id: Required. The message id on which this envelope + settings has to be applied. + :type message_id: str + :param responsible_agency_code: Required. The responsible agency code. + :type responsible_agency_code: str + :param header_version: Required. The header version. + :type header_version: str + :param sender_application_id: Required. The sender application id. + :type sender_application_id: str + :param receiver_application_id: Required. The receiver application id. + :type receiver_application_id: str + :param functional_identifier_code: The functional identifier code. + :type functional_identifier_code: str + :param date_format: Required. The date format. Possible values include: + 'NotSpecified', 'CCYYMMDD', 'YYMMDD' + :type date_format: str or ~azure.mgmt.logic.models.X12DateFormat + :param time_format: Required. The time format. Possible values include: + 'NotSpecified', 'HHMM', 'HHMMSS', 'HHMMSSdd', 'HHMMSSd' + :type time_format: str or ~azure.mgmt.logic.models.X12TimeFormat + """ + + _validation = { + 'target_namespace': {'required': True}, + 'protocol_version': {'required': True}, + 'message_id': {'required': True}, + 'responsible_agency_code': {'required': True}, + 'header_version': {'required': True}, + 'sender_application_id': {'required': True}, + 'receiver_application_id': {'required': True}, + 'date_format': {'required': True}, + 'time_format': {'required': True}, + } + + _attribute_map = { + 'target_namespace': {'key': 'targetNamespace', 'type': 'str'}, + 'protocol_version': {'key': 'protocolVersion', 'type': 'str'}, + 'message_id': {'key': 'messageId', 'type': 'str'}, + 'responsible_agency_code': {'key': 'responsibleAgencyCode', 'type': 'str'}, + 'header_version': {'key': 'headerVersion', 'type': 'str'}, + 'sender_application_id': {'key': 'senderApplicationId', 'type': 'str'}, + 'receiver_application_id': {'key': 'receiverApplicationId', 'type': 'str'}, + 'functional_identifier_code': {'key': 'functionalIdentifierCode', 'type': 'str'}, + 'date_format': {'key': 'dateFormat', 'type': 'str'}, + 'time_format': {'key': 'timeFormat', 'type': 'str'}, + } + + def __init__(self, *, target_namespace: str, protocol_version: str, message_id: str, responsible_agency_code: str, header_version: str, sender_application_id: str, receiver_application_id: str, date_format, time_format, functional_identifier_code: str=None, **kwargs) -> None: + super(X12EnvelopeOverride, self).__init__(**kwargs) + self.target_namespace = target_namespace + self.protocol_version = protocol_version + self.message_id = message_id + self.responsible_agency_code = responsible_agency_code + self.header_version = header_version + self.sender_application_id = sender_application_id + self.receiver_application_id = receiver_application_id + self.functional_identifier_code = functional_identifier_code + self.date_format = date_format + self.time_format = time_format + + +class X12EnvelopeSettings(Model): + """The X12 agreement envelope settings. + + All required parameters must be populated in order to send to Azure. + + :param control_standards_id: Required. The controls standards id. + :type control_standards_id: int + :param use_control_standards_id_as_repetition_character: Required. The + value indicating whether to use control standards id as repetition + character. + :type use_control_standards_id_as_repetition_character: bool + :param sender_application_id: Required. The sender application id. + :type sender_application_id: str + :param receiver_application_id: Required. The receiver application id. + :type receiver_application_id: str + :param control_version_number: Required. The control version number. + :type control_version_number: str + :param interchange_control_number_lower_bound: Required. The interchange + control number lower bound. + :type interchange_control_number_lower_bound: int + :param interchange_control_number_upper_bound: Required. The interchange + control number upper bound. + :type interchange_control_number_upper_bound: int + :param rollover_interchange_control_number: Required. The value indicating + whether to rollover interchange control number. + :type rollover_interchange_control_number: bool + :param enable_default_group_headers: Required. The value indicating + whether to enable default group headers. + :type enable_default_group_headers: bool + :param functional_group_id: The functional group id. + :type functional_group_id: str + :param group_control_number_lower_bound: Required. The group control + number lower bound. + :type group_control_number_lower_bound: int + :param group_control_number_upper_bound: Required. The group control + number upper bound. + :type group_control_number_upper_bound: int + :param rollover_group_control_number: Required. The value indicating + whether to rollover group control number. + :type rollover_group_control_number: bool + :param group_header_agency_code: Required. The group header agency code. + :type group_header_agency_code: str + :param group_header_version: Required. The group header version. + :type group_header_version: str + :param transaction_set_control_number_lower_bound: Required. The + transaction set control number lower bound. + :type transaction_set_control_number_lower_bound: int + :param transaction_set_control_number_upper_bound: Required. The + transaction set control number upper bound. + :type transaction_set_control_number_upper_bound: int + :param rollover_transaction_set_control_number: Required. The value + indicating whether to rollover transaction set control number. + :type rollover_transaction_set_control_number: bool + :param transaction_set_control_number_prefix: The transaction set control + number prefix. + :type transaction_set_control_number_prefix: str + :param transaction_set_control_number_suffix: The transaction set control + number suffix. + :type transaction_set_control_number_suffix: str + :param overwrite_existing_transaction_set_control_number: Required. The + value indicating whether to overwrite existing transaction set control + number. + :type overwrite_existing_transaction_set_control_number: bool + :param group_header_date_format: Required. The group header date format. + Possible values include: 'NotSpecified', 'CCYYMMDD', 'YYMMDD' + :type group_header_date_format: str or + ~azure.mgmt.logic.models.X12DateFormat + :param group_header_time_format: Required. The group header time format. + Possible values include: 'NotSpecified', 'HHMM', 'HHMMSS', 'HHMMSSdd', + 'HHMMSSd' + :type group_header_time_format: str or + ~azure.mgmt.logic.models.X12TimeFormat + :param usage_indicator: Required. The usage indicator. Possible values + include: 'NotSpecified', 'Test', 'Information', 'Production' + :type usage_indicator: str or ~azure.mgmt.logic.models.UsageIndicator + """ + + _validation = { + 'control_standards_id': {'required': True}, + 'use_control_standards_id_as_repetition_character': {'required': True}, + 'sender_application_id': {'required': True}, + 'receiver_application_id': {'required': True}, + 'control_version_number': {'required': True}, + 'interchange_control_number_lower_bound': {'required': True}, + 'interchange_control_number_upper_bound': {'required': True}, + 'rollover_interchange_control_number': {'required': True}, + 'enable_default_group_headers': {'required': True}, + 'group_control_number_lower_bound': {'required': True}, + 'group_control_number_upper_bound': {'required': True}, + 'rollover_group_control_number': {'required': True}, + 'group_header_agency_code': {'required': True}, + 'group_header_version': {'required': True}, + 'transaction_set_control_number_lower_bound': {'required': True}, + 'transaction_set_control_number_upper_bound': {'required': True}, + 'rollover_transaction_set_control_number': {'required': True}, + 'overwrite_existing_transaction_set_control_number': {'required': True}, + 'group_header_date_format': {'required': True}, + 'group_header_time_format': {'required': True}, + 'usage_indicator': {'required': True}, + } + + _attribute_map = { + 'control_standards_id': {'key': 'controlStandardsId', 'type': 'int'}, + 'use_control_standards_id_as_repetition_character': {'key': 'useControlStandardsIdAsRepetitionCharacter', 'type': 'bool'}, + 'sender_application_id': {'key': 'senderApplicationId', 'type': 'str'}, + 'receiver_application_id': {'key': 'receiverApplicationId', 'type': 'str'}, + 'control_version_number': {'key': 'controlVersionNumber', 'type': 'str'}, + 'interchange_control_number_lower_bound': {'key': 'interchangeControlNumberLowerBound', 'type': 'int'}, + 'interchange_control_number_upper_bound': {'key': 'interchangeControlNumberUpperBound', 'type': 'int'}, + 'rollover_interchange_control_number': {'key': 'rolloverInterchangeControlNumber', 'type': 'bool'}, + 'enable_default_group_headers': {'key': 'enableDefaultGroupHeaders', 'type': 'bool'}, + 'functional_group_id': {'key': 'functionalGroupId', 'type': 'str'}, + 'group_control_number_lower_bound': {'key': 'groupControlNumberLowerBound', 'type': 'int'}, + 'group_control_number_upper_bound': {'key': 'groupControlNumberUpperBound', 'type': 'int'}, + 'rollover_group_control_number': {'key': 'rolloverGroupControlNumber', 'type': 'bool'}, + 'group_header_agency_code': {'key': 'groupHeaderAgencyCode', 'type': 'str'}, + 'group_header_version': {'key': 'groupHeaderVersion', 'type': 'str'}, + 'transaction_set_control_number_lower_bound': {'key': 'transactionSetControlNumberLowerBound', 'type': 'int'}, + 'transaction_set_control_number_upper_bound': {'key': 'transactionSetControlNumberUpperBound', 'type': 'int'}, + 'rollover_transaction_set_control_number': {'key': 'rolloverTransactionSetControlNumber', 'type': 'bool'}, + 'transaction_set_control_number_prefix': {'key': 'transactionSetControlNumberPrefix', 'type': 'str'}, + 'transaction_set_control_number_suffix': {'key': 'transactionSetControlNumberSuffix', 'type': 'str'}, + 'overwrite_existing_transaction_set_control_number': {'key': 'overwriteExistingTransactionSetControlNumber', 'type': 'bool'}, + 'group_header_date_format': {'key': 'groupHeaderDateFormat', 'type': 'str'}, + 'group_header_time_format': {'key': 'groupHeaderTimeFormat', 'type': 'str'}, + 'usage_indicator': {'key': 'usageIndicator', 'type': 'str'}, + } + + def __init__(self, *, control_standards_id: int, use_control_standards_id_as_repetition_character: bool, sender_application_id: str, receiver_application_id: str, control_version_number: str, interchange_control_number_lower_bound: int, interchange_control_number_upper_bound: int, rollover_interchange_control_number: bool, enable_default_group_headers: bool, group_control_number_lower_bound: int, group_control_number_upper_bound: int, rollover_group_control_number: bool, group_header_agency_code: str, group_header_version: str, transaction_set_control_number_lower_bound: int, transaction_set_control_number_upper_bound: int, rollover_transaction_set_control_number: bool, overwrite_existing_transaction_set_control_number: bool, group_header_date_format, group_header_time_format, usage_indicator, functional_group_id: str=None, transaction_set_control_number_prefix: str=None, transaction_set_control_number_suffix: str=None, **kwargs) -> None: + super(X12EnvelopeSettings, self).__init__(**kwargs) + self.control_standards_id = control_standards_id + self.use_control_standards_id_as_repetition_character = use_control_standards_id_as_repetition_character + self.sender_application_id = sender_application_id + self.receiver_application_id = receiver_application_id + self.control_version_number = control_version_number + self.interchange_control_number_lower_bound = interchange_control_number_lower_bound + self.interchange_control_number_upper_bound = interchange_control_number_upper_bound + self.rollover_interchange_control_number = rollover_interchange_control_number + self.enable_default_group_headers = enable_default_group_headers + self.functional_group_id = functional_group_id + self.group_control_number_lower_bound = group_control_number_lower_bound + self.group_control_number_upper_bound = group_control_number_upper_bound + self.rollover_group_control_number = rollover_group_control_number + self.group_header_agency_code = group_header_agency_code + self.group_header_version = group_header_version + self.transaction_set_control_number_lower_bound = transaction_set_control_number_lower_bound + self.transaction_set_control_number_upper_bound = transaction_set_control_number_upper_bound + self.rollover_transaction_set_control_number = rollover_transaction_set_control_number + self.transaction_set_control_number_prefix = transaction_set_control_number_prefix + self.transaction_set_control_number_suffix = transaction_set_control_number_suffix + self.overwrite_existing_transaction_set_control_number = overwrite_existing_transaction_set_control_number + self.group_header_date_format = group_header_date_format + self.group_header_time_format = group_header_time_format + self.usage_indicator = usage_indicator + + +class X12FramingSettings(Model): + """The X12 agreement framing settings. + + All required parameters must be populated in order to send to Azure. + + :param data_element_separator: Required. The data element separator. + :type data_element_separator: int + :param component_separator: Required. The component separator. + :type component_separator: int + :param replace_separators_in_payload: Required. The value indicating + whether to replace separators in payload. + :type replace_separators_in_payload: bool + :param replace_character: Required. The replacement character. + :type replace_character: int + :param segment_terminator: Required. The segment terminator. + :type segment_terminator: int + :param character_set: Required. The X12 character set. Possible values + include: 'NotSpecified', 'Basic', 'Extended', 'UTF8' + :type character_set: str or ~azure.mgmt.logic.models.X12CharacterSet + :param segment_terminator_suffix: Required. The segment terminator suffix. + Possible values include: 'NotSpecified', 'None', 'CR', 'LF', 'CRLF' + :type segment_terminator_suffix: str or + ~azure.mgmt.logic.models.SegmentTerminatorSuffix + """ + + _validation = { + 'data_element_separator': {'required': True}, + 'component_separator': {'required': True}, + 'replace_separators_in_payload': {'required': True}, + 'replace_character': {'required': True}, + 'segment_terminator': {'required': True}, + 'character_set': {'required': True}, + 'segment_terminator_suffix': {'required': True}, + } + + _attribute_map = { + 'data_element_separator': {'key': 'dataElementSeparator', 'type': 'int'}, + 'component_separator': {'key': 'componentSeparator', 'type': 'int'}, + 'replace_separators_in_payload': {'key': 'replaceSeparatorsInPayload', 'type': 'bool'}, + 'replace_character': {'key': 'replaceCharacter', 'type': 'int'}, + 'segment_terminator': {'key': 'segmentTerminator', 'type': 'int'}, + 'character_set': {'key': 'characterSet', 'type': 'str'}, + 'segment_terminator_suffix': {'key': 'segmentTerminatorSuffix', 'type': 'SegmentTerminatorSuffix'}, + } + + def __init__(self, *, data_element_separator: int, component_separator: int, replace_separators_in_payload: bool, replace_character: int, segment_terminator: int, character_set, segment_terminator_suffix, **kwargs) -> None: + super(X12FramingSettings, self).__init__(**kwargs) + self.data_element_separator = data_element_separator + self.component_separator = component_separator + self.replace_separators_in_payload = replace_separators_in_payload + self.replace_character = replace_character + self.segment_terminator = segment_terminator + self.character_set = character_set + self.segment_terminator_suffix = segment_terminator_suffix + + +class X12MessageFilter(Model): + """The X12 message filter for odata query. + + All required parameters must be populated in order to send to Azure. + + :param message_filter_type: Required. The message filter type. Possible + values include: 'NotSpecified', 'Include', 'Exclude' + :type message_filter_type: str or + ~azure.mgmt.logic.models.MessageFilterType + """ + + _validation = { + 'message_filter_type': {'required': True}, + } + + _attribute_map = { + 'message_filter_type': {'key': 'messageFilterType', 'type': 'str'}, + } + + def __init__(self, *, message_filter_type, **kwargs) -> None: + super(X12MessageFilter, self).__init__(**kwargs) + self.message_filter_type = message_filter_type + + +class X12MessageIdentifier(Model): + """The X12 message identifier. + + All required parameters must be populated in order to send to Azure. + + :param message_id: Required. The message id. + :type message_id: str + """ + + _validation = { + 'message_id': {'required': True}, + } + + _attribute_map = { + 'message_id': {'key': 'messageId', 'type': 'str'}, + } + + def __init__(self, *, message_id: str, **kwargs) -> None: + super(X12MessageIdentifier, self).__init__(**kwargs) + self.message_id = message_id + + +class X12OneWayAgreement(Model): + """The X12 one-way agreement. + + All required parameters must be populated in order to send to Azure. + + :param sender_business_identity: Required. The sender business identity + :type sender_business_identity: ~azure.mgmt.logic.models.BusinessIdentity + :param receiver_business_identity: Required. The receiver business + identity + :type receiver_business_identity: + ~azure.mgmt.logic.models.BusinessIdentity + :param protocol_settings: Required. The X12 protocol settings. + :type protocol_settings: ~azure.mgmt.logic.models.X12ProtocolSettings + """ + + _validation = { + 'sender_business_identity': {'required': True}, + 'receiver_business_identity': {'required': True}, + 'protocol_settings': {'required': True}, + } + + _attribute_map = { + 'sender_business_identity': {'key': 'senderBusinessIdentity', 'type': 'BusinessIdentity'}, + 'receiver_business_identity': {'key': 'receiverBusinessIdentity', 'type': 'BusinessIdentity'}, + 'protocol_settings': {'key': 'protocolSettings', 'type': 'X12ProtocolSettings'}, + } + + def __init__(self, *, sender_business_identity, receiver_business_identity, protocol_settings, **kwargs) -> None: + super(X12OneWayAgreement, self).__init__(**kwargs) + self.sender_business_identity = sender_business_identity + self.receiver_business_identity = receiver_business_identity + self.protocol_settings = protocol_settings + + +class X12ProcessingSettings(Model): + """The X12 processing settings. + + All required parameters must be populated in order to send to Azure. + + :param mask_security_info: Required. The value indicating whether to mask + security information. + :type mask_security_info: bool + :param convert_implied_decimal: Required. The value indicating whether to + convert numerical type to implied decimal. + :type convert_implied_decimal: bool + :param preserve_interchange: Required. The value indicating whether to + preserve interchange. + :type preserve_interchange: bool + :param suspend_interchange_on_error: Required. The value indicating + whether to suspend interchange on error. + :type suspend_interchange_on_error: bool + :param create_empty_xml_tags_for_trailing_separators: Required. The value + indicating whether to create empty xml tags for trailing separators. + :type create_empty_xml_tags_for_trailing_separators: bool + :param use_dot_as_decimal_separator: Required. The value indicating + whether to use dot as decimal separator. + :type use_dot_as_decimal_separator: bool + """ + + _validation = { + 'mask_security_info': {'required': True}, + 'convert_implied_decimal': {'required': True}, + 'preserve_interchange': {'required': True}, + 'suspend_interchange_on_error': {'required': True}, + 'create_empty_xml_tags_for_trailing_separators': {'required': True}, + 'use_dot_as_decimal_separator': {'required': True}, + } + + _attribute_map = { + 'mask_security_info': {'key': 'maskSecurityInfo', 'type': 'bool'}, + 'convert_implied_decimal': {'key': 'convertImpliedDecimal', 'type': 'bool'}, + 'preserve_interchange': {'key': 'preserveInterchange', 'type': 'bool'}, + 'suspend_interchange_on_error': {'key': 'suspendInterchangeOnError', 'type': 'bool'}, + 'create_empty_xml_tags_for_trailing_separators': {'key': 'createEmptyXmlTagsForTrailingSeparators', 'type': 'bool'}, + 'use_dot_as_decimal_separator': {'key': 'useDotAsDecimalSeparator', 'type': 'bool'}, + } + + def __init__(self, *, mask_security_info: bool, convert_implied_decimal: bool, preserve_interchange: bool, suspend_interchange_on_error: bool, create_empty_xml_tags_for_trailing_separators: bool, use_dot_as_decimal_separator: bool, **kwargs) -> None: + super(X12ProcessingSettings, self).__init__(**kwargs) + self.mask_security_info = mask_security_info + self.convert_implied_decimal = convert_implied_decimal + self.preserve_interchange = preserve_interchange + self.suspend_interchange_on_error = suspend_interchange_on_error + self.create_empty_xml_tags_for_trailing_separators = create_empty_xml_tags_for_trailing_separators + self.use_dot_as_decimal_separator = use_dot_as_decimal_separator + + +class X12ProtocolSettings(Model): + """The X12 agreement protocol settings. + + All required parameters must be populated in order to send to Azure. + + :param validation_settings: Required. The X12 validation settings. + :type validation_settings: ~azure.mgmt.logic.models.X12ValidationSettings + :param framing_settings: Required. The X12 framing settings. + :type framing_settings: ~azure.mgmt.logic.models.X12FramingSettings + :param envelope_settings: Required. The X12 envelope settings. + :type envelope_settings: ~azure.mgmt.logic.models.X12EnvelopeSettings + :param acknowledgement_settings: Required. The X12 acknowledgment + settings. + :type acknowledgement_settings: + ~azure.mgmt.logic.models.X12AcknowledgementSettings + :param message_filter: Required. The X12 message filter. + :type message_filter: ~azure.mgmt.logic.models.X12MessageFilter + :param security_settings: Required. The X12 security settings. + :type security_settings: ~azure.mgmt.logic.models.X12SecuritySettings + :param processing_settings: Required. The X12 processing settings. + :type processing_settings: ~azure.mgmt.logic.models.X12ProcessingSettings + :param envelope_overrides: The X12 envelope override settings. + :type envelope_overrides: + list[~azure.mgmt.logic.models.X12EnvelopeOverride] + :param validation_overrides: The X12 validation override settings. + :type validation_overrides: + list[~azure.mgmt.logic.models.X12ValidationOverride] + :param message_filter_list: The X12 message filter list. + :type message_filter_list: + list[~azure.mgmt.logic.models.X12MessageIdentifier] + :param schema_references: Required. The X12 schema references. + :type schema_references: list[~azure.mgmt.logic.models.X12SchemaReference] + :param x12_delimiter_overrides: The X12 delimiter override settings. + :type x12_delimiter_overrides: + list[~azure.mgmt.logic.models.X12DelimiterOverrides] + """ + + _validation = { + 'validation_settings': {'required': True}, + 'framing_settings': {'required': True}, + 'envelope_settings': {'required': True}, + 'acknowledgement_settings': {'required': True}, + 'message_filter': {'required': True}, + 'security_settings': {'required': True}, + 'processing_settings': {'required': True}, + 'schema_references': {'required': True}, + } + + _attribute_map = { + 'validation_settings': {'key': 'validationSettings', 'type': 'X12ValidationSettings'}, + 'framing_settings': {'key': 'framingSettings', 'type': 'X12FramingSettings'}, + 'envelope_settings': {'key': 'envelopeSettings', 'type': 'X12EnvelopeSettings'}, + 'acknowledgement_settings': {'key': 'acknowledgementSettings', 'type': 'X12AcknowledgementSettings'}, + 'message_filter': {'key': 'messageFilter', 'type': 'X12MessageFilter'}, + 'security_settings': {'key': 'securitySettings', 'type': 'X12SecuritySettings'}, + 'processing_settings': {'key': 'processingSettings', 'type': 'X12ProcessingSettings'}, + 'envelope_overrides': {'key': 'envelopeOverrides', 'type': '[X12EnvelopeOverride]'}, + 'validation_overrides': {'key': 'validationOverrides', 'type': '[X12ValidationOverride]'}, + 'message_filter_list': {'key': 'messageFilterList', 'type': '[X12MessageIdentifier]'}, + 'schema_references': {'key': 'schemaReferences', 'type': '[X12SchemaReference]'}, + 'x12_delimiter_overrides': {'key': 'x12DelimiterOverrides', 'type': '[X12DelimiterOverrides]'}, + } + + def __init__(self, *, validation_settings, framing_settings, envelope_settings, acknowledgement_settings, message_filter, security_settings, processing_settings, schema_references, envelope_overrides=None, validation_overrides=None, message_filter_list=None, x12_delimiter_overrides=None, **kwargs) -> None: + super(X12ProtocolSettings, self).__init__(**kwargs) + self.validation_settings = validation_settings + self.framing_settings = framing_settings + self.envelope_settings = envelope_settings + self.acknowledgement_settings = acknowledgement_settings + self.message_filter = message_filter + self.security_settings = security_settings + self.processing_settings = processing_settings + self.envelope_overrides = envelope_overrides + self.validation_overrides = validation_overrides + self.message_filter_list = message_filter_list + self.schema_references = schema_references + self.x12_delimiter_overrides = x12_delimiter_overrides + + +class X12SchemaReference(Model): + """The X12 schema reference. + + All required parameters must be populated in order to send to Azure. + + :param message_id: Required. The message id. + :type message_id: str + :param sender_application_id: The sender application id. + :type sender_application_id: str + :param schema_version: Required. The schema version. + :type schema_version: str + :param schema_name: Required. The schema name. + :type schema_name: str + """ + + _validation = { + 'message_id': {'required': True}, + 'schema_version': {'required': True}, + 'schema_name': {'required': True}, + } + + _attribute_map = { + 'message_id': {'key': 'messageId', 'type': 'str'}, + 'sender_application_id': {'key': 'senderApplicationId', 'type': 'str'}, + 'schema_version': {'key': 'schemaVersion', 'type': 'str'}, + 'schema_name': {'key': 'schemaName', 'type': 'str'}, + } + + def __init__(self, *, message_id: str, schema_version: str, schema_name: str, sender_application_id: str=None, **kwargs) -> None: + super(X12SchemaReference, self).__init__(**kwargs) + self.message_id = message_id + self.sender_application_id = sender_application_id + self.schema_version = schema_version + self.schema_name = schema_name + + +class X12SecuritySettings(Model): + """The X12 agreement security settings. + + All required parameters must be populated in order to send to Azure. + + :param authorization_qualifier: Required. The authorization qualifier. + :type authorization_qualifier: str + :param authorization_value: The authorization value. + :type authorization_value: str + :param security_qualifier: Required. The security qualifier. + :type security_qualifier: str + :param password_value: The password value. + :type password_value: str + """ + + _validation = { + 'authorization_qualifier': {'required': True}, + 'security_qualifier': {'required': True}, + } + + _attribute_map = { + 'authorization_qualifier': {'key': 'authorizationQualifier', 'type': 'str'}, + 'authorization_value': {'key': 'authorizationValue', 'type': 'str'}, + 'security_qualifier': {'key': 'securityQualifier', 'type': 'str'}, + 'password_value': {'key': 'passwordValue', 'type': 'str'}, + } + + def __init__(self, *, authorization_qualifier: str, security_qualifier: str, authorization_value: str=None, password_value: str=None, **kwargs) -> None: + super(X12SecuritySettings, self).__init__(**kwargs) + self.authorization_qualifier = authorization_qualifier + self.authorization_value = authorization_value + self.security_qualifier = security_qualifier + self.password_value = password_value + + +class X12ValidationOverride(Model): + """The X12 validation override settings. + + All required parameters must be populated in order to send to Azure. + + :param message_id: Required. The message id on which the validation + settings has to be applied. + :type message_id: str + :param validate_edi_types: Required. The value indicating whether to + validate EDI types. + :type validate_edi_types: bool + :param validate_xsd_types: Required. The value indicating whether to + validate XSD types. + :type validate_xsd_types: bool + :param allow_leading_and_trailing_spaces_and_zeroes: Required. The value + indicating whether to allow leading and trailing spaces and zeroes. + :type allow_leading_and_trailing_spaces_and_zeroes: bool + :param validate_character_set: Required. The value indicating whether to + validate character Set. + :type validate_character_set: bool + :param trim_leading_and_trailing_spaces_and_zeroes: Required. The value + indicating whether to trim leading and trailing spaces and zeroes. + :type trim_leading_and_trailing_spaces_and_zeroes: bool + :param trailing_separator_policy: Required. The trailing separator policy. + Possible values include: 'NotSpecified', 'NotAllowed', 'Optional', + 'Mandatory' + :type trailing_separator_policy: str or + ~azure.mgmt.logic.models.TrailingSeparatorPolicy + """ + + _validation = { + 'message_id': {'required': True}, + 'validate_edi_types': {'required': True}, + 'validate_xsd_types': {'required': True}, + 'allow_leading_and_trailing_spaces_and_zeroes': {'required': True}, + 'validate_character_set': {'required': True}, + 'trim_leading_and_trailing_spaces_and_zeroes': {'required': True}, + 'trailing_separator_policy': {'required': True}, + } + + _attribute_map = { + 'message_id': {'key': 'messageId', 'type': 'str'}, + 'validate_edi_types': {'key': 'validateEDITypes', 'type': 'bool'}, + 'validate_xsd_types': {'key': 'validateXSDTypes', 'type': 'bool'}, + 'allow_leading_and_trailing_spaces_and_zeroes': {'key': 'allowLeadingAndTrailingSpacesAndZeroes', 'type': 'bool'}, + 'validate_character_set': {'key': 'validateCharacterSet', 'type': 'bool'}, + 'trim_leading_and_trailing_spaces_and_zeroes': {'key': 'trimLeadingAndTrailingSpacesAndZeroes', 'type': 'bool'}, + 'trailing_separator_policy': {'key': 'trailingSeparatorPolicy', 'type': 'str'}, + } + + def __init__(self, *, message_id: str, validate_edi_types: bool, validate_xsd_types: bool, allow_leading_and_trailing_spaces_and_zeroes: bool, validate_character_set: bool, trim_leading_and_trailing_spaces_and_zeroes: bool, trailing_separator_policy, **kwargs) -> None: + super(X12ValidationOverride, self).__init__(**kwargs) + self.message_id = message_id + self.validate_edi_types = validate_edi_types + self.validate_xsd_types = validate_xsd_types + self.allow_leading_and_trailing_spaces_and_zeroes = allow_leading_and_trailing_spaces_and_zeroes + self.validate_character_set = validate_character_set + self.trim_leading_and_trailing_spaces_and_zeroes = trim_leading_and_trailing_spaces_and_zeroes + self.trailing_separator_policy = trailing_separator_policy + + +class X12ValidationSettings(Model): + """The X12 agreement validation settings. + + All required parameters must be populated in order to send to Azure. + + :param validate_character_set: Required. The value indicating whether to + validate character set in the message. + :type validate_character_set: bool + :param check_duplicate_interchange_control_number: Required. The value + indicating whether to check for duplicate interchange control number. + :type check_duplicate_interchange_control_number: bool + :param interchange_control_number_validity_days: Required. The validity + period of interchange control number. + :type interchange_control_number_validity_days: int + :param check_duplicate_group_control_number: Required. The value + indicating whether to check for duplicate group control number. + :type check_duplicate_group_control_number: bool + :param check_duplicate_transaction_set_control_number: Required. The value + indicating whether to check for duplicate transaction set control number. + :type check_duplicate_transaction_set_control_number: bool + :param validate_edi_types: Required. The value indicating whether to + Whether to validate EDI types. + :type validate_edi_types: bool + :param validate_xsd_types: Required. The value indicating whether to + Whether to validate XSD types. + :type validate_xsd_types: bool + :param allow_leading_and_trailing_spaces_and_zeroes: Required. The value + indicating whether to allow leading and trailing spaces and zeroes. + :type allow_leading_and_trailing_spaces_and_zeroes: bool + :param trim_leading_and_trailing_spaces_and_zeroes: Required. The value + indicating whether to trim leading and trailing spaces and zeroes. + :type trim_leading_and_trailing_spaces_and_zeroes: bool + :param trailing_separator_policy: Required. The trailing separator policy. + Possible values include: 'NotSpecified', 'NotAllowed', 'Optional', + 'Mandatory' + :type trailing_separator_policy: str or + ~azure.mgmt.logic.models.TrailingSeparatorPolicy + """ + + _validation = { + 'validate_character_set': {'required': True}, + 'check_duplicate_interchange_control_number': {'required': True}, + 'interchange_control_number_validity_days': {'required': True}, + 'check_duplicate_group_control_number': {'required': True}, + 'check_duplicate_transaction_set_control_number': {'required': True}, + 'validate_edi_types': {'required': True}, + 'validate_xsd_types': {'required': True}, + 'allow_leading_and_trailing_spaces_and_zeroes': {'required': True}, + 'trim_leading_and_trailing_spaces_and_zeroes': {'required': True}, + 'trailing_separator_policy': {'required': True}, + } + + _attribute_map = { + 'validate_character_set': {'key': 'validateCharacterSet', 'type': 'bool'}, + 'check_duplicate_interchange_control_number': {'key': 'checkDuplicateInterchangeControlNumber', 'type': 'bool'}, + 'interchange_control_number_validity_days': {'key': 'interchangeControlNumberValidityDays', 'type': 'int'}, + 'check_duplicate_group_control_number': {'key': 'checkDuplicateGroupControlNumber', 'type': 'bool'}, + 'check_duplicate_transaction_set_control_number': {'key': 'checkDuplicateTransactionSetControlNumber', 'type': 'bool'}, + 'validate_edi_types': {'key': 'validateEDITypes', 'type': 'bool'}, + 'validate_xsd_types': {'key': 'validateXSDTypes', 'type': 'bool'}, + 'allow_leading_and_trailing_spaces_and_zeroes': {'key': 'allowLeadingAndTrailingSpacesAndZeroes', 'type': 'bool'}, + 'trim_leading_and_trailing_spaces_and_zeroes': {'key': 'trimLeadingAndTrailingSpacesAndZeroes', 'type': 'bool'}, + 'trailing_separator_policy': {'key': 'trailingSeparatorPolicy', 'type': 'str'}, + } + + def __init__(self, *, validate_character_set: bool, check_duplicate_interchange_control_number: bool, interchange_control_number_validity_days: int, check_duplicate_group_control_number: bool, check_duplicate_transaction_set_control_number: bool, validate_edi_types: bool, validate_xsd_types: bool, allow_leading_and_trailing_spaces_and_zeroes: bool, trim_leading_and_trailing_spaces_and_zeroes: bool, trailing_separator_policy, **kwargs) -> None: + super(X12ValidationSettings, self).__init__(**kwargs) + self.validate_character_set = validate_character_set + self.check_duplicate_interchange_control_number = check_duplicate_interchange_control_number + self.interchange_control_number_validity_days = interchange_control_number_validity_days + self.check_duplicate_group_control_number = check_duplicate_group_control_number + self.check_duplicate_transaction_set_control_number = check_duplicate_transaction_set_control_number + self.validate_edi_types = validate_edi_types + self.validate_xsd_types = validate_xsd_types + self.allow_leading_and_trailing_spaces_and_zeroes = allow_leading_and_trailing_spaces_and_zeroes + self.trim_leading_and_trailing_spaces_and_zeroes = trim_leading_and_trailing_spaces_and_zeroes + self.trailing_separator_policy = trailing_separator_policy diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/_paged_models.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/_paged_models.py new file mode 100644 index 000000000000..643b494cf696 --- /dev/null +++ b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/_paged_models.py @@ -0,0 +1,326 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.paging import Paged + + +class WorkflowPaged(Paged): + """ + A paging container for iterating over a list of :class:`Workflow ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[Workflow]'} + } + + def __init__(self, *args, **kwargs): + + super(WorkflowPaged, self).__init__(*args, **kwargs) +class WorkflowVersionPaged(Paged): + """ + A paging container for iterating over a list of :class:`WorkflowVersion ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[WorkflowVersion]'} + } + + def __init__(self, *args, **kwargs): + + super(WorkflowVersionPaged, self).__init__(*args, **kwargs) +class WorkflowTriggerPaged(Paged): + """ + A paging container for iterating over a list of :class:`WorkflowTrigger ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[WorkflowTrigger]'} + } + + def __init__(self, *args, **kwargs): + + super(WorkflowTriggerPaged, self).__init__(*args, **kwargs) +class WorkflowTriggerHistoryPaged(Paged): + """ + A paging container for iterating over a list of :class:`WorkflowTriggerHistory ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[WorkflowTriggerHistory]'} + } + + def __init__(self, *args, **kwargs): + + super(WorkflowTriggerHistoryPaged, self).__init__(*args, **kwargs) +class WorkflowRunPaged(Paged): + """ + A paging container for iterating over a list of :class:`WorkflowRun ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[WorkflowRun]'} + } + + def __init__(self, *args, **kwargs): + + super(WorkflowRunPaged, self).__init__(*args, **kwargs) +class WorkflowRunActionPaged(Paged): + """ + A paging container for iterating over a list of :class:`WorkflowRunAction ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[WorkflowRunAction]'} + } + + def __init__(self, *args, **kwargs): + + super(WorkflowRunActionPaged, self).__init__(*args, **kwargs) +class ExpressionRootPaged(Paged): + """ + A paging container for iterating over a list of :class:`ExpressionRoot ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'inputs', 'type': '[ExpressionRoot]'} + } + + def __init__(self, *args, **kwargs): + + super(ExpressionRootPaged, self).__init__(*args, **kwargs) +class WorkflowRunActionRepetitionDefinitionPaged(Paged): + """ + A paging container for iterating over a list of :class:`WorkflowRunActionRepetitionDefinition ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[WorkflowRunActionRepetitionDefinition]'} + } + + def __init__(self, *args, **kwargs): + + super(WorkflowRunActionRepetitionDefinitionPaged, self).__init__(*args, **kwargs) +class RequestHistoryPaged(Paged): + """ + A paging container for iterating over a list of :class:`RequestHistory ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[RequestHistory]'} + } + + def __init__(self, *args, **kwargs): + + super(RequestHistoryPaged, self).__init__(*args, **kwargs) +class IntegrationAccountPaged(Paged): + """ + A paging container for iterating over a list of :class:`IntegrationAccount ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[IntegrationAccount]'} + } + + def __init__(self, *args, **kwargs): + + super(IntegrationAccountPaged, self).__init__(*args, **kwargs) +class KeyVaultKeyPaged(Paged): + """ + A paging container for iterating over a list of :class:`KeyVaultKey ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[KeyVaultKey]'} + } + + def __init__(self, *args, **kwargs): + + super(KeyVaultKeyPaged, self).__init__(*args, **kwargs) +class AssemblyDefinitionPaged(Paged): + """ + A paging container for iterating over a list of :class:`AssemblyDefinition ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[AssemblyDefinition]'} + } + + def __init__(self, *args, **kwargs): + + super(AssemblyDefinitionPaged, self).__init__(*args, **kwargs) +class BatchConfigurationPaged(Paged): + """ + A paging container for iterating over a list of :class:`BatchConfiguration ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[BatchConfiguration]'} + } + + def __init__(self, *args, **kwargs): + + super(BatchConfigurationPaged, self).__init__(*args, **kwargs) +class IntegrationAccountSchemaPaged(Paged): + """ + A paging container for iterating over a list of :class:`IntegrationAccountSchema ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[IntegrationAccountSchema]'} + } + + def __init__(self, *args, **kwargs): + + super(IntegrationAccountSchemaPaged, self).__init__(*args, **kwargs) +class IntegrationAccountMapPaged(Paged): + """ + A paging container for iterating over a list of :class:`IntegrationAccountMap ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[IntegrationAccountMap]'} + } + + def __init__(self, *args, **kwargs): + + super(IntegrationAccountMapPaged, self).__init__(*args, **kwargs) +class IntegrationAccountPartnerPaged(Paged): + """ + A paging container for iterating over a list of :class:`IntegrationAccountPartner ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[IntegrationAccountPartner]'} + } + + def __init__(self, *args, **kwargs): + + super(IntegrationAccountPartnerPaged, self).__init__(*args, **kwargs) +class IntegrationAccountAgreementPaged(Paged): + """ + A paging container for iterating over a list of :class:`IntegrationAccountAgreement ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[IntegrationAccountAgreement]'} + } + + def __init__(self, *args, **kwargs): + + super(IntegrationAccountAgreementPaged, self).__init__(*args, **kwargs) +class IntegrationAccountCertificatePaged(Paged): + """ + A paging container for iterating over a list of :class:`IntegrationAccountCertificate ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[IntegrationAccountCertificate]'} + } + + def __init__(self, *args, **kwargs): + + super(IntegrationAccountCertificatePaged, self).__init__(*args, **kwargs) +class IntegrationAccountSessionPaged(Paged): + """ + A paging container for iterating over a list of :class:`IntegrationAccountSession ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[IntegrationAccountSession]'} + } + + def __init__(self, *args, **kwargs): + + super(IntegrationAccountSessionPaged, self).__init__(*args, **kwargs) +class IntegrationServiceEnvironmentPaged(Paged): + """ + A paging container for iterating over a list of :class:`IntegrationServiceEnvironment ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[IntegrationServiceEnvironment]'} + } + + def __init__(self, *args, **kwargs): + + super(IntegrationServiceEnvironmentPaged, self).__init__(*args, **kwargs) +class IntegrationServiceEnvironmentSkuDefinitionPaged(Paged): + """ + A paging container for iterating over a list of :class:`IntegrationServiceEnvironmentSkuDefinition ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[IntegrationServiceEnvironmentSkuDefinition]'} + } + + def __init__(self, *args, **kwargs): + + super(IntegrationServiceEnvironmentSkuDefinitionPaged, self).__init__(*args, **kwargs) +class ManagedApiPaged(Paged): + """ + A paging container for iterating over a list of :class:`ManagedApi ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[ManagedApi]'} + } + + def __init__(self, *args, **kwargs): + + super(ManagedApiPaged, self).__init__(*args, **kwargs) +class ApiOperationPaged(Paged): + """ + A paging container for iterating over a list of :class:`ApiOperation ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[ApiOperation]'} + } + + def __init__(self, *args, **kwargs): + + super(ApiOperationPaged, self).__init__(*args, **kwargs) +class OperationPaged(Paged): + """ + A paging container for iterating over a list of :class:`Operation ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[Operation]'} + } + + def __init__(self, *args, **kwargs): + + super(OperationPaged, self).__init__(*args, **kwargs) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/agreement_content.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/agreement_content.py deleted file mode 100644 index a447ae65cea8..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/agreement_content.py +++ /dev/null @@ -1,36 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class AgreementContent(Model): - """The integration account agreement content. - - :param a_s2: The AS2 agreement content. - :type a_s2: ~azure.mgmt.logic.models.AS2AgreementContent - :param x12: The X12 agreement content. - :type x12: ~azure.mgmt.logic.models.X12AgreementContent - :param edifact: The EDIFACT agreement content. - :type edifact: ~azure.mgmt.logic.models.EdifactAgreementContent - """ - - _attribute_map = { - 'a_s2': {'key': 'aS2', 'type': 'AS2AgreementContent'}, - 'x12': {'key': 'x12', 'type': 'X12AgreementContent'}, - 'edifact': {'key': 'edifact', 'type': 'EdifactAgreementContent'}, - } - - def __init__(self, **kwargs): - super(AgreementContent, self).__init__(**kwargs) - self.a_s2 = kwargs.get('a_s2', None) - self.x12 = kwargs.get('x12', None) - self.edifact = kwargs.get('edifact', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/agreement_content_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/agreement_content_py3.py deleted file mode 100644 index a0b8c0c0868a..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/agreement_content_py3.py +++ /dev/null @@ -1,36 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class AgreementContent(Model): - """The integration account agreement content. - - :param a_s2: The AS2 agreement content. - :type a_s2: ~azure.mgmt.logic.models.AS2AgreementContent - :param x12: The X12 agreement content. - :type x12: ~azure.mgmt.logic.models.X12AgreementContent - :param edifact: The EDIFACT agreement content. - :type edifact: ~azure.mgmt.logic.models.EdifactAgreementContent - """ - - _attribute_map = { - 'a_s2': {'key': 'aS2', 'type': 'AS2AgreementContent'}, - 'x12': {'key': 'x12', 'type': 'X12AgreementContent'}, - 'edifact': {'key': 'edifact', 'type': 'EdifactAgreementContent'}, - } - - def __init__(self, *, a_s2=None, x12=None, edifact=None, **kwargs) -> None: - super(AgreementContent, self).__init__(**kwargs) - self.a_s2 = a_s2 - self.x12 = x12 - self.edifact = edifact diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/artifact_content_properties_definition.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/artifact_content_properties_definition.py deleted file mode 100644 index 7a6e617e023b..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/artifact_content_properties_definition.py +++ /dev/null @@ -1,45 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from .artifact_properties import ArtifactProperties - - -class ArtifactContentPropertiesDefinition(ArtifactProperties): - """The artifact content properties definition. - - :param created_time: The artifact creation time. - :type created_time: datetime - :param changed_time: The artifact changed time. - :type changed_time: datetime - :param metadata: - :type metadata: object - :param content: - :type content: object - :param content_type: The content type. - :type content_type: str - :param content_link: The content link. - :type content_link: ~azure.mgmt.logic.models.ContentLink - """ - - _attribute_map = { - 'created_time': {'key': 'createdTime', 'type': 'iso-8601'}, - 'changed_time': {'key': 'changedTime', 'type': 'iso-8601'}, - 'metadata': {'key': 'metadata', 'type': 'object'}, - 'content': {'key': 'content', 'type': 'object'}, - 'content_type': {'key': 'contentType', 'type': 'str'}, - 'content_link': {'key': 'contentLink', 'type': 'ContentLink'}, - } - - def __init__(self, **kwargs): - super(ArtifactContentPropertiesDefinition, self).__init__(**kwargs) - self.content = kwargs.get('content', None) - self.content_type = kwargs.get('content_type', None) - self.content_link = kwargs.get('content_link', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/artifact_content_properties_definition_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/artifact_content_properties_definition_py3.py deleted file mode 100644 index 64690564073c..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/artifact_content_properties_definition_py3.py +++ /dev/null @@ -1,45 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from .artifact_properties_py3 import ArtifactProperties - - -class ArtifactContentPropertiesDefinition(ArtifactProperties): - """The artifact content properties definition. - - :param created_time: The artifact creation time. - :type created_time: datetime - :param changed_time: The artifact changed time. - :type changed_time: datetime - :param metadata: - :type metadata: object - :param content: - :type content: object - :param content_type: The content type. - :type content_type: str - :param content_link: The content link. - :type content_link: ~azure.mgmt.logic.models.ContentLink - """ - - _attribute_map = { - 'created_time': {'key': 'createdTime', 'type': 'iso-8601'}, - 'changed_time': {'key': 'changedTime', 'type': 'iso-8601'}, - 'metadata': {'key': 'metadata', 'type': 'object'}, - 'content': {'key': 'content', 'type': 'object'}, - 'content_type': {'key': 'contentType', 'type': 'str'}, - 'content_link': {'key': 'contentLink', 'type': 'ContentLink'}, - } - - def __init__(self, *, created_time=None, changed_time=None, metadata=None, content=None, content_type: str=None, content_link=None, **kwargs) -> None: - super(ArtifactContentPropertiesDefinition, self).__init__(created_time=created_time, changed_time=changed_time, metadata=metadata, **kwargs) - self.content = content - self.content_type = content_type - self.content_link = content_link diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/artifact_properties.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/artifact_properties.py deleted file mode 100644 index a2f3088a0fbf..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/artifact_properties.py +++ /dev/null @@ -1,36 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class ArtifactProperties(Model): - """The artifact properties definition. - - :param created_time: The artifact creation time. - :type created_time: datetime - :param changed_time: The artifact changed time. - :type changed_time: datetime - :param metadata: - :type metadata: object - """ - - _attribute_map = { - 'created_time': {'key': 'createdTime', 'type': 'iso-8601'}, - 'changed_time': {'key': 'changedTime', 'type': 'iso-8601'}, - 'metadata': {'key': 'metadata', 'type': 'object'}, - } - - def __init__(self, **kwargs): - super(ArtifactProperties, self).__init__(**kwargs) - self.created_time = kwargs.get('created_time', None) - self.changed_time = kwargs.get('changed_time', None) - self.metadata = kwargs.get('metadata', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/artifact_properties_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/artifact_properties_py3.py deleted file mode 100644 index cf7381007c5b..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/artifact_properties_py3.py +++ /dev/null @@ -1,36 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class ArtifactProperties(Model): - """The artifact properties definition. - - :param created_time: The artifact creation time. - :type created_time: datetime - :param changed_time: The artifact changed time. - :type changed_time: datetime - :param metadata: - :type metadata: object - """ - - _attribute_map = { - 'created_time': {'key': 'createdTime', 'type': 'iso-8601'}, - 'changed_time': {'key': 'changedTime', 'type': 'iso-8601'}, - 'metadata': {'key': 'metadata', 'type': 'object'}, - } - - def __init__(self, *, created_time=None, changed_time=None, metadata=None, **kwargs) -> None: - super(ArtifactProperties, self).__init__(**kwargs) - self.created_time = created_time - self.changed_time = changed_time - self.metadata = metadata diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/as2_acknowledgement_connection_settings.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/as2_acknowledgement_connection_settings.py deleted file mode 100644 index ed3f318153d3..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/as2_acknowledgement_connection_settings.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class AS2AcknowledgementConnectionSettings(Model): - """The AS2 agreement acknowledgement connection settings. - - All required parameters must be populated in order to send to Azure. - - :param ignore_certificate_name_mismatch: Required. The value indicating - whether to ignore mismatch in certificate name. - :type ignore_certificate_name_mismatch: bool - :param support_http_status_code_continue: Required. The value indicating - whether to support HTTP status code 'CONTINUE'. - :type support_http_status_code_continue: bool - :param keep_http_connection_alive: Required. The value indicating whether - to keep the connection alive. - :type keep_http_connection_alive: bool - :param unfold_http_headers: Required. The value indicating whether to - unfold the HTTP headers. - :type unfold_http_headers: bool - """ - - _validation = { - 'ignore_certificate_name_mismatch': {'required': True}, - 'support_http_status_code_continue': {'required': True}, - 'keep_http_connection_alive': {'required': True}, - 'unfold_http_headers': {'required': True}, - } - - _attribute_map = { - 'ignore_certificate_name_mismatch': {'key': 'ignoreCertificateNameMismatch', 'type': 'bool'}, - 'support_http_status_code_continue': {'key': 'supportHttpStatusCodeContinue', 'type': 'bool'}, - 'keep_http_connection_alive': {'key': 'keepHttpConnectionAlive', 'type': 'bool'}, - 'unfold_http_headers': {'key': 'unfoldHttpHeaders', 'type': 'bool'}, - } - - def __init__(self, **kwargs): - super(AS2AcknowledgementConnectionSettings, self).__init__(**kwargs) - self.ignore_certificate_name_mismatch = kwargs.get('ignore_certificate_name_mismatch', None) - self.support_http_status_code_continue = kwargs.get('support_http_status_code_continue', None) - self.keep_http_connection_alive = kwargs.get('keep_http_connection_alive', None) - self.unfold_http_headers = kwargs.get('unfold_http_headers', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/as2_acknowledgement_connection_settings_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/as2_acknowledgement_connection_settings_py3.py deleted file mode 100644 index 1b9fc2467be1..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/as2_acknowledgement_connection_settings_py3.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class AS2AcknowledgementConnectionSettings(Model): - """The AS2 agreement acknowledgement connection settings. - - All required parameters must be populated in order to send to Azure. - - :param ignore_certificate_name_mismatch: Required. The value indicating - whether to ignore mismatch in certificate name. - :type ignore_certificate_name_mismatch: bool - :param support_http_status_code_continue: Required. The value indicating - whether to support HTTP status code 'CONTINUE'. - :type support_http_status_code_continue: bool - :param keep_http_connection_alive: Required. The value indicating whether - to keep the connection alive. - :type keep_http_connection_alive: bool - :param unfold_http_headers: Required. The value indicating whether to - unfold the HTTP headers. - :type unfold_http_headers: bool - """ - - _validation = { - 'ignore_certificate_name_mismatch': {'required': True}, - 'support_http_status_code_continue': {'required': True}, - 'keep_http_connection_alive': {'required': True}, - 'unfold_http_headers': {'required': True}, - } - - _attribute_map = { - 'ignore_certificate_name_mismatch': {'key': 'ignoreCertificateNameMismatch', 'type': 'bool'}, - 'support_http_status_code_continue': {'key': 'supportHttpStatusCodeContinue', 'type': 'bool'}, - 'keep_http_connection_alive': {'key': 'keepHttpConnectionAlive', 'type': 'bool'}, - 'unfold_http_headers': {'key': 'unfoldHttpHeaders', 'type': 'bool'}, - } - - def __init__(self, *, ignore_certificate_name_mismatch: bool, support_http_status_code_continue: bool, keep_http_connection_alive: bool, unfold_http_headers: bool, **kwargs) -> None: - super(AS2AcknowledgementConnectionSettings, self).__init__(**kwargs) - self.ignore_certificate_name_mismatch = ignore_certificate_name_mismatch - self.support_http_status_code_continue = support_http_status_code_continue - self.keep_http_connection_alive = keep_http_connection_alive - self.unfold_http_headers = unfold_http_headers diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/as2_agreement_content.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/as2_agreement_content.py deleted file mode 100644 index 933c916cf751..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/as2_agreement_content.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class AS2AgreementContent(Model): - """The integration account AS2 agreement content. - - All required parameters must be populated in order to send to Azure. - - :param receive_agreement: Required. The AS2 one-way receive agreement. - :type receive_agreement: ~azure.mgmt.logic.models.AS2OneWayAgreement - :param send_agreement: Required. The AS2 one-way send agreement. - :type send_agreement: ~azure.mgmt.logic.models.AS2OneWayAgreement - """ - - _validation = { - 'receive_agreement': {'required': True}, - 'send_agreement': {'required': True}, - } - - _attribute_map = { - 'receive_agreement': {'key': 'receiveAgreement', 'type': 'AS2OneWayAgreement'}, - 'send_agreement': {'key': 'sendAgreement', 'type': 'AS2OneWayAgreement'}, - } - - def __init__(self, **kwargs): - super(AS2AgreementContent, self).__init__(**kwargs) - self.receive_agreement = kwargs.get('receive_agreement', None) - self.send_agreement = kwargs.get('send_agreement', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/as2_agreement_content_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/as2_agreement_content_py3.py deleted file mode 100644 index 2c20e5c4cc5d..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/as2_agreement_content_py3.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class AS2AgreementContent(Model): - """The integration account AS2 agreement content. - - All required parameters must be populated in order to send to Azure. - - :param receive_agreement: Required. The AS2 one-way receive agreement. - :type receive_agreement: ~azure.mgmt.logic.models.AS2OneWayAgreement - :param send_agreement: Required. The AS2 one-way send agreement. - :type send_agreement: ~azure.mgmt.logic.models.AS2OneWayAgreement - """ - - _validation = { - 'receive_agreement': {'required': True}, - 'send_agreement': {'required': True}, - } - - _attribute_map = { - 'receive_agreement': {'key': 'receiveAgreement', 'type': 'AS2OneWayAgreement'}, - 'send_agreement': {'key': 'sendAgreement', 'type': 'AS2OneWayAgreement'}, - } - - def __init__(self, *, receive_agreement, send_agreement, **kwargs) -> None: - super(AS2AgreementContent, self).__init__(**kwargs) - self.receive_agreement = receive_agreement - self.send_agreement = send_agreement diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/as2_envelope_settings.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/as2_envelope_settings.py deleted file mode 100644 index 1c912b9dfcdc..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/as2_envelope_settings.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class AS2EnvelopeSettings(Model): - """The AS2 agreement envelope settings. - - All required parameters must be populated in order to send to Azure. - - :param message_content_type: Required. The message content type. - :type message_content_type: str - :param transmit_file_name_in_mime_header: Required. The value indicating - whether to transmit file name in mime header. - :type transmit_file_name_in_mime_header: bool - :param file_name_template: Required. The template for file name. - :type file_name_template: str - :param suspend_message_on_file_name_generation_error: Required. The value - indicating whether to suspend message on file name generation error. - :type suspend_message_on_file_name_generation_error: bool - :param autogenerate_file_name: Required. The value indicating whether to - auto generate file name. - :type autogenerate_file_name: bool - """ - - _validation = { - 'message_content_type': {'required': True}, - 'transmit_file_name_in_mime_header': {'required': True}, - 'file_name_template': {'required': True}, - 'suspend_message_on_file_name_generation_error': {'required': True}, - 'autogenerate_file_name': {'required': True}, - } - - _attribute_map = { - 'message_content_type': {'key': 'messageContentType', 'type': 'str'}, - 'transmit_file_name_in_mime_header': {'key': 'transmitFileNameInMimeHeader', 'type': 'bool'}, - 'file_name_template': {'key': 'fileNameTemplate', 'type': 'str'}, - 'suspend_message_on_file_name_generation_error': {'key': 'suspendMessageOnFileNameGenerationError', 'type': 'bool'}, - 'autogenerate_file_name': {'key': 'autogenerateFileName', 'type': 'bool'}, - } - - def __init__(self, **kwargs): - super(AS2EnvelopeSettings, self).__init__(**kwargs) - self.message_content_type = kwargs.get('message_content_type', None) - self.transmit_file_name_in_mime_header = kwargs.get('transmit_file_name_in_mime_header', None) - self.file_name_template = kwargs.get('file_name_template', None) - self.suspend_message_on_file_name_generation_error = kwargs.get('suspend_message_on_file_name_generation_error', None) - self.autogenerate_file_name = kwargs.get('autogenerate_file_name', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/as2_envelope_settings_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/as2_envelope_settings_py3.py deleted file mode 100644 index a39fe640d9f6..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/as2_envelope_settings_py3.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class AS2EnvelopeSettings(Model): - """The AS2 agreement envelope settings. - - All required parameters must be populated in order to send to Azure. - - :param message_content_type: Required. The message content type. - :type message_content_type: str - :param transmit_file_name_in_mime_header: Required. The value indicating - whether to transmit file name in mime header. - :type transmit_file_name_in_mime_header: bool - :param file_name_template: Required. The template for file name. - :type file_name_template: str - :param suspend_message_on_file_name_generation_error: Required. The value - indicating whether to suspend message on file name generation error. - :type suspend_message_on_file_name_generation_error: bool - :param autogenerate_file_name: Required. The value indicating whether to - auto generate file name. - :type autogenerate_file_name: bool - """ - - _validation = { - 'message_content_type': {'required': True}, - 'transmit_file_name_in_mime_header': {'required': True}, - 'file_name_template': {'required': True}, - 'suspend_message_on_file_name_generation_error': {'required': True}, - 'autogenerate_file_name': {'required': True}, - } - - _attribute_map = { - 'message_content_type': {'key': 'messageContentType', 'type': 'str'}, - 'transmit_file_name_in_mime_header': {'key': 'transmitFileNameInMimeHeader', 'type': 'bool'}, - 'file_name_template': {'key': 'fileNameTemplate', 'type': 'str'}, - 'suspend_message_on_file_name_generation_error': {'key': 'suspendMessageOnFileNameGenerationError', 'type': 'bool'}, - 'autogenerate_file_name': {'key': 'autogenerateFileName', 'type': 'bool'}, - } - - def __init__(self, *, message_content_type: str, transmit_file_name_in_mime_header: bool, file_name_template: str, suspend_message_on_file_name_generation_error: bool, autogenerate_file_name: bool, **kwargs) -> None: - super(AS2EnvelopeSettings, self).__init__(**kwargs) - self.message_content_type = message_content_type - self.transmit_file_name_in_mime_header = transmit_file_name_in_mime_header - self.file_name_template = file_name_template - self.suspend_message_on_file_name_generation_error = suspend_message_on_file_name_generation_error - self.autogenerate_file_name = autogenerate_file_name diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/as2_error_settings.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/as2_error_settings.py deleted file mode 100644 index 3279147b5ee9..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/as2_error_settings.py +++ /dev/null @@ -1,41 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class AS2ErrorSettings(Model): - """The AS2 agreement error settings. - - All required parameters must be populated in order to send to Azure. - - :param suspend_duplicate_message: Required. The value indicating whether - to suspend duplicate message. - :type suspend_duplicate_message: bool - :param resend_if_mdn_not_received: Required. The value indicating whether - to resend message If MDN is not received. - :type resend_if_mdn_not_received: bool - """ - - _validation = { - 'suspend_duplicate_message': {'required': True}, - 'resend_if_mdn_not_received': {'required': True}, - } - - _attribute_map = { - 'suspend_duplicate_message': {'key': 'suspendDuplicateMessage', 'type': 'bool'}, - 'resend_if_mdn_not_received': {'key': 'resendIfMDNNotReceived', 'type': 'bool'}, - } - - def __init__(self, **kwargs): - super(AS2ErrorSettings, self).__init__(**kwargs) - self.suspend_duplicate_message = kwargs.get('suspend_duplicate_message', None) - self.resend_if_mdn_not_received = kwargs.get('resend_if_mdn_not_received', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/as2_error_settings_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/as2_error_settings_py3.py deleted file mode 100644 index a149add69b12..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/as2_error_settings_py3.py +++ /dev/null @@ -1,41 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class AS2ErrorSettings(Model): - """The AS2 agreement error settings. - - All required parameters must be populated in order to send to Azure. - - :param suspend_duplicate_message: Required. The value indicating whether - to suspend duplicate message. - :type suspend_duplicate_message: bool - :param resend_if_mdn_not_received: Required. The value indicating whether - to resend message If MDN is not received. - :type resend_if_mdn_not_received: bool - """ - - _validation = { - 'suspend_duplicate_message': {'required': True}, - 'resend_if_mdn_not_received': {'required': True}, - } - - _attribute_map = { - 'suspend_duplicate_message': {'key': 'suspendDuplicateMessage', 'type': 'bool'}, - 'resend_if_mdn_not_received': {'key': 'resendIfMDNNotReceived', 'type': 'bool'}, - } - - def __init__(self, *, suspend_duplicate_message: bool, resend_if_mdn_not_received: bool, **kwargs) -> None: - super(AS2ErrorSettings, self).__init__(**kwargs) - self.suspend_duplicate_message = suspend_duplicate_message - self.resend_if_mdn_not_received = resend_if_mdn_not_received diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/as2_mdn_settings.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/as2_mdn_settings.py deleted file mode 100644 index 9a6d9cbbe90b..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/as2_mdn_settings.py +++ /dev/null @@ -1,80 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class AS2MdnSettings(Model): - """The AS2 agreement mdn settings. - - All required parameters must be populated in order to send to Azure. - - :param need_mdn: Required. The value indicating whether to send or request - a MDN. - :type need_mdn: bool - :param sign_mdn: Required. The value indicating whether the MDN needs to - be signed or not. - :type sign_mdn: bool - :param send_mdn_asynchronously: Required. The value indicating whether to - send the asynchronous MDN. - :type send_mdn_asynchronously: bool - :param receipt_delivery_url: The receipt delivery URL. - :type receipt_delivery_url: str - :param disposition_notification_to: The disposition notification to header - value. - :type disposition_notification_to: str - :param sign_outbound_mdn_if_optional: Required. The value indicating - whether to sign the outbound MDN if optional. - :type sign_outbound_mdn_if_optional: bool - :param mdn_text: The MDN text. - :type mdn_text: str - :param send_inbound_mdn_to_message_box: Required. The value indicating - whether to send inbound MDN to message box. - :type send_inbound_mdn_to_message_box: bool - :param mic_hashing_algorithm: Required. The signing or hashing algorithm. - Possible values include: 'NotSpecified', 'None', 'MD5', 'SHA1', 'SHA2256', - 'SHA2384', 'SHA2512' - :type mic_hashing_algorithm: str or - ~azure.mgmt.logic.models.HashingAlgorithm - """ - - _validation = { - 'need_mdn': {'required': True}, - 'sign_mdn': {'required': True}, - 'send_mdn_asynchronously': {'required': True}, - 'sign_outbound_mdn_if_optional': {'required': True}, - 'send_inbound_mdn_to_message_box': {'required': True}, - 'mic_hashing_algorithm': {'required': True}, - } - - _attribute_map = { - 'need_mdn': {'key': 'needMDN', 'type': 'bool'}, - 'sign_mdn': {'key': 'signMDN', 'type': 'bool'}, - 'send_mdn_asynchronously': {'key': 'sendMDNAsynchronously', 'type': 'bool'}, - 'receipt_delivery_url': {'key': 'receiptDeliveryUrl', 'type': 'str'}, - 'disposition_notification_to': {'key': 'dispositionNotificationTo', 'type': 'str'}, - 'sign_outbound_mdn_if_optional': {'key': 'signOutboundMDNIfOptional', 'type': 'bool'}, - 'mdn_text': {'key': 'mdnText', 'type': 'str'}, - 'send_inbound_mdn_to_message_box': {'key': 'sendInboundMDNToMessageBox', 'type': 'bool'}, - 'mic_hashing_algorithm': {'key': 'micHashingAlgorithm', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(AS2MdnSettings, self).__init__(**kwargs) - self.need_mdn = kwargs.get('need_mdn', None) - self.sign_mdn = kwargs.get('sign_mdn', None) - self.send_mdn_asynchronously = kwargs.get('send_mdn_asynchronously', None) - self.receipt_delivery_url = kwargs.get('receipt_delivery_url', None) - self.disposition_notification_to = kwargs.get('disposition_notification_to', None) - self.sign_outbound_mdn_if_optional = kwargs.get('sign_outbound_mdn_if_optional', None) - self.mdn_text = kwargs.get('mdn_text', None) - self.send_inbound_mdn_to_message_box = kwargs.get('send_inbound_mdn_to_message_box', None) - self.mic_hashing_algorithm = kwargs.get('mic_hashing_algorithm', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/as2_mdn_settings_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/as2_mdn_settings_py3.py deleted file mode 100644 index 9ecf6010005d..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/as2_mdn_settings_py3.py +++ /dev/null @@ -1,80 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class AS2MdnSettings(Model): - """The AS2 agreement mdn settings. - - All required parameters must be populated in order to send to Azure. - - :param need_mdn: Required. The value indicating whether to send or request - a MDN. - :type need_mdn: bool - :param sign_mdn: Required. The value indicating whether the MDN needs to - be signed or not. - :type sign_mdn: bool - :param send_mdn_asynchronously: Required. The value indicating whether to - send the asynchronous MDN. - :type send_mdn_asynchronously: bool - :param receipt_delivery_url: The receipt delivery URL. - :type receipt_delivery_url: str - :param disposition_notification_to: The disposition notification to header - value. - :type disposition_notification_to: str - :param sign_outbound_mdn_if_optional: Required. The value indicating - whether to sign the outbound MDN if optional. - :type sign_outbound_mdn_if_optional: bool - :param mdn_text: The MDN text. - :type mdn_text: str - :param send_inbound_mdn_to_message_box: Required. The value indicating - whether to send inbound MDN to message box. - :type send_inbound_mdn_to_message_box: bool - :param mic_hashing_algorithm: Required. The signing or hashing algorithm. - Possible values include: 'NotSpecified', 'None', 'MD5', 'SHA1', 'SHA2256', - 'SHA2384', 'SHA2512' - :type mic_hashing_algorithm: str or - ~azure.mgmt.logic.models.HashingAlgorithm - """ - - _validation = { - 'need_mdn': {'required': True}, - 'sign_mdn': {'required': True}, - 'send_mdn_asynchronously': {'required': True}, - 'sign_outbound_mdn_if_optional': {'required': True}, - 'send_inbound_mdn_to_message_box': {'required': True}, - 'mic_hashing_algorithm': {'required': True}, - } - - _attribute_map = { - 'need_mdn': {'key': 'needMDN', 'type': 'bool'}, - 'sign_mdn': {'key': 'signMDN', 'type': 'bool'}, - 'send_mdn_asynchronously': {'key': 'sendMDNAsynchronously', 'type': 'bool'}, - 'receipt_delivery_url': {'key': 'receiptDeliveryUrl', 'type': 'str'}, - 'disposition_notification_to': {'key': 'dispositionNotificationTo', 'type': 'str'}, - 'sign_outbound_mdn_if_optional': {'key': 'signOutboundMDNIfOptional', 'type': 'bool'}, - 'mdn_text': {'key': 'mdnText', 'type': 'str'}, - 'send_inbound_mdn_to_message_box': {'key': 'sendInboundMDNToMessageBox', 'type': 'bool'}, - 'mic_hashing_algorithm': {'key': 'micHashingAlgorithm', 'type': 'str'}, - } - - def __init__(self, *, need_mdn: bool, sign_mdn: bool, send_mdn_asynchronously: bool, sign_outbound_mdn_if_optional: bool, send_inbound_mdn_to_message_box: bool, mic_hashing_algorithm, receipt_delivery_url: str=None, disposition_notification_to: str=None, mdn_text: str=None, **kwargs) -> None: - super(AS2MdnSettings, self).__init__(**kwargs) - self.need_mdn = need_mdn - self.sign_mdn = sign_mdn - self.send_mdn_asynchronously = send_mdn_asynchronously - self.receipt_delivery_url = receipt_delivery_url - self.disposition_notification_to = disposition_notification_to - self.sign_outbound_mdn_if_optional = sign_outbound_mdn_if_optional - self.mdn_text = mdn_text - self.send_inbound_mdn_to_message_box = send_inbound_mdn_to_message_box - self.mic_hashing_algorithm = mic_hashing_algorithm diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/as2_message_connection_settings.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/as2_message_connection_settings.py deleted file mode 100644 index 887855c734f9..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/as2_message_connection_settings.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class AS2MessageConnectionSettings(Model): - """The AS2 agreement message connection settings. - - All required parameters must be populated in order to send to Azure. - - :param ignore_certificate_name_mismatch: Required. The value indicating - whether to ignore mismatch in certificate name. - :type ignore_certificate_name_mismatch: bool - :param support_http_status_code_continue: Required. The value indicating - whether to support HTTP status code 'CONTINUE'. - :type support_http_status_code_continue: bool - :param keep_http_connection_alive: Required. The value indicating whether - to keep the connection alive. - :type keep_http_connection_alive: bool - :param unfold_http_headers: Required. The value indicating whether to - unfold the HTTP headers. - :type unfold_http_headers: bool - """ - - _validation = { - 'ignore_certificate_name_mismatch': {'required': True}, - 'support_http_status_code_continue': {'required': True}, - 'keep_http_connection_alive': {'required': True}, - 'unfold_http_headers': {'required': True}, - } - - _attribute_map = { - 'ignore_certificate_name_mismatch': {'key': 'ignoreCertificateNameMismatch', 'type': 'bool'}, - 'support_http_status_code_continue': {'key': 'supportHttpStatusCodeContinue', 'type': 'bool'}, - 'keep_http_connection_alive': {'key': 'keepHttpConnectionAlive', 'type': 'bool'}, - 'unfold_http_headers': {'key': 'unfoldHttpHeaders', 'type': 'bool'}, - } - - def __init__(self, **kwargs): - super(AS2MessageConnectionSettings, self).__init__(**kwargs) - self.ignore_certificate_name_mismatch = kwargs.get('ignore_certificate_name_mismatch', None) - self.support_http_status_code_continue = kwargs.get('support_http_status_code_continue', None) - self.keep_http_connection_alive = kwargs.get('keep_http_connection_alive', None) - self.unfold_http_headers = kwargs.get('unfold_http_headers', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/as2_message_connection_settings_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/as2_message_connection_settings_py3.py deleted file mode 100644 index 377250f5802f..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/as2_message_connection_settings_py3.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class AS2MessageConnectionSettings(Model): - """The AS2 agreement message connection settings. - - All required parameters must be populated in order to send to Azure. - - :param ignore_certificate_name_mismatch: Required. The value indicating - whether to ignore mismatch in certificate name. - :type ignore_certificate_name_mismatch: bool - :param support_http_status_code_continue: Required. The value indicating - whether to support HTTP status code 'CONTINUE'. - :type support_http_status_code_continue: bool - :param keep_http_connection_alive: Required. The value indicating whether - to keep the connection alive. - :type keep_http_connection_alive: bool - :param unfold_http_headers: Required. The value indicating whether to - unfold the HTTP headers. - :type unfold_http_headers: bool - """ - - _validation = { - 'ignore_certificate_name_mismatch': {'required': True}, - 'support_http_status_code_continue': {'required': True}, - 'keep_http_connection_alive': {'required': True}, - 'unfold_http_headers': {'required': True}, - } - - _attribute_map = { - 'ignore_certificate_name_mismatch': {'key': 'ignoreCertificateNameMismatch', 'type': 'bool'}, - 'support_http_status_code_continue': {'key': 'supportHttpStatusCodeContinue', 'type': 'bool'}, - 'keep_http_connection_alive': {'key': 'keepHttpConnectionAlive', 'type': 'bool'}, - 'unfold_http_headers': {'key': 'unfoldHttpHeaders', 'type': 'bool'}, - } - - def __init__(self, *, ignore_certificate_name_mismatch: bool, support_http_status_code_continue: bool, keep_http_connection_alive: bool, unfold_http_headers: bool, **kwargs) -> None: - super(AS2MessageConnectionSettings, self).__init__(**kwargs) - self.ignore_certificate_name_mismatch = ignore_certificate_name_mismatch - self.support_http_status_code_continue = support_http_status_code_continue - self.keep_http_connection_alive = keep_http_connection_alive - self.unfold_http_headers = unfold_http_headers diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/as2_one_way_agreement.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/as2_one_way_agreement.py deleted file mode 100644 index 1f75e787d1da..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/as2_one_way_agreement.py +++ /dev/null @@ -1,46 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class AS2OneWayAgreement(Model): - """The integration account AS2 one-way agreement. - - All required parameters must be populated in order to send to Azure. - - :param sender_business_identity: Required. The sender business identity - :type sender_business_identity: ~azure.mgmt.logic.models.BusinessIdentity - :param receiver_business_identity: Required. The receiver business - identity - :type receiver_business_identity: - ~azure.mgmt.logic.models.BusinessIdentity - :param protocol_settings: Required. The AS2 protocol settings. - :type protocol_settings: ~azure.mgmt.logic.models.AS2ProtocolSettings - """ - - _validation = { - 'sender_business_identity': {'required': True}, - 'receiver_business_identity': {'required': True}, - 'protocol_settings': {'required': True}, - } - - _attribute_map = { - 'sender_business_identity': {'key': 'senderBusinessIdentity', 'type': 'BusinessIdentity'}, - 'receiver_business_identity': {'key': 'receiverBusinessIdentity', 'type': 'BusinessIdentity'}, - 'protocol_settings': {'key': 'protocolSettings', 'type': 'AS2ProtocolSettings'}, - } - - def __init__(self, **kwargs): - super(AS2OneWayAgreement, self).__init__(**kwargs) - self.sender_business_identity = kwargs.get('sender_business_identity', None) - self.receiver_business_identity = kwargs.get('receiver_business_identity', None) - self.protocol_settings = kwargs.get('protocol_settings', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/as2_one_way_agreement_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/as2_one_way_agreement_py3.py deleted file mode 100644 index 54315da2006a..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/as2_one_way_agreement_py3.py +++ /dev/null @@ -1,46 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class AS2OneWayAgreement(Model): - """The integration account AS2 one-way agreement. - - All required parameters must be populated in order to send to Azure. - - :param sender_business_identity: Required. The sender business identity - :type sender_business_identity: ~azure.mgmt.logic.models.BusinessIdentity - :param receiver_business_identity: Required. The receiver business - identity - :type receiver_business_identity: - ~azure.mgmt.logic.models.BusinessIdentity - :param protocol_settings: Required. The AS2 protocol settings. - :type protocol_settings: ~azure.mgmt.logic.models.AS2ProtocolSettings - """ - - _validation = { - 'sender_business_identity': {'required': True}, - 'receiver_business_identity': {'required': True}, - 'protocol_settings': {'required': True}, - } - - _attribute_map = { - 'sender_business_identity': {'key': 'senderBusinessIdentity', 'type': 'BusinessIdentity'}, - 'receiver_business_identity': {'key': 'receiverBusinessIdentity', 'type': 'BusinessIdentity'}, - 'protocol_settings': {'key': 'protocolSettings', 'type': 'AS2ProtocolSettings'}, - } - - def __init__(self, *, sender_business_identity, receiver_business_identity, protocol_settings, **kwargs) -> None: - super(AS2OneWayAgreement, self).__init__(**kwargs) - self.sender_business_identity = sender_business_identity - self.receiver_business_identity = receiver_business_identity - self.protocol_settings = protocol_settings diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/as2_protocol_settings.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/as2_protocol_settings.py deleted file mode 100644 index 1c79994dd5fd..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/as2_protocol_settings.py +++ /dev/null @@ -1,68 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class AS2ProtocolSettings(Model): - """The AS2 agreement protocol settings. - - All required parameters must be populated in order to send to Azure. - - :param message_connection_settings: Required. The message connection - settings. - :type message_connection_settings: - ~azure.mgmt.logic.models.AS2MessageConnectionSettings - :param acknowledgement_connection_settings: Required. The acknowledgement - connection settings. - :type acknowledgement_connection_settings: - ~azure.mgmt.logic.models.AS2AcknowledgementConnectionSettings - :param mdn_settings: Required. The MDN settings. - :type mdn_settings: ~azure.mgmt.logic.models.AS2MdnSettings - :param security_settings: Required. The security settings. - :type security_settings: ~azure.mgmt.logic.models.AS2SecuritySettings - :param validation_settings: Required. The validation settings. - :type validation_settings: ~azure.mgmt.logic.models.AS2ValidationSettings - :param envelope_settings: Required. The envelope settings. - :type envelope_settings: ~azure.mgmt.logic.models.AS2EnvelopeSettings - :param error_settings: Required. The error settings. - :type error_settings: ~azure.mgmt.logic.models.AS2ErrorSettings - """ - - _validation = { - 'message_connection_settings': {'required': True}, - 'acknowledgement_connection_settings': {'required': True}, - 'mdn_settings': {'required': True}, - 'security_settings': {'required': True}, - 'validation_settings': {'required': True}, - 'envelope_settings': {'required': True}, - 'error_settings': {'required': True}, - } - - _attribute_map = { - 'message_connection_settings': {'key': 'messageConnectionSettings', 'type': 'AS2MessageConnectionSettings'}, - 'acknowledgement_connection_settings': {'key': 'acknowledgementConnectionSettings', 'type': 'AS2AcknowledgementConnectionSettings'}, - 'mdn_settings': {'key': 'mdnSettings', 'type': 'AS2MdnSettings'}, - 'security_settings': {'key': 'securitySettings', 'type': 'AS2SecuritySettings'}, - 'validation_settings': {'key': 'validationSettings', 'type': 'AS2ValidationSettings'}, - 'envelope_settings': {'key': 'envelopeSettings', 'type': 'AS2EnvelopeSettings'}, - 'error_settings': {'key': 'errorSettings', 'type': 'AS2ErrorSettings'}, - } - - def __init__(self, **kwargs): - super(AS2ProtocolSettings, self).__init__(**kwargs) - self.message_connection_settings = kwargs.get('message_connection_settings', None) - self.acknowledgement_connection_settings = kwargs.get('acknowledgement_connection_settings', None) - self.mdn_settings = kwargs.get('mdn_settings', None) - self.security_settings = kwargs.get('security_settings', None) - self.validation_settings = kwargs.get('validation_settings', None) - self.envelope_settings = kwargs.get('envelope_settings', None) - self.error_settings = kwargs.get('error_settings', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/as2_protocol_settings_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/as2_protocol_settings_py3.py deleted file mode 100644 index 217fdc55147d..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/as2_protocol_settings_py3.py +++ /dev/null @@ -1,68 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class AS2ProtocolSettings(Model): - """The AS2 agreement protocol settings. - - All required parameters must be populated in order to send to Azure. - - :param message_connection_settings: Required. The message connection - settings. - :type message_connection_settings: - ~azure.mgmt.logic.models.AS2MessageConnectionSettings - :param acknowledgement_connection_settings: Required. The acknowledgement - connection settings. - :type acknowledgement_connection_settings: - ~azure.mgmt.logic.models.AS2AcknowledgementConnectionSettings - :param mdn_settings: Required. The MDN settings. - :type mdn_settings: ~azure.mgmt.logic.models.AS2MdnSettings - :param security_settings: Required. The security settings. - :type security_settings: ~azure.mgmt.logic.models.AS2SecuritySettings - :param validation_settings: Required. The validation settings. - :type validation_settings: ~azure.mgmt.logic.models.AS2ValidationSettings - :param envelope_settings: Required. The envelope settings. - :type envelope_settings: ~azure.mgmt.logic.models.AS2EnvelopeSettings - :param error_settings: Required. The error settings. - :type error_settings: ~azure.mgmt.logic.models.AS2ErrorSettings - """ - - _validation = { - 'message_connection_settings': {'required': True}, - 'acknowledgement_connection_settings': {'required': True}, - 'mdn_settings': {'required': True}, - 'security_settings': {'required': True}, - 'validation_settings': {'required': True}, - 'envelope_settings': {'required': True}, - 'error_settings': {'required': True}, - } - - _attribute_map = { - 'message_connection_settings': {'key': 'messageConnectionSettings', 'type': 'AS2MessageConnectionSettings'}, - 'acknowledgement_connection_settings': {'key': 'acknowledgementConnectionSettings', 'type': 'AS2AcknowledgementConnectionSettings'}, - 'mdn_settings': {'key': 'mdnSettings', 'type': 'AS2MdnSettings'}, - 'security_settings': {'key': 'securitySettings', 'type': 'AS2SecuritySettings'}, - 'validation_settings': {'key': 'validationSettings', 'type': 'AS2ValidationSettings'}, - 'envelope_settings': {'key': 'envelopeSettings', 'type': 'AS2EnvelopeSettings'}, - 'error_settings': {'key': 'errorSettings', 'type': 'AS2ErrorSettings'}, - } - - def __init__(self, *, message_connection_settings, acknowledgement_connection_settings, mdn_settings, security_settings, validation_settings, envelope_settings, error_settings, **kwargs) -> None: - super(AS2ProtocolSettings, self).__init__(**kwargs) - self.message_connection_settings = message_connection_settings - self.acknowledgement_connection_settings = acknowledgement_connection_settings - self.mdn_settings = mdn_settings - self.security_settings = security_settings - self.validation_settings = validation_settings - self.envelope_settings = envelope_settings - self.error_settings = error_settings diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/as2_security_settings.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/as2_security_settings.py deleted file mode 100644 index dfefc91ef3c4..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/as2_security_settings.py +++ /dev/null @@ -1,85 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class AS2SecuritySettings(Model): - """The AS2 agreement security settings. - - All required parameters must be populated in order to send to Azure. - - :param override_group_signing_certificate: Required. The value indicating - whether to send or request a MDN. - :type override_group_signing_certificate: bool - :param signing_certificate_name: The name of the signing certificate. - :type signing_certificate_name: str - :param encryption_certificate_name: The name of the encryption - certificate. - :type encryption_certificate_name: str - :param enable_nrr_for_inbound_encoded_messages: Required. The value - indicating whether to enable NRR for inbound encoded messages. - :type enable_nrr_for_inbound_encoded_messages: bool - :param enable_nrr_for_inbound_decoded_messages: Required. The value - indicating whether to enable NRR for inbound decoded messages. - :type enable_nrr_for_inbound_decoded_messages: bool - :param enable_nrr_for_outbound_mdn: Required. The value indicating whether - to enable NRR for outbound MDN. - :type enable_nrr_for_outbound_mdn: bool - :param enable_nrr_for_outbound_encoded_messages: Required. The value - indicating whether to enable NRR for outbound encoded messages. - :type enable_nrr_for_outbound_encoded_messages: bool - :param enable_nrr_for_outbound_decoded_messages: Required. The value - indicating whether to enable NRR for outbound decoded messages. - :type enable_nrr_for_outbound_decoded_messages: bool - :param enable_nrr_for_inbound_mdn: Required. The value indicating whether - to enable NRR for inbound MDN. - :type enable_nrr_for_inbound_mdn: bool - :param sha2_algorithm_format: The Sha2 algorithm format. Valid values are - Sha2, ShaHashSize, ShaHyphenHashSize, Sha2UnderscoreHashSize. - :type sha2_algorithm_format: str - """ - - _validation = { - 'override_group_signing_certificate': {'required': True}, - 'enable_nrr_for_inbound_encoded_messages': {'required': True}, - 'enable_nrr_for_inbound_decoded_messages': {'required': True}, - 'enable_nrr_for_outbound_mdn': {'required': True}, - 'enable_nrr_for_outbound_encoded_messages': {'required': True}, - 'enable_nrr_for_outbound_decoded_messages': {'required': True}, - 'enable_nrr_for_inbound_mdn': {'required': True}, - } - - _attribute_map = { - 'override_group_signing_certificate': {'key': 'overrideGroupSigningCertificate', 'type': 'bool'}, - 'signing_certificate_name': {'key': 'signingCertificateName', 'type': 'str'}, - 'encryption_certificate_name': {'key': 'encryptionCertificateName', 'type': 'str'}, - 'enable_nrr_for_inbound_encoded_messages': {'key': 'enableNRRForInboundEncodedMessages', 'type': 'bool'}, - 'enable_nrr_for_inbound_decoded_messages': {'key': 'enableNRRForInboundDecodedMessages', 'type': 'bool'}, - 'enable_nrr_for_outbound_mdn': {'key': 'enableNRRForOutboundMDN', 'type': 'bool'}, - 'enable_nrr_for_outbound_encoded_messages': {'key': 'enableNRRForOutboundEncodedMessages', 'type': 'bool'}, - 'enable_nrr_for_outbound_decoded_messages': {'key': 'enableNRRForOutboundDecodedMessages', 'type': 'bool'}, - 'enable_nrr_for_inbound_mdn': {'key': 'enableNRRForInboundMDN', 'type': 'bool'}, - 'sha2_algorithm_format': {'key': 'sha2AlgorithmFormat', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(AS2SecuritySettings, self).__init__(**kwargs) - self.override_group_signing_certificate = kwargs.get('override_group_signing_certificate', None) - self.signing_certificate_name = kwargs.get('signing_certificate_name', None) - self.encryption_certificate_name = kwargs.get('encryption_certificate_name', None) - self.enable_nrr_for_inbound_encoded_messages = kwargs.get('enable_nrr_for_inbound_encoded_messages', None) - self.enable_nrr_for_inbound_decoded_messages = kwargs.get('enable_nrr_for_inbound_decoded_messages', None) - self.enable_nrr_for_outbound_mdn = kwargs.get('enable_nrr_for_outbound_mdn', None) - self.enable_nrr_for_outbound_encoded_messages = kwargs.get('enable_nrr_for_outbound_encoded_messages', None) - self.enable_nrr_for_outbound_decoded_messages = kwargs.get('enable_nrr_for_outbound_decoded_messages', None) - self.enable_nrr_for_inbound_mdn = kwargs.get('enable_nrr_for_inbound_mdn', None) - self.sha2_algorithm_format = kwargs.get('sha2_algorithm_format', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/as2_security_settings_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/as2_security_settings_py3.py deleted file mode 100644 index 47f6b62c209f..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/as2_security_settings_py3.py +++ /dev/null @@ -1,85 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class AS2SecuritySettings(Model): - """The AS2 agreement security settings. - - All required parameters must be populated in order to send to Azure. - - :param override_group_signing_certificate: Required. The value indicating - whether to send or request a MDN. - :type override_group_signing_certificate: bool - :param signing_certificate_name: The name of the signing certificate. - :type signing_certificate_name: str - :param encryption_certificate_name: The name of the encryption - certificate. - :type encryption_certificate_name: str - :param enable_nrr_for_inbound_encoded_messages: Required. The value - indicating whether to enable NRR for inbound encoded messages. - :type enable_nrr_for_inbound_encoded_messages: bool - :param enable_nrr_for_inbound_decoded_messages: Required. The value - indicating whether to enable NRR for inbound decoded messages. - :type enable_nrr_for_inbound_decoded_messages: bool - :param enable_nrr_for_outbound_mdn: Required. The value indicating whether - to enable NRR for outbound MDN. - :type enable_nrr_for_outbound_mdn: bool - :param enable_nrr_for_outbound_encoded_messages: Required. The value - indicating whether to enable NRR for outbound encoded messages. - :type enable_nrr_for_outbound_encoded_messages: bool - :param enable_nrr_for_outbound_decoded_messages: Required. The value - indicating whether to enable NRR for outbound decoded messages. - :type enable_nrr_for_outbound_decoded_messages: bool - :param enable_nrr_for_inbound_mdn: Required. The value indicating whether - to enable NRR for inbound MDN. - :type enable_nrr_for_inbound_mdn: bool - :param sha2_algorithm_format: The Sha2 algorithm format. Valid values are - Sha2, ShaHashSize, ShaHyphenHashSize, Sha2UnderscoreHashSize. - :type sha2_algorithm_format: str - """ - - _validation = { - 'override_group_signing_certificate': {'required': True}, - 'enable_nrr_for_inbound_encoded_messages': {'required': True}, - 'enable_nrr_for_inbound_decoded_messages': {'required': True}, - 'enable_nrr_for_outbound_mdn': {'required': True}, - 'enable_nrr_for_outbound_encoded_messages': {'required': True}, - 'enable_nrr_for_outbound_decoded_messages': {'required': True}, - 'enable_nrr_for_inbound_mdn': {'required': True}, - } - - _attribute_map = { - 'override_group_signing_certificate': {'key': 'overrideGroupSigningCertificate', 'type': 'bool'}, - 'signing_certificate_name': {'key': 'signingCertificateName', 'type': 'str'}, - 'encryption_certificate_name': {'key': 'encryptionCertificateName', 'type': 'str'}, - 'enable_nrr_for_inbound_encoded_messages': {'key': 'enableNRRForInboundEncodedMessages', 'type': 'bool'}, - 'enable_nrr_for_inbound_decoded_messages': {'key': 'enableNRRForInboundDecodedMessages', 'type': 'bool'}, - 'enable_nrr_for_outbound_mdn': {'key': 'enableNRRForOutboundMDN', 'type': 'bool'}, - 'enable_nrr_for_outbound_encoded_messages': {'key': 'enableNRRForOutboundEncodedMessages', 'type': 'bool'}, - 'enable_nrr_for_outbound_decoded_messages': {'key': 'enableNRRForOutboundDecodedMessages', 'type': 'bool'}, - 'enable_nrr_for_inbound_mdn': {'key': 'enableNRRForInboundMDN', 'type': 'bool'}, - 'sha2_algorithm_format': {'key': 'sha2AlgorithmFormat', 'type': 'str'}, - } - - def __init__(self, *, override_group_signing_certificate: bool, enable_nrr_for_inbound_encoded_messages: bool, enable_nrr_for_inbound_decoded_messages: bool, enable_nrr_for_outbound_mdn: bool, enable_nrr_for_outbound_encoded_messages: bool, enable_nrr_for_outbound_decoded_messages: bool, enable_nrr_for_inbound_mdn: bool, signing_certificate_name: str=None, encryption_certificate_name: str=None, sha2_algorithm_format: str=None, **kwargs) -> None: - super(AS2SecuritySettings, self).__init__(**kwargs) - self.override_group_signing_certificate = override_group_signing_certificate - self.signing_certificate_name = signing_certificate_name - self.encryption_certificate_name = encryption_certificate_name - self.enable_nrr_for_inbound_encoded_messages = enable_nrr_for_inbound_encoded_messages - self.enable_nrr_for_inbound_decoded_messages = enable_nrr_for_inbound_decoded_messages - self.enable_nrr_for_outbound_mdn = enable_nrr_for_outbound_mdn - self.enable_nrr_for_outbound_encoded_messages = enable_nrr_for_outbound_encoded_messages - self.enable_nrr_for_outbound_decoded_messages = enable_nrr_for_outbound_decoded_messages - self.enable_nrr_for_inbound_mdn = enable_nrr_for_inbound_mdn - self.sha2_algorithm_format = sha2_algorithm_format diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/as2_validation_settings.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/as2_validation_settings.py deleted file mode 100644 index e5b7aee2eba5..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/as2_validation_settings.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class AS2ValidationSettings(Model): - """The AS2 agreement validation settings. - - All required parameters must be populated in order to send to Azure. - - :param override_message_properties: Required. The value indicating whether - to override incoming message properties with those in agreement. - :type override_message_properties: bool - :param encrypt_message: Required. The value indicating whether the message - has to be encrypted. - :type encrypt_message: bool - :param sign_message: Required. The value indicating whether the message - has to be signed. - :type sign_message: bool - :param compress_message: Required. The value indicating whether the - message has to be compressed. - :type compress_message: bool - :param check_duplicate_message: Required. The value indicating whether to - check for duplicate message. - :type check_duplicate_message: bool - :param interchange_duplicates_validity_days: Required. The number of days - to look back for duplicate interchange. - :type interchange_duplicates_validity_days: int - :param check_certificate_revocation_list_on_send: Required. The value - indicating whether to check for certificate revocation list on send. - :type check_certificate_revocation_list_on_send: bool - :param check_certificate_revocation_list_on_receive: Required. The value - indicating whether to check for certificate revocation list on receive. - :type check_certificate_revocation_list_on_receive: bool - :param encryption_algorithm: Required. The encryption algorithm. Possible - values include: 'NotSpecified', 'None', 'DES3', 'RC2', 'AES128', 'AES192', - 'AES256' - :type encryption_algorithm: str or - ~azure.mgmt.logic.models.EncryptionAlgorithm - :param signing_algorithm: The signing algorithm. Possible values include: - 'NotSpecified', 'Default', 'SHA1', 'SHA2256', 'SHA2384', 'SHA2512' - :type signing_algorithm: str or ~azure.mgmt.logic.models.SigningAlgorithm - """ - - _validation = { - 'override_message_properties': {'required': True}, - 'encrypt_message': {'required': True}, - 'sign_message': {'required': True}, - 'compress_message': {'required': True}, - 'check_duplicate_message': {'required': True}, - 'interchange_duplicates_validity_days': {'required': True}, - 'check_certificate_revocation_list_on_send': {'required': True}, - 'check_certificate_revocation_list_on_receive': {'required': True}, - 'encryption_algorithm': {'required': True}, - } - - _attribute_map = { - 'override_message_properties': {'key': 'overrideMessageProperties', 'type': 'bool'}, - 'encrypt_message': {'key': 'encryptMessage', 'type': 'bool'}, - 'sign_message': {'key': 'signMessage', 'type': 'bool'}, - 'compress_message': {'key': 'compressMessage', 'type': 'bool'}, - 'check_duplicate_message': {'key': 'checkDuplicateMessage', 'type': 'bool'}, - 'interchange_duplicates_validity_days': {'key': 'interchangeDuplicatesValidityDays', 'type': 'int'}, - 'check_certificate_revocation_list_on_send': {'key': 'checkCertificateRevocationListOnSend', 'type': 'bool'}, - 'check_certificate_revocation_list_on_receive': {'key': 'checkCertificateRevocationListOnReceive', 'type': 'bool'}, - 'encryption_algorithm': {'key': 'encryptionAlgorithm', 'type': 'str'}, - 'signing_algorithm': {'key': 'signingAlgorithm', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(AS2ValidationSettings, self).__init__(**kwargs) - self.override_message_properties = kwargs.get('override_message_properties', None) - self.encrypt_message = kwargs.get('encrypt_message', None) - self.sign_message = kwargs.get('sign_message', None) - self.compress_message = kwargs.get('compress_message', None) - self.check_duplicate_message = kwargs.get('check_duplicate_message', None) - self.interchange_duplicates_validity_days = kwargs.get('interchange_duplicates_validity_days', None) - self.check_certificate_revocation_list_on_send = kwargs.get('check_certificate_revocation_list_on_send', None) - self.check_certificate_revocation_list_on_receive = kwargs.get('check_certificate_revocation_list_on_receive', None) - self.encryption_algorithm = kwargs.get('encryption_algorithm', None) - self.signing_algorithm = kwargs.get('signing_algorithm', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/as2_validation_settings_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/as2_validation_settings_py3.py deleted file mode 100644 index 05c6a689f528..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/as2_validation_settings_py3.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class AS2ValidationSettings(Model): - """The AS2 agreement validation settings. - - All required parameters must be populated in order to send to Azure. - - :param override_message_properties: Required. The value indicating whether - to override incoming message properties with those in agreement. - :type override_message_properties: bool - :param encrypt_message: Required. The value indicating whether the message - has to be encrypted. - :type encrypt_message: bool - :param sign_message: Required. The value indicating whether the message - has to be signed. - :type sign_message: bool - :param compress_message: Required. The value indicating whether the - message has to be compressed. - :type compress_message: bool - :param check_duplicate_message: Required. The value indicating whether to - check for duplicate message. - :type check_duplicate_message: bool - :param interchange_duplicates_validity_days: Required. The number of days - to look back for duplicate interchange. - :type interchange_duplicates_validity_days: int - :param check_certificate_revocation_list_on_send: Required. The value - indicating whether to check for certificate revocation list on send. - :type check_certificate_revocation_list_on_send: bool - :param check_certificate_revocation_list_on_receive: Required. The value - indicating whether to check for certificate revocation list on receive. - :type check_certificate_revocation_list_on_receive: bool - :param encryption_algorithm: Required. The encryption algorithm. Possible - values include: 'NotSpecified', 'None', 'DES3', 'RC2', 'AES128', 'AES192', - 'AES256' - :type encryption_algorithm: str or - ~azure.mgmt.logic.models.EncryptionAlgorithm - :param signing_algorithm: The signing algorithm. Possible values include: - 'NotSpecified', 'Default', 'SHA1', 'SHA2256', 'SHA2384', 'SHA2512' - :type signing_algorithm: str or ~azure.mgmt.logic.models.SigningAlgorithm - """ - - _validation = { - 'override_message_properties': {'required': True}, - 'encrypt_message': {'required': True}, - 'sign_message': {'required': True}, - 'compress_message': {'required': True}, - 'check_duplicate_message': {'required': True}, - 'interchange_duplicates_validity_days': {'required': True}, - 'check_certificate_revocation_list_on_send': {'required': True}, - 'check_certificate_revocation_list_on_receive': {'required': True}, - 'encryption_algorithm': {'required': True}, - } - - _attribute_map = { - 'override_message_properties': {'key': 'overrideMessageProperties', 'type': 'bool'}, - 'encrypt_message': {'key': 'encryptMessage', 'type': 'bool'}, - 'sign_message': {'key': 'signMessage', 'type': 'bool'}, - 'compress_message': {'key': 'compressMessage', 'type': 'bool'}, - 'check_duplicate_message': {'key': 'checkDuplicateMessage', 'type': 'bool'}, - 'interchange_duplicates_validity_days': {'key': 'interchangeDuplicatesValidityDays', 'type': 'int'}, - 'check_certificate_revocation_list_on_send': {'key': 'checkCertificateRevocationListOnSend', 'type': 'bool'}, - 'check_certificate_revocation_list_on_receive': {'key': 'checkCertificateRevocationListOnReceive', 'type': 'bool'}, - 'encryption_algorithm': {'key': 'encryptionAlgorithm', 'type': 'str'}, - 'signing_algorithm': {'key': 'signingAlgorithm', 'type': 'str'}, - } - - def __init__(self, *, override_message_properties: bool, encrypt_message: bool, sign_message: bool, compress_message: bool, check_duplicate_message: bool, interchange_duplicates_validity_days: int, check_certificate_revocation_list_on_send: bool, check_certificate_revocation_list_on_receive: bool, encryption_algorithm, signing_algorithm=None, **kwargs) -> None: - super(AS2ValidationSettings, self).__init__(**kwargs) - self.override_message_properties = override_message_properties - self.encrypt_message = encrypt_message - self.sign_message = sign_message - self.compress_message = compress_message - self.check_duplicate_message = check_duplicate_message - self.interchange_duplicates_validity_days = interchange_duplicates_validity_days - self.check_certificate_revocation_list_on_send = check_certificate_revocation_list_on_send - self.check_certificate_revocation_list_on_receive = check_certificate_revocation_list_on_receive - self.encryption_algorithm = encryption_algorithm - self.signing_algorithm = signing_algorithm diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/assembly_definition.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/assembly_definition.py deleted file mode 100644 index 0332e1a65491..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/assembly_definition.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from .resource import Resource - - -class AssemblyDefinition(Resource): - """The assembly definition. - - Variables are only populated by the server, and will be ignored when - sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar id: The resource id. - :vartype id: str - :ivar name: Gets the resource name. - :vartype name: str - :ivar type: Gets the resource type. - :vartype type: str - :param location: The resource location. - :type location: str - :param tags: The resource tags. - :type tags: dict[str, str] - :param properties: Required. The assembly properties. - :type properties: ~azure.mgmt.logic.models.AssemblyProperties - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'properties': {'required': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'location': {'key': 'location', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': '{str}'}, - 'properties': {'key': 'properties', 'type': 'AssemblyProperties'}, - } - - def __init__(self, **kwargs): - super(AssemblyDefinition, self).__init__(**kwargs) - self.properties = kwargs.get('properties', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/assembly_definition_paged.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/assembly_definition_paged.py deleted file mode 100644 index fbe3cc995683..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/assembly_definition_paged.py +++ /dev/null @@ -1,27 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.paging import Paged - - -class AssemblyDefinitionPaged(Paged): - """ - A paging container for iterating over a list of :class:`AssemblyDefinition ` object - """ - - _attribute_map = { - 'next_link': {'key': 'nextLink', 'type': 'str'}, - 'current_page': {'key': 'value', 'type': '[AssemblyDefinition]'} - } - - def __init__(self, *args, **kwargs): - - super(AssemblyDefinitionPaged, self).__init__(*args, **kwargs) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/assembly_definition_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/assembly_definition_py3.py deleted file mode 100644 index e30c214c6a87..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/assembly_definition_py3.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from .resource_py3 import Resource - - -class AssemblyDefinition(Resource): - """The assembly definition. - - Variables are only populated by the server, and will be ignored when - sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar id: The resource id. - :vartype id: str - :ivar name: Gets the resource name. - :vartype name: str - :ivar type: Gets the resource type. - :vartype type: str - :param location: The resource location. - :type location: str - :param tags: The resource tags. - :type tags: dict[str, str] - :param properties: Required. The assembly properties. - :type properties: ~azure.mgmt.logic.models.AssemblyProperties - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'properties': {'required': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'location': {'key': 'location', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': '{str}'}, - 'properties': {'key': 'properties', 'type': 'AssemblyProperties'}, - } - - def __init__(self, *, properties, location: str=None, tags=None, **kwargs) -> None: - super(AssemblyDefinition, self).__init__(location=location, tags=tags, **kwargs) - self.properties = properties diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/assembly_properties.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/assembly_properties.py deleted file mode 100644 index e6ec176ecf0a..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/assembly_properties.py +++ /dev/null @@ -1,64 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from .artifact_content_properties_definition import ArtifactContentPropertiesDefinition - - -class AssemblyProperties(ArtifactContentPropertiesDefinition): - """The assembly properties definition. - - All required parameters must be populated in order to send to Azure. - - :param created_time: The artifact creation time. - :type created_time: datetime - :param changed_time: The artifact changed time. - :type changed_time: datetime - :param metadata: - :type metadata: object - :param content: - :type content: object - :param content_type: The content type. - :type content_type: str - :param content_link: The content link. - :type content_link: ~azure.mgmt.logic.models.ContentLink - :param assembly_name: Required. The assembly name. - :type assembly_name: str - :param assembly_version: The assembly version. - :type assembly_version: str - :param assembly_culture: The assembly culture. - :type assembly_culture: str - :param assembly_public_key_token: The assembly public key token. - :type assembly_public_key_token: str - """ - - _validation = { - 'assembly_name': {'required': True}, - } - - _attribute_map = { - 'created_time': {'key': 'createdTime', 'type': 'iso-8601'}, - 'changed_time': {'key': 'changedTime', 'type': 'iso-8601'}, - 'metadata': {'key': 'metadata', 'type': 'object'}, - 'content': {'key': 'content', 'type': 'object'}, - 'content_type': {'key': 'contentType', 'type': 'str'}, - 'content_link': {'key': 'contentLink', 'type': 'ContentLink'}, - 'assembly_name': {'key': 'assemblyName', 'type': 'str'}, - 'assembly_version': {'key': 'assemblyVersion', 'type': 'str'}, - 'assembly_culture': {'key': 'assemblyCulture', 'type': 'str'}, - 'assembly_public_key_token': {'key': 'assemblyPublicKeyToken', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(AssemblyProperties, self).__init__(**kwargs) - self.assembly_name = kwargs.get('assembly_name', None) - self.assembly_version = kwargs.get('assembly_version', None) - self.assembly_culture = kwargs.get('assembly_culture', None) - self.assembly_public_key_token = kwargs.get('assembly_public_key_token', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/assembly_properties_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/assembly_properties_py3.py deleted file mode 100644 index a0676a264c9d..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/assembly_properties_py3.py +++ /dev/null @@ -1,64 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from .artifact_content_properties_definition_py3 import ArtifactContentPropertiesDefinition - - -class AssemblyProperties(ArtifactContentPropertiesDefinition): - """The assembly properties definition. - - All required parameters must be populated in order to send to Azure. - - :param created_time: The artifact creation time. - :type created_time: datetime - :param changed_time: The artifact changed time. - :type changed_time: datetime - :param metadata: - :type metadata: object - :param content: - :type content: object - :param content_type: The content type. - :type content_type: str - :param content_link: The content link. - :type content_link: ~azure.mgmt.logic.models.ContentLink - :param assembly_name: Required. The assembly name. - :type assembly_name: str - :param assembly_version: The assembly version. - :type assembly_version: str - :param assembly_culture: The assembly culture. - :type assembly_culture: str - :param assembly_public_key_token: The assembly public key token. - :type assembly_public_key_token: str - """ - - _validation = { - 'assembly_name': {'required': True}, - } - - _attribute_map = { - 'created_time': {'key': 'createdTime', 'type': 'iso-8601'}, - 'changed_time': {'key': 'changedTime', 'type': 'iso-8601'}, - 'metadata': {'key': 'metadata', 'type': 'object'}, - 'content': {'key': 'content', 'type': 'object'}, - 'content_type': {'key': 'contentType', 'type': 'str'}, - 'content_link': {'key': 'contentLink', 'type': 'ContentLink'}, - 'assembly_name': {'key': 'assemblyName', 'type': 'str'}, - 'assembly_version': {'key': 'assemblyVersion', 'type': 'str'}, - 'assembly_culture': {'key': 'assemblyCulture', 'type': 'str'}, - 'assembly_public_key_token': {'key': 'assemblyPublicKeyToken', 'type': 'str'}, - } - - def __init__(self, *, assembly_name: str, created_time=None, changed_time=None, metadata=None, content=None, content_type: str=None, content_link=None, assembly_version: str=None, assembly_culture: str=None, assembly_public_key_token: str=None, **kwargs) -> None: - super(AssemblyProperties, self).__init__(created_time=created_time, changed_time=changed_time, metadata=metadata, content=content, content_type=content_type, content_link=content_link, **kwargs) - self.assembly_name = assembly_name - self.assembly_version = assembly_version - self.assembly_culture = assembly_culture - self.assembly_public_key_token = assembly_public_key_token diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/azure_resource_error_info.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/azure_resource_error_info.py deleted file mode 100644 index ecec1dd28437..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/azure_resource_error_info.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from .error_info import ErrorInfo - - -class AzureResourceErrorInfo(ErrorInfo): - """The azure resource error info. - - All required parameters must be populated in order to send to Azure. - - :param code: Required. The error code. - :type code: str - :param message: Required. The error message. - :type message: str - :param details: The error details. - :type details: list[~azure.mgmt.logic.models.AzureResourceErrorInfo] - """ - - _validation = { - 'code': {'required': True}, - 'message': {'required': True}, - } - - _attribute_map = { - 'code': {'key': 'code', 'type': 'str'}, - 'message': {'key': 'message', 'type': 'str'}, - 'details': {'key': 'details', 'type': '[AzureResourceErrorInfo]'}, - } - - def __init__(self, **kwargs): - super(AzureResourceErrorInfo, self).__init__(**kwargs) - self.message = kwargs.get('message', None) - self.details = kwargs.get('details', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/azure_resource_error_info_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/azure_resource_error_info_py3.py deleted file mode 100644 index cd39d5f68870..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/azure_resource_error_info_py3.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from .error_info_py3 import ErrorInfo - - -class AzureResourceErrorInfo(ErrorInfo): - """The azure resource error info. - - All required parameters must be populated in order to send to Azure. - - :param code: Required. The error code. - :type code: str - :param message: Required. The error message. - :type message: str - :param details: The error details. - :type details: list[~azure.mgmt.logic.models.AzureResourceErrorInfo] - """ - - _validation = { - 'code': {'required': True}, - 'message': {'required': True}, - } - - _attribute_map = { - 'code': {'key': 'code', 'type': 'str'}, - 'message': {'key': 'message', 'type': 'str'}, - 'details': {'key': 'details', 'type': '[AzureResourceErrorInfo]'}, - } - - def __init__(self, *, code: str, message: str, details=None, **kwargs) -> None: - super(AzureResourceErrorInfo, self).__init__(code=code, **kwargs) - self.message = message - self.details = details diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/b2_bpartner_content.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/b2_bpartner_content.py deleted file mode 100644 index ede9238ab529..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/b2_bpartner_content.py +++ /dev/null @@ -1,28 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class B2BPartnerContent(Model): - """The B2B partner content. - - :param business_identities: The list of partner business identities. - :type business_identities: list[~azure.mgmt.logic.models.BusinessIdentity] - """ - - _attribute_map = { - 'business_identities': {'key': 'businessIdentities', 'type': '[BusinessIdentity]'}, - } - - def __init__(self, **kwargs): - super(B2BPartnerContent, self).__init__(**kwargs) - self.business_identities = kwargs.get('business_identities', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/b2_bpartner_content_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/b2_bpartner_content_py3.py deleted file mode 100644 index 7563514fe683..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/b2_bpartner_content_py3.py +++ /dev/null @@ -1,28 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class B2BPartnerContent(Model): - """The B2B partner content. - - :param business_identities: The list of partner business identities. - :type business_identities: list[~azure.mgmt.logic.models.BusinessIdentity] - """ - - _attribute_map = { - 'business_identities': {'key': 'businessIdentities', 'type': '[BusinessIdentity]'}, - } - - def __init__(self, *, business_identities=None, **kwargs) -> None: - super(B2BPartnerContent, self).__init__(**kwargs) - self.business_identities = business_identities diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/batch_configuration.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/batch_configuration.py deleted file mode 100644 index 12920895e108..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/batch_configuration.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from .resource import Resource - - -class BatchConfiguration(Resource): - """The batch configuration resource definition. - - Variables are only populated by the server, and will be ignored when - sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar id: The resource id. - :vartype id: str - :ivar name: Gets the resource name. - :vartype name: str - :ivar type: Gets the resource type. - :vartype type: str - :param location: The resource location. - :type location: str - :param tags: The resource tags. - :type tags: dict[str, str] - :param properties: Required. The batch configuration properties. - :type properties: ~azure.mgmt.logic.models.BatchConfigurationProperties - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'properties': {'required': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'location': {'key': 'location', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': '{str}'}, - 'properties': {'key': 'properties', 'type': 'BatchConfigurationProperties'}, - } - - def __init__(self, **kwargs): - super(BatchConfiguration, self).__init__(**kwargs) - self.properties = kwargs.get('properties', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/batch_configuration_paged.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/batch_configuration_paged.py deleted file mode 100644 index 965308916323..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/batch_configuration_paged.py +++ /dev/null @@ -1,27 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.paging import Paged - - -class BatchConfigurationPaged(Paged): - """ - A paging container for iterating over a list of :class:`BatchConfiguration ` object - """ - - _attribute_map = { - 'next_link': {'key': 'nextLink', 'type': 'str'}, - 'current_page': {'key': 'value', 'type': '[BatchConfiguration]'} - } - - def __init__(self, *args, **kwargs): - - super(BatchConfigurationPaged, self).__init__(*args, **kwargs) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/batch_configuration_properties.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/batch_configuration_properties.py deleted file mode 100644 index 8b3038836ccb..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/batch_configuration_properties.py +++ /dev/null @@ -1,48 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from .artifact_properties import ArtifactProperties - - -class BatchConfigurationProperties(ArtifactProperties): - """The batch configuration properties definition. - - All required parameters must be populated in order to send to Azure. - - :param created_time: The artifact creation time. - :type created_time: datetime - :param changed_time: The artifact changed time. - :type changed_time: datetime - :param metadata: - :type metadata: object - :param batch_group_name: Required. The name of the batch group. - :type batch_group_name: str - :param release_criteria: Required. The batch release criteria. - :type release_criteria: ~azure.mgmt.logic.models.BatchReleaseCriteria - """ - - _validation = { - 'batch_group_name': {'required': True}, - 'release_criteria': {'required': True}, - } - - _attribute_map = { - 'created_time': {'key': 'createdTime', 'type': 'iso-8601'}, - 'changed_time': {'key': 'changedTime', 'type': 'iso-8601'}, - 'metadata': {'key': 'metadata', 'type': 'object'}, - 'batch_group_name': {'key': 'batchGroupName', 'type': 'str'}, - 'release_criteria': {'key': 'releaseCriteria', 'type': 'BatchReleaseCriteria'}, - } - - def __init__(self, **kwargs): - super(BatchConfigurationProperties, self).__init__(**kwargs) - self.batch_group_name = kwargs.get('batch_group_name', None) - self.release_criteria = kwargs.get('release_criteria', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/batch_configuration_properties_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/batch_configuration_properties_py3.py deleted file mode 100644 index 5729113a66f3..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/batch_configuration_properties_py3.py +++ /dev/null @@ -1,48 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from .artifact_properties_py3 import ArtifactProperties - - -class BatchConfigurationProperties(ArtifactProperties): - """The batch configuration properties definition. - - All required parameters must be populated in order to send to Azure. - - :param created_time: The artifact creation time. - :type created_time: datetime - :param changed_time: The artifact changed time. - :type changed_time: datetime - :param metadata: - :type metadata: object - :param batch_group_name: Required. The name of the batch group. - :type batch_group_name: str - :param release_criteria: Required. The batch release criteria. - :type release_criteria: ~azure.mgmt.logic.models.BatchReleaseCriteria - """ - - _validation = { - 'batch_group_name': {'required': True}, - 'release_criteria': {'required': True}, - } - - _attribute_map = { - 'created_time': {'key': 'createdTime', 'type': 'iso-8601'}, - 'changed_time': {'key': 'changedTime', 'type': 'iso-8601'}, - 'metadata': {'key': 'metadata', 'type': 'object'}, - 'batch_group_name': {'key': 'batchGroupName', 'type': 'str'}, - 'release_criteria': {'key': 'releaseCriteria', 'type': 'BatchReleaseCriteria'}, - } - - def __init__(self, *, batch_group_name: str, release_criteria, created_time=None, changed_time=None, metadata=None, **kwargs) -> None: - super(BatchConfigurationProperties, self).__init__(created_time=created_time, changed_time=changed_time, metadata=metadata, **kwargs) - self.batch_group_name = batch_group_name - self.release_criteria = release_criteria diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/batch_configuration_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/batch_configuration_py3.py deleted file mode 100644 index 19dc6458274d..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/batch_configuration_py3.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from .resource_py3 import Resource - - -class BatchConfiguration(Resource): - """The batch configuration resource definition. - - Variables are only populated by the server, and will be ignored when - sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar id: The resource id. - :vartype id: str - :ivar name: Gets the resource name. - :vartype name: str - :ivar type: Gets the resource type. - :vartype type: str - :param location: The resource location. - :type location: str - :param tags: The resource tags. - :type tags: dict[str, str] - :param properties: Required. The batch configuration properties. - :type properties: ~azure.mgmt.logic.models.BatchConfigurationProperties - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'properties': {'required': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'location': {'key': 'location', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': '{str}'}, - 'properties': {'key': 'properties', 'type': 'BatchConfigurationProperties'}, - } - - def __init__(self, *, properties, location: str=None, tags=None, **kwargs) -> None: - super(BatchConfiguration, self).__init__(location=location, tags=tags, **kwargs) - self.properties = properties diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/batch_release_criteria.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/batch_release_criteria.py deleted file mode 100644 index 55217abd6e46..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/batch_release_criteria.py +++ /dev/null @@ -1,36 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class BatchReleaseCriteria(Model): - """The batch release criteria. - - :param message_count: The message count. - :type message_count: int - :param batch_size: The batch size in bytes. - :type batch_size: int - :param recurrence: The recurrence. - :type recurrence: ~azure.mgmt.logic.models.WorkflowTriggerRecurrence - """ - - _attribute_map = { - 'message_count': {'key': 'messageCount', 'type': 'int'}, - 'batch_size': {'key': 'batchSize', 'type': 'int'}, - 'recurrence': {'key': 'recurrence', 'type': 'WorkflowTriggerRecurrence'}, - } - - def __init__(self, **kwargs): - super(BatchReleaseCriteria, self).__init__(**kwargs) - self.message_count = kwargs.get('message_count', None) - self.batch_size = kwargs.get('batch_size', None) - self.recurrence = kwargs.get('recurrence', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/batch_release_criteria_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/batch_release_criteria_py3.py deleted file mode 100644 index 33d596dc902c..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/batch_release_criteria_py3.py +++ /dev/null @@ -1,36 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class BatchReleaseCriteria(Model): - """The batch release criteria. - - :param message_count: The message count. - :type message_count: int - :param batch_size: The batch size in bytes. - :type batch_size: int - :param recurrence: The recurrence. - :type recurrence: ~azure.mgmt.logic.models.WorkflowTriggerRecurrence - """ - - _attribute_map = { - 'message_count': {'key': 'messageCount', 'type': 'int'}, - 'batch_size': {'key': 'batchSize', 'type': 'int'}, - 'recurrence': {'key': 'recurrence', 'type': 'WorkflowTriggerRecurrence'}, - } - - def __init__(self, *, message_count: int=None, batch_size: int=None, recurrence=None, **kwargs) -> None: - super(BatchReleaseCriteria, self).__init__(**kwargs) - self.message_count = message_count - self.batch_size = batch_size - self.recurrence = recurrence diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/business_identity.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/business_identity.py deleted file mode 100644 index f3ece263cff5..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/business_identity.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class BusinessIdentity(Model): - """The integration account partner's business identity. - - All required parameters must be populated in order to send to Azure. - - :param qualifier: Required. The business identity qualifier e.g. - as2identity, ZZ, ZZZ, 31, 32 - :type qualifier: str - :param value: Required. The user defined business identity value. - :type value: str - """ - - _validation = { - 'qualifier': {'required': True}, - 'value': {'required': True}, - } - - _attribute_map = { - 'qualifier': {'key': 'qualifier', 'type': 'str'}, - 'value': {'key': 'value', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(BusinessIdentity, self).__init__(**kwargs) - self.qualifier = kwargs.get('qualifier', None) - self.value = kwargs.get('value', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/business_identity_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/business_identity_py3.py deleted file mode 100644 index 41c27a99d299..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/business_identity_py3.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class BusinessIdentity(Model): - """The integration account partner's business identity. - - All required parameters must be populated in order to send to Azure. - - :param qualifier: Required. The business identity qualifier e.g. - as2identity, ZZ, ZZZ, 31, 32 - :type qualifier: str - :param value: Required. The user defined business identity value. - :type value: str - """ - - _validation = { - 'qualifier': {'required': True}, - 'value': {'required': True}, - } - - _attribute_map = { - 'qualifier': {'key': 'qualifier', 'type': 'str'}, - 'value': {'key': 'value', 'type': 'str'}, - } - - def __init__(self, *, qualifier: str, value: str, **kwargs) -> None: - super(BusinessIdentity, self).__init__(**kwargs) - self.qualifier = qualifier - self.value = value diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/callback_url.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/callback_url.py deleted file mode 100644 index 0fe1f3a30647..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/callback_url.py +++ /dev/null @@ -1,28 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class CallbackUrl(Model): - """The callback url. - - :param value: The URL value. - :type value: str - """ - - _attribute_map = { - 'value': {'key': 'value', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(CallbackUrl, self).__init__(**kwargs) - self.value = kwargs.get('value', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/callback_url_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/callback_url_py3.py deleted file mode 100644 index fd8271657bef..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/callback_url_py3.py +++ /dev/null @@ -1,28 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class CallbackUrl(Model): - """The callback url. - - :param value: The URL value. - :type value: str - """ - - _attribute_map = { - 'value': {'key': 'value', 'type': 'str'}, - } - - def __init__(self, *, value: str=None, **kwargs) -> None: - super(CallbackUrl, self).__init__(**kwargs) - self.value = value diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/content_hash.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/content_hash.py deleted file mode 100644 index a67e06aafa7d..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/content_hash.py +++ /dev/null @@ -1,32 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class ContentHash(Model): - """The content hash. - - :param algorithm: The algorithm of the content hash. - :type algorithm: str - :param value: The value of the content hash. - :type value: str - """ - - _attribute_map = { - 'algorithm': {'key': 'algorithm', 'type': 'str'}, - 'value': {'key': 'value', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(ContentHash, self).__init__(**kwargs) - self.algorithm = kwargs.get('algorithm', None) - self.value = kwargs.get('value', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/content_hash_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/content_hash_py3.py deleted file mode 100644 index 868bfe2ba5f2..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/content_hash_py3.py +++ /dev/null @@ -1,32 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class ContentHash(Model): - """The content hash. - - :param algorithm: The algorithm of the content hash. - :type algorithm: str - :param value: The value of the content hash. - :type value: str - """ - - _attribute_map = { - 'algorithm': {'key': 'algorithm', 'type': 'str'}, - 'value': {'key': 'value', 'type': 'str'}, - } - - def __init__(self, *, algorithm: str=None, value: str=None, **kwargs) -> None: - super(ContentHash, self).__init__(**kwargs) - self.algorithm = algorithm - self.value = value diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/content_link.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/content_link.py deleted file mode 100644 index cbbdefd771bf..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/content_link.py +++ /dev/null @@ -1,44 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class ContentLink(Model): - """The content link. - - :param uri: The content link URI. - :type uri: str - :param content_version: The content version. - :type content_version: str - :param content_size: The content size. - :type content_size: long - :param content_hash: The content hash. - :type content_hash: ~azure.mgmt.logic.models.ContentHash - :param metadata: The metadata. - :type metadata: object - """ - - _attribute_map = { - 'uri': {'key': 'uri', 'type': 'str'}, - 'content_version': {'key': 'contentVersion', 'type': 'str'}, - 'content_size': {'key': 'contentSize', 'type': 'long'}, - 'content_hash': {'key': 'contentHash', 'type': 'ContentHash'}, - 'metadata': {'key': 'metadata', 'type': 'object'}, - } - - def __init__(self, **kwargs): - super(ContentLink, self).__init__(**kwargs) - self.uri = kwargs.get('uri', None) - self.content_version = kwargs.get('content_version', None) - self.content_size = kwargs.get('content_size', None) - self.content_hash = kwargs.get('content_hash', None) - self.metadata = kwargs.get('metadata', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/content_link_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/content_link_py3.py deleted file mode 100644 index 1af59960aad2..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/content_link_py3.py +++ /dev/null @@ -1,44 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class ContentLink(Model): - """The content link. - - :param uri: The content link URI. - :type uri: str - :param content_version: The content version. - :type content_version: str - :param content_size: The content size. - :type content_size: long - :param content_hash: The content hash. - :type content_hash: ~azure.mgmt.logic.models.ContentHash - :param metadata: The metadata. - :type metadata: object - """ - - _attribute_map = { - 'uri': {'key': 'uri', 'type': 'str'}, - 'content_version': {'key': 'contentVersion', 'type': 'str'}, - 'content_size': {'key': 'contentSize', 'type': 'long'}, - 'content_hash': {'key': 'contentHash', 'type': 'ContentHash'}, - 'metadata': {'key': 'metadata', 'type': 'object'}, - } - - def __init__(self, *, uri: str=None, content_version: str=None, content_size: int=None, content_hash=None, metadata=None, **kwargs) -> None: - super(ContentLink, self).__init__(**kwargs) - self.uri = uri - self.content_version = content_version - self.content_size = content_size - self.content_hash = content_hash - self.metadata = metadata diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/correlation.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/correlation.py deleted file mode 100644 index 6712f294b086..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/correlation.py +++ /dev/null @@ -1,28 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class Correlation(Model): - """The correlation property. - - :param client_tracking_id: The client tracking id. - :type client_tracking_id: str - """ - - _attribute_map = { - 'client_tracking_id': {'key': 'clientTrackingId', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(Correlation, self).__init__(**kwargs) - self.client_tracking_id = kwargs.get('client_tracking_id', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/correlation_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/correlation_py3.py deleted file mode 100644 index 8f4a03eef0f7..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/correlation_py3.py +++ /dev/null @@ -1,28 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class Correlation(Model): - """The correlation property. - - :param client_tracking_id: The client tracking id. - :type client_tracking_id: str - """ - - _attribute_map = { - 'client_tracking_id': {'key': 'clientTrackingId', 'type': 'str'}, - } - - def __init__(self, *, client_tracking_id: str=None, **kwargs) -> None: - super(Correlation, self).__init__(**kwargs) - self.client_tracking_id = client_tracking_id diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_acknowledgement_settings.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_acknowledgement_settings.py deleted file mode 100644 index bf32720e1ab6..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_acknowledgement_settings.py +++ /dev/null @@ -1,93 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class EdifactAcknowledgementSettings(Model): - """The Edifact agreement acknowledgement settings. - - All required parameters must be populated in order to send to Azure. - - :param need_technical_acknowledgement: Required. The value indicating - whether technical acknowledgement is needed. - :type need_technical_acknowledgement: bool - :param batch_technical_acknowledgements: Required. The value indicating - whether to batch the technical acknowledgements. - :type batch_technical_acknowledgements: bool - :param need_functional_acknowledgement: Required. The value indicating - whether functional acknowledgement is needed. - :type need_functional_acknowledgement: bool - :param batch_functional_acknowledgements: Required. The value indicating - whether to batch functional acknowledgements. - :type batch_functional_acknowledgements: bool - :param need_loop_for_valid_messages: Required. The value indicating - whether a loop is needed for valid messages. - :type need_loop_for_valid_messages: bool - :param send_synchronous_acknowledgement: Required. The value indicating - whether to send synchronous acknowledgement. - :type send_synchronous_acknowledgement: bool - :param acknowledgement_control_number_prefix: The acknowledgement control - number prefix. - :type acknowledgement_control_number_prefix: str - :param acknowledgement_control_number_suffix: The acknowledgement control - number suffix. - :type acknowledgement_control_number_suffix: str - :param acknowledgement_control_number_lower_bound: Required. The - acknowledgement control number lower bound. - :type acknowledgement_control_number_lower_bound: int - :param acknowledgement_control_number_upper_bound: Required. The - acknowledgement control number upper bound. - :type acknowledgement_control_number_upper_bound: int - :param rollover_acknowledgement_control_number: Required. The value - indicating whether to rollover acknowledgement control number. - :type rollover_acknowledgement_control_number: bool - """ - - _validation = { - 'need_technical_acknowledgement': {'required': True}, - 'batch_technical_acknowledgements': {'required': True}, - 'need_functional_acknowledgement': {'required': True}, - 'batch_functional_acknowledgements': {'required': True}, - 'need_loop_for_valid_messages': {'required': True}, - 'send_synchronous_acknowledgement': {'required': True}, - 'acknowledgement_control_number_lower_bound': {'required': True}, - 'acknowledgement_control_number_upper_bound': {'required': True}, - 'rollover_acknowledgement_control_number': {'required': True}, - } - - _attribute_map = { - 'need_technical_acknowledgement': {'key': 'needTechnicalAcknowledgement', 'type': 'bool'}, - 'batch_technical_acknowledgements': {'key': 'batchTechnicalAcknowledgements', 'type': 'bool'}, - 'need_functional_acknowledgement': {'key': 'needFunctionalAcknowledgement', 'type': 'bool'}, - 'batch_functional_acknowledgements': {'key': 'batchFunctionalAcknowledgements', 'type': 'bool'}, - 'need_loop_for_valid_messages': {'key': 'needLoopForValidMessages', 'type': 'bool'}, - 'send_synchronous_acknowledgement': {'key': 'sendSynchronousAcknowledgement', 'type': 'bool'}, - 'acknowledgement_control_number_prefix': {'key': 'acknowledgementControlNumberPrefix', 'type': 'str'}, - 'acknowledgement_control_number_suffix': {'key': 'acknowledgementControlNumberSuffix', 'type': 'str'}, - 'acknowledgement_control_number_lower_bound': {'key': 'acknowledgementControlNumberLowerBound', 'type': 'int'}, - 'acknowledgement_control_number_upper_bound': {'key': 'acknowledgementControlNumberUpperBound', 'type': 'int'}, - 'rollover_acknowledgement_control_number': {'key': 'rolloverAcknowledgementControlNumber', 'type': 'bool'}, - } - - def __init__(self, **kwargs): - super(EdifactAcknowledgementSettings, self).__init__(**kwargs) - self.need_technical_acknowledgement = kwargs.get('need_technical_acknowledgement', None) - self.batch_technical_acknowledgements = kwargs.get('batch_technical_acknowledgements', None) - self.need_functional_acknowledgement = kwargs.get('need_functional_acknowledgement', None) - self.batch_functional_acknowledgements = kwargs.get('batch_functional_acknowledgements', None) - self.need_loop_for_valid_messages = kwargs.get('need_loop_for_valid_messages', None) - self.send_synchronous_acknowledgement = kwargs.get('send_synchronous_acknowledgement', None) - self.acknowledgement_control_number_prefix = kwargs.get('acknowledgement_control_number_prefix', None) - self.acknowledgement_control_number_suffix = kwargs.get('acknowledgement_control_number_suffix', None) - self.acknowledgement_control_number_lower_bound = kwargs.get('acknowledgement_control_number_lower_bound', None) - self.acknowledgement_control_number_upper_bound = kwargs.get('acknowledgement_control_number_upper_bound', None) - self.rollover_acknowledgement_control_number = kwargs.get('rollover_acknowledgement_control_number', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_acknowledgement_settings_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_acknowledgement_settings_py3.py deleted file mode 100644 index 3242b1565b47..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_acknowledgement_settings_py3.py +++ /dev/null @@ -1,93 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class EdifactAcknowledgementSettings(Model): - """The Edifact agreement acknowledgement settings. - - All required parameters must be populated in order to send to Azure. - - :param need_technical_acknowledgement: Required. The value indicating - whether technical acknowledgement is needed. - :type need_technical_acknowledgement: bool - :param batch_technical_acknowledgements: Required. The value indicating - whether to batch the technical acknowledgements. - :type batch_technical_acknowledgements: bool - :param need_functional_acknowledgement: Required. The value indicating - whether functional acknowledgement is needed. - :type need_functional_acknowledgement: bool - :param batch_functional_acknowledgements: Required. The value indicating - whether to batch functional acknowledgements. - :type batch_functional_acknowledgements: bool - :param need_loop_for_valid_messages: Required. The value indicating - whether a loop is needed for valid messages. - :type need_loop_for_valid_messages: bool - :param send_synchronous_acknowledgement: Required. The value indicating - whether to send synchronous acknowledgement. - :type send_synchronous_acknowledgement: bool - :param acknowledgement_control_number_prefix: The acknowledgement control - number prefix. - :type acknowledgement_control_number_prefix: str - :param acknowledgement_control_number_suffix: The acknowledgement control - number suffix. - :type acknowledgement_control_number_suffix: str - :param acknowledgement_control_number_lower_bound: Required. The - acknowledgement control number lower bound. - :type acknowledgement_control_number_lower_bound: int - :param acknowledgement_control_number_upper_bound: Required. The - acknowledgement control number upper bound. - :type acknowledgement_control_number_upper_bound: int - :param rollover_acknowledgement_control_number: Required. The value - indicating whether to rollover acknowledgement control number. - :type rollover_acknowledgement_control_number: bool - """ - - _validation = { - 'need_technical_acknowledgement': {'required': True}, - 'batch_technical_acknowledgements': {'required': True}, - 'need_functional_acknowledgement': {'required': True}, - 'batch_functional_acknowledgements': {'required': True}, - 'need_loop_for_valid_messages': {'required': True}, - 'send_synchronous_acknowledgement': {'required': True}, - 'acknowledgement_control_number_lower_bound': {'required': True}, - 'acknowledgement_control_number_upper_bound': {'required': True}, - 'rollover_acknowledgement_control_number': {'required': True}, - } - - _attribute_map = { - 'need_technical_acknowledgement': {'key': 'needTechnicalAcknowledgement', 'type': 'bool'}, - 'batch_technical_acknowledgements': {'key': 'batchTechnicalAcknowledgements', 'type': 'bool'}, - 'need_functional_acknowledgement': {'key': 'needFunctionalAcknowledgement', 'type': 'bool'}, - 'batch_functional_acknowledgements': {'key': 'batchFunctionalAcknowledgements', 'type': 'bool'}, - 'need_loop_for_valid_messages': {'key': 'needLoopForValidMessages', 'type': 'bool'}, - 'send_synchronous_acknowledgement': {'key': 'sendSynchronousAcknowledgement', 'type': 'bool'}, - 'acknowledgement_control_number_prefix': {'key': 'acknowledgementControlNumberPrefix', 'type': 'str'}, - 'acknowledgement_control_number_suffix': {'key': 'acknowledgementControlNumberSuffix', 'type': 'str'}, - 'acknowledgement_control_number_lower_bound': {'key': 'acknowledgementControlNumberLowerBound', 'type': 'int'}, - 'acknowledgement_control_number_upper_bound': {'key': 'acknowledgementControlNumberUpperBound', 'type': 'int'}, - 'rollover_acknowledgement_control_number': {'key': 'rolloverAcknowledgementControlNumber', 'type': 'bool'}, - } - - def __init__(self, *, need_technical_acknowledgement: bool, batch_technical_acknowledgements: bool, need_functional_acknowledgement: bool, batch_functional_acknowledgements: bool, need_loop_for_valid_messages: bool, send_synchronous_acknowledgement: bool, acknowledgement_control_number_lower_bound: int, acknowledgement_control_number_upper_bound: int, rollover_acknowledgement_control_number: bool, acknowledgement_control_number_prefix: str=None, acknowledgement_control_number_suffix: str=None, **kwargs) -> None: - super(EdifactAcknowledgementSettings, self).__init__(**kwargs) - self.need_technical_acknowledgement = need_technical_acknowledgement - self.batch_technical_acknowledgements = batch_technical_acknowledgements - self.need_functional_acknowledgement = need_functional_acknowledgement - self.batch_functional_acknowledgements = batch_functional_acknowledgements - self.need_loop_for_valid_messages = need_loop_for_valid_messages - self.send_synchronous_acknowledgement = send_synchronous_acknowledgement - self.acknowledgement_control_number_prefix = acknowledgement_control_number_prefix - self.acknowledgement_control_number_suffix = acknowledgement_control_number_suffix - self.acknowledgement_control_number_lower_bound = acknowledgement_control_number_lower_bound - self.acknowledgement_control_number_upper_bound = acknowledgement_control_number_upper_bound - self.rollover_acknowledgement_control_number = rollover_acknowledgement_control_number diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_agreement_content.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_agreement_content.py deleted file mode 100644 index e3c0bd495180..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_agreement_content.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class EdifactAgreementContent(Model): - """The Edifact agreement content. - - All required parameters must be populated in order to send to Azure. - - :param receive_agreement: Required. The EDIFACT one-way receive agreement. - :type receive_agreement: ~azure.mgmt.logic.models.EdifactOneWayAgreement - :param send_agreement: Required. The EDIFACT one-way send agreement. - :type send_agreement: ~azure.mgmt.logic.models.EdifactOneWayAgreement - """ - - _validation = { - 'receive_agreement': {'required': True}, - 'send_agreement': {'required': True}, - } - - _attribute_map = { - 'receive_agreement': {'key': 'receiveAgreement', 'type': 'EdifactOneWayAgreement'}, - 'send_agreement': {'key': 'sendAgreement', 'type': 'EdifactOneWayAgreement'}, - } - - def __init__(self, **kwargs): - super(EdifactAgreementContent, self).__init__(**kwargs) - self.receive_agreement = kwargs.get('receive_agreement', None) - self.send_agreement = kwargs.get('send_agreement', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_agreement_content_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_agreement_content_py3.py deleted file mode 100644 index 2a19f44a6fa3..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_agreement_content_py3.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class EdifactAgreementContent(Model): - """The Edifact agreement content. - - All required parameters must be populated in order to send to Azure. - - :param receive_agreement: Required. The EDIFACT one-way receive agreement. - :type receive_agreement: ~azure.mgmt.logic.models.EdifactOneWayAgreement - :param send_agreement: Required. The EDIFACT one-way send agreement. - :type send_agreement: ~azure.mgmt.logic.models.EdifactOneWayAgreement - """ - - _validation = { - 'receive_agreement': {'required': True}, - 'send_agreement': {'required': True}, - } - - _attribute_map = { - 'receive_agreement': {'key': 'receiveAgreement', 'type': 'EdifactOneWayAgreement'}, - 'send_agreement': {'key': 'sendAgreement', 'type': 'EdifactOneWayAgreement'}, - } - - def __init__(self, *, receive_agreement, send_agreement, **kwargs) -> None: - super(EdifactAgreementContent, self).__init__(**kwargs) - self.receive_agreement = receive_agreement - self.send_agreement = send_agreement diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_delimiter_override.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_delimiter_override.py deleted file mode 100644 index 9cab599afb9a..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_delimiter_override.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class EdifactDelimiterOverride(Model): - """The Edifact delimiter override settings. - - All required parameters must be populated in order to send to Azure. - - :param message_id: The message id. - :type message_id: str - :param message_version: The message version. - :type message_version: str - :param message_release: The message release. - :type message_release: str - :param data_element_separator: Required. The data element separator. - :type data_element_separator: int - :param component_separator: Required. The component separator. - :type component_separator: int - :param segment_terminator: Required. The segment terminator. - :type segment_terminator: int - :param repetition_separator: Required. The repetition separator. - :type repetition_separator: int - :param segment_terminator_suffix: Required. The segment terminator suffix. - Possible values include: 'NotSpecified', 'None', 'CR', 'LF', 'CRLF' - :type segment_terminator_suffix: str or - ~azure.mgmt.logic.models.SegmentTerminatorSuffix - :param decimal_point_indicator: Required. The decimal point indicator. - Possible values include: 'NotSpecified', 'Comma', 'Decimal' - :type decimal_point_indicator: str or - ~azure.mgmt.logic.models.EdifactDecimalIndicator - :param release_indicator: Required. The release indicator. - :type release_indicator: int - :param message_association_assigned_code: The message association assigned - code. - :type message_association_assigned_code: str - :param target_namespace: The target namespace on which this delimiter - settings has to be applied. - :type target_namespace: str - """ - - _validation = { - 'data_element_separator': {'required': True}, - 'component_separator': {'required': True}, - 'segment_terminator': {'required': True}, - 'repetition_separator': {'required': True}, - 'segment_terminator_suffix': {'required': True}, - 'decimal_point_indicator': {'required': True}, - 'release_indicator': {'required': True}, - } - - _attribute_map = { - 'message_id': {'key': 'messageId', 'type': 'str'}, - 'message_version': {'key': 'messageVersion', 'type': 'str'}, - 'message_release': {'key': 'messageRelease', 'type': 'str'}, - 'data_element_separator': {'key': 'dataElementSeparator', 'type': 'int'}, - 'component_separator': {'key': 'componentSeparator', 'type': 'int'}, - 'segment_terminator': {'key': 'segmentTerminator', 'type': 'int'}, - 'repetition_separator': {'key': 'repetitionSeparator', 'type': 'int'}, - 'segment_terminator_suffix': {'key': 'segmentTerminatorSuffix', 'type': 'SegmentTerminatorSuffix'}, - 'decimal_point_indicator': {'key': 'decimalPointIndicator', 'type': 'EdifactDecimalIndicator'}, - 'release_indicator': {'key': 'releaseIndicator', 'type': 'int'}, - 'message_association_assigned_code': {'key': 'messageAssociationAssignedCode', 'type': 'str'}, - 'target_namespace': {'key': 'targetNamespace', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(EdifactDelimiterOverride, self).__init__(**kwargs) - self.message_id = kwargs.get('message_id', None) - self.message_version = kwargs.get('message_version', None) - self.message_release = kwargs.get('message_release', None) - self.data_element_separator = kwargs.get('data_element_separator', None) - self.component_separator = kwargs.get('component_separator', None) - self.segment_terminator = kwargs.get('segment_terminator', None) - self.repetition_separator = kwargs.get('repetition_separator', None) - self.segment_terminator_suffix = kwargs.get('segment_terminator_suffix', None) - self.decimal_point_indicator = kwargs.get('decimal_point_indicator', None) - self.release_indicator = kwargs.get('release_indicator', None) - self.message_association_assigned_code = kwargs.get('message_association_assigned_code', None) - self.target_namespace = kwargs.get('target_namespace', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_delimiter_override_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_delimiter_override_py3.py deleted file mode 100644 index 3d35e5e000a6..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_delimiter_override_py3.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class EdifactDelimiterOverride(Model): - """The Edifact delimiter override settings. - - All required parameters must be populated in order to send to Azure. - - :param message_id: The message id. - :type message_id: str - :param message_version: The message version. - :type message_version: str - :param message_release: The message release. - :type message_release: str - :param data_element_separator: Required. The data element separator. - :type data_element_separator: int - :param component_separator: Required. The component separator. - :type component_separator: int - :param segment_terminator: Required. The segment terminator. - :type segment_terminator: int - :param repetition_separator: Required. The repetition separator. - :type repetition_separator: int - :param segment_terminator_suffix: Required. The segment terminator suffix. - Possible values include: 'NotSpecified', 'None', 'CR', 'LF', 'CRLF' - :type segment_terminator_suffix: str or - ~azure.mgmt.logic.models.SegmentTerminatorSuffix - :param decimal_point_indicator: Required. The decimal point indicator. - Possible values include: 'NotSpecified', 'Comma', 'Decimal' - :type decimal_point_indicator: str or - ~azure.mgmt.logic.models.EdifactDecimalIndicator - :param release_indicator: Required. The release indicator. - :type release_indicator: int - :param message_association_assigned_code: The message association assigned - code. - :type message_association_assigned_code: str - :param target_namespace: The target namespace on which this delimiter - settings has to be applied. - :type target_namespace: str - """ - - _validation = { - 'data_element_separator': {'required': True}, - 'component_separator': {'required': True}, - 'segment_terminator': {'required': True}, - 'repetition_separator': {'required': True}, - 'segment_terminator_suffix': {'required': True}, - 'decimal_point_indicator': {'required': True}, - 'release_indicator': {'required': True}, - } - - _attribute_map = { - 'message_id': {'key': 'messageId', 'type': 'str'}, - 'message_version': {'key': 'messageVersion', 'type': 'str'}, - 'message_release': {'key': 'messageRelease', 'type': 'str'}, - 'data_element_separator': {'key': 'dataElementSeparator', 'type': 'int'}, - 'component_separator': {'key': 'componentSeparator', 'type': 'int'}, - 'segment_terminator': {'key': 'segmentTerminator', 'type': 'int'}, - 'repetition_separator': {'key': 'repetitionSeparator', 'type': 'int'}, - 'segment_terminator_suffix': {'key': 'segmentTerminatorSuffix', 'type': 'SegmentTerminatorSuffix'}, - 'decimal_point_indicator': {'key': 'decimalPointIndicator', 'type': 'EdifactDecimalIndicator'}, - 'release_indicator': {'key': 'releaseIndicator', 'type': 'int'}, - 'message_association_assigned_code': {'key': 'messageAssociationAssignedCode', 'type': 'str'}, - 'target_namespace': {'key': 'targetNamespace', 'type': 'str'}, - } - - def __init__(self, *, data_element_separator: int, component_separator: int, segment_terminator: int, repetition_separator: int, segment_terminator_suffix, decimal_point_indicator, release_indicator: int, message_id: str=None, message_version: str=None, message_release: str=None, message_association_assigned_code: str=None, target_namespace: str=None, **kwargs) -> None: - super(EdifactDelimiterOverride, self).__init__(**kwargs) - self.message_id = message_id - self.message_version = message_version - self.message_release = message_release - self.data_element_separator = data_element_separator - self.component_separator = component_separator - self.segment_terminator = segment_terminator - self.repetition_separator = repetition_separator - self.segment_terminator_suffix = segment_terminator_suffix - self.decimal_point_indicator = decimal_point_indicator - self.release_indicator = release_indicator - self.message_association_assigned_code = message_association_assigned_code - self.target_namespace = target_namespace diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_envelope_override.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_envelope_override.py deleted file mode 100644 index 2b82b5560ed7..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_envelope_override.py +++ /dev/null @@ -1,89 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class EdifactEnvelopeOverride(Model): - """The Edifact envelope override settings. - - :param message_id: The message id on which this envelope settings has to - be applied. - :type message_id: str - :param message_version: The message version on which this envelope - settings has to be applied. - :type message_version: str - :param message_release: The message release version on which this envelope - settings has to be applied. - :type message_release: str - :param message_association_assigned_code: The message association assigned - code. - :type message_association_assigned_code: str - :param target_namespace: The target namespace on which this envelope - settings has to be applied. - :type target_namespace: str - :param functional_group_id: The functional group id. - :type functional_group_id: str - :param sender_application_qualifier: The sender application qualifier. - :type sender_application_qualifier: str - :param sender_application_id: The sender application id. - :type sender_application_id: str - :param receiver_application_qualifier: The receiver application qualifier. - :type receiver_application_qualifier: str - :param receiver_application_id: The receiver application id. - :type receiver_application_id: str - :param controlling_agency_code: The controlling agency code. - :type controlling_agency_code: str - :param group_header_message_version: The group header message version. - :type group_header_message_version: str - :param group_header_message_release: The group header message release. - :type group_header_message_release: str - :param association_assigned_code: The association assigned code. - :type association_assigned_code: str - :param application_password: The application password. - :type application_password: str - """ - - _attribute_map = { - 'message_id': {'key': 'messageId', 'type': 'str'}, - 'message_version': {'key': 'messageVersion', 'type': 'str'}, - 'message_release': {'key': 'messageRelease', 'type': 'str'}, - 'message_association_assigned_code': {'key': 'messageAssociationAssignedCode', 'type': 'str'}, - 'target_namespace': {'key': 'targetNamespace', 'type': 'str'}, - 'functional_group_id': {'key': 'functionalGroupId', 'type': 'str'}, - 'sender_application_qualifier': {'key': 'senderApplicationQualifier', 'type': 'str'}, - 'sender_application_id': {'key': 'senderApplicationId', 'type': 'str'}, - 'receiver_application_qualifier': {'key': 'receiverApplicationQualifier', 'type': 'str'}, - 'receiver_application_id': {'key': 'receiverApplicationId', 'type': 'str'}, - 'controlling_agency_code': {'key': 'controllingAgencyCode', 'type': 'str'}, - 'group_header_message_version': {'key': 'groupHeaderMessageVersion', 'type': 'str'}, - 'group_header_message_release': {'key': 'groupHeaderMessageRelease', 'type': 'str'}, - 'association_assigned_code': {'key': 'associationAssignedCode', 'type': 'str'}, - 'application_password': {'key': 'applicationPassword', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(EdifactEnvelopeOverride, self).__init__(**kwargs) - self.message_id = kwargs.get('message_id', None) - self.message_version = kwargs.get('message_version', None) - self.message_release = kwargs.get('message_release', None) - self.message_association_assigned_code = kwargs.get('message_association_assigned_code', None) - self.target_namespace = kwargs.get('target_namespace', None) - self.functional_group_id = kwargs.get('functional_group_id', None) - self.sender_application_qualifier = kwargs.get('sender_application_qualifier', None) - self.sender_application_id = kwargs.get('sender_application_id', None) - self.receiver_application_qualifier = kwargs.get('receiver_application_qualifier', None) - self.receiver_application_id = kwargs.get('receiver_application_id', None) - self.controlling_agency_code = kwargs.get('controlling_agency_code', None) - self.group_header_message_version = kwargs.get('group_header_message_version', None) - self.group_header_message_release = kwargs.get('group_header_message_release', None) - self.association_assigned_code = kwargs.get('association_assigned_code', None) - self.application_password = kwargs.get('application_password', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_envelope_override_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_envelope_override_py3.py deleted file mode 100644 index 77fed1d1e51e..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_envelope_override_py3.py +++ /dev/null @@ -1,89 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class EdifactEnvelopeOverride(Model): - """The Edifact envelope override settings. - - :param message_id: The message id on which this envelope settings has to - be applied. - :type message_id: str - :param message_version: The message version on which this envelope - settings has to be applied. - :type message_version: str - :param message_release: The message release version on which this envelope - settings has to be applied. - :type message_release: str - :param message_association_assigned_code: The message association assigned - code. - :type message_association_assigned_code: str - :param target_namespace: The target namespace on which this envelope - settings has to be applied. - :type target_namespace: str - :param functional_group_id: The functional group id. - :type functional_group_id: str - :param sender_application_qualifier: The sender application qualifier. - :type sender_application_qualifier: str - :param sender_application_id: The sender application id. - :type sender_application_id: str - :param receiver_application_qualifier: The receiver application qualifier. - :type receiver_application_qualifier: str - :param receiver_application_id: The receiver application id. - :type receiver_application_id: str - :param controlling_agency_code: The controlling agency code. - :type controlling_agency_code: str - :param group_header_message_version: The group header message version. - :type group_header_message_version: str - :param group_header_message_release: The group header message release. - :type group_header_message_release: str - :param association_assigned_code: The association assigned code. - :type association_assigned_code: str - :param application_password: The application password. - :type application_password: str - """ - - _attribute_map = { - 'message_id': {'key': 'messageId', 'type': 'str'}, - 'message_version': {'key': 'messageVersion', 'type': 'str'}, - 'message_release': {'key': 'messageRelease', 'type': 'str'}, - 'message_association_assigned_code': {'key': 'messageAssociationAssignedCode', 'type': 'str'}, - 'target_namespace': {'key': 'targetNamespace', 'type': 'str'}, - 'functional_group_id': {'key': 'functionalGroupId', 'type': 'str'}, - 'sender_application_qualifier': {'key': 'senderApplicationQualifier', 'type': 'str'}, - 'sender_application_id': {'key': 'senderApplicationId', 'type': 'str'}, - 'receiver_application_qualifier': {'key': 'receiverApplicationQualifier', 'type': 'str'}, - 'receiver_application_id': {'key': 'receiverApplicationId', 'type': 'str'}, - 'controlling_agency_code': {'key': 'controllingAgencyCode', 'type': 'str'}, - 'group_header_message_version': {'key': 'groupHeaderMessageVersion', 'type': 'str'}, - 'group_header_message_release': {'key': 'groupHeaderMessageRelease', 'type': 'str'}, - 'association_assigned_code': {'key': 'associationAssignedCode', 'type': 'str'}, - 'application_password': {'key': 'applicationPassword', 'type': 'str'}, - } - - def __init__(self, *, message_id: str=None, message_version: str=None, message_release: str=None, message_association_assigned_code: str=None, target_namespace: str=None, functional_group_id: str=None, sender_application_qualifier: str=None, sender_application_id: str=None, receiver_application_qualifier: str=None, receiver_application_id: str=None, controlling_agency_code: str=None, group_header_message_version: str=None, group_header_message_release: str=None, association_assigned_code: str=None, application_password: str=None, **kwargs) -> None: - super(EdifactEnvelopeOverride, self).__init__(**kwargs) - self.message_id = message_id - self.message_version = message_version - self.message_release = message_release - self.message_association_assigned_code = message_association_assigned_code - self.target_namespace = target_namespace - self.functional_group_id = functional_group_id - self.sender_application_qualifier = sender_application_qualifier - self.sender_application_id = sender_application_id - self.receiver_application_qualifier = receiver_application_qualifier - self.receiver_application_id = receiver_application_id - self.controlling_agency_code = controlling_agency_code - self.group_header_message_version = group_header_message_version - self.group_header_message_release = group_header_message_release - self.association_assigned_code = association_assigned_code - self.application_password = application_password diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_envelope_settings.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_envelope_settings.py deleted file mode 100644 index 7ea218a53f18..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_envelope_settings.py +++ /dev/null @@ -1,235 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class EdifactEnvelopeSettings(Model): - """The Edifact agreement envelope settings. - - All required parameters must be populated in order to send to Azure. - - :param group_association_assigned_code: The group association assigned - code. - :type group_association_assigned_code: str - :param communication_agreement_id: The communication agreement id. - :type communication_agreement_id: str - :param apply_delimiter_string_advice: Required. The value indicating - whether to apply delimiter string advice. - :type apply_delimiter_string_advice: bool - :param create_grouping_segments: Required. The value indicating whether to - create grouping segments. - :type create_grouping_segments: bool - :param enable_default_group_headers: Required. The value indicating - whether to enable default group headers. - :type enable_default_group_headers: bool - :param recipient_reference_password_value: The recipient reference - password value. - :type recipient_reference_password_value: str - :param recipient_reference_password_qualifier: The recipient reference - password qualifier. - :type recipient_reference_password_qualifier: str - :param application_reference_id: The application reference id. - :type application_reference_id: str - :param processing_priority_code: The processing priority code. - :type processing_priority_code: str - :param interchange_control_number_lower_bound: Required. The interchange - control number lower bound. - :type interchange_control_number_lower_bound: long - :param interchange_control_number_upper_bound: Required. The interchange - control number upper bound. - :type interchange_control_number_upper_bound: long - :param rollover_interchange_control_number: Required. The value indicating - whether to rollover interchange control number. - :type rollover_interchange_control_number: bool - :param interchange_control_number_prefix: The interchange control number - prefix. - :type interchange_control_number_prefix: str - :param interchange_control_number_suffix: The interchange control number - suffix. - :type interchange_control_number_suffix: str - :param sender_reverse_routing_address: The sender reverse routing address. - :type sender_reverse_routing_address: str - :param receiver_reverse_routing_address: The receiver reverse routing - address. - :type receiver_reverse_routing_address: str - :param functional_group_id: The functional group id. - :type functional_group_id: str - :param group_controlling_agency_code: The group controlling agency code. - :type group_controlling_agency_code: str - :param group_message_version: The group message version. - :type group_message_version: str - :param group_message_release: The group message release. - :type group_message_release: str - :param group_control_number_lower_bound: Required. The group control - number lower bound. - :type group_control_number_lower_bound: long - :param group_control_number_upper_bound: Required. The group control - number upper bound. - :type group_control_number_upper_bound: long - :param rollover_group_control_number: Required. The value indicating - whether to rollover group control number. - :type rollover_group_control_number: bool - :param group_control_number_prefix: The group control number prefix. - :type group_control_number_prefix: str - :param group_control_number_suffix: The group control number suffix. - :type group_control_number_suffix: str - :param group_application_receiver_qualifier: The group application - receiver qualifier. - :type group_application_receiver_qualifier: str - :param group_application_receiver_id: The group application receiver id. - :type group_application_receiver_id: str - :param group_application_sender_qualifier: The group application sender - qualifier. - :type group_application_sender_qualifier: str - :param group_application_sender_id: The group application sender id. - :type group_application_sender_id: str - :param group_application_password: The group application password. - :type group_application_password: str - :param overwrite_existing_transaction_set_control_number: Required. The - value indicating whether to overwrite existing transaction set control - number. - :type overwrite_existing_transaction_set_control_number: bool - :param transaction_set_control_number_prefix: The transaction set control - number prefix. - :type transaction_set_control_number_prefix: str - :param transaction_set_control_number_suffix: The transaction set control - number suffix. - :type transaction_set_control_number_suffix: str - :param transaction_set_control_number_lower_bound: Required. The - transaction set control number lower bound. - :type transaction_set_control_number_lower_bound: long - :param transaction_set_control_number_upper_bound: Required. The - transaction set control number upper bound. - :type transaction_set_control_number_upper_bound: long - :param rollover_transaction_set_control_number: Required. The value - indicating whether to rollover transaction set control number. - :type rollover_transaction_set_control_number: bool - :param is_test_interchange: Required. The value indicating whether the - message is a test interchange. - :type is_test_interchange: bool - :param sender_internal_identification: The sender internal identification. - :type sender_internal_identification: str - :param sender_internal_sub_identification: The sender internal sub - identification. - :type sender_internal_sub_identification: str - :param receiver_internal_identification: The receiver internal - identification. - :type receiver_internal_identification: str - :param receiver_internal_sub_identification: The receiver internal sub - identification. - :type receiver_internal_sub_identification: str - """ - - _validation = { - 'apply_delimiter_string_advice': {'required': True}, - 'create_grouping_segments': {'required': True}, - 'enable_default_group_headers': {'required': True}, - 'interchange_control_number_lower_bound': {'required': True}, - 'interchange_control_number_upper_bound': {'required': True}, - 'rollover_interchange_control_number': {'required': True}, - 'group_control_number_lower_bound': {'required': True}, - 'group_control_number_upper_bound': {'required': True}, - 'rollover_group_control_number': {'required': True}, - 'overwrite_existing_transaction_set_control_number': {'required': True}, - 'transaction_set_control_number_lower_bound': {'required': True}, - 'transaction_set_control_number_upper_bound': {'required': True}, - 'rollover_transaction_set_control_number': {'required': True}, - 'is_test_interchange': {'required': True}, - } - - _attribute_map = { - 'group_association_assigned_code': {'key': 'groupAssociationAssignedCode', 'type': 'str'}, - 'communication_agreement_id': {'key': 'communicationAgreementId', 'type': 'str'}, - 'apply_delimiter_string_advice': {'key': 'applyDelimiterStringAdvice', 'type': 'bool'}, - 'create_grouping_segments': {'key': 'createGroupingSegments', 'type': 'bool'}, - 'enable_default_group_headers': {'key': 'enableDefaultGroupHeaders', 'type': 'bool'}, - 'recipient_reference_password_value': {'key': 'recipientReferencePasswordValue', 'type': 'str'}, - 'recipient_reference_password_qualifier': {'key': 'recipientReferencePasswordQualifier', 'type': 'str'}, - 'application_reference_id': {'key': 'applicationReferenceId', 'type': 'str'}, - 'processing_priority_code': {'key': 'processingPriorityCode', 'type': 'str'}, - 'interchange_control_number_lower_bound': {'key': 'interchangeControlNumberLowerBound', 'type': 'long'}, - 'interchange_control_number_upper_bound': {'key': 'interchangeControlNumberUpperBound', 'type': 'long'}, - 'rollover_interchange_control_number': {'key': 'rolloverInterchangeControlNumber', 'type': 'bool'}, - 'interchange_control_number_prefix': {'key': 'interchangeControlNumberPrefix', 'type': 'str'}, - 'interchange_control_number_suffix': {'key': 'interchangeControlNumberSuffix', 'type': 'str'}, - 'sender_reverse_routing_address': {'key': 'senderReverseRoutingAddress', 'type': 'str'}, - 'receiver_reverse_routing_address': {'key': 'receiverReverseRoutingAddress', 'type': 'str'}, - 'functional_group_id': {'key': 'functionalGroupId', 'type': 'str'}, - 'group_controlling_agency_code': {'key': 'groupControllingAgencyCode', 'type': 'str'}, - 'group_message_version': {'key': 'groupMessageVersion', 'type': 'str'}, - 'group_message_release': {'key': 'groupMessageRelease', 'type': 'str'}, - 'group_control_number_lower_bound': {'key': 'groupControlNumberLowerBound', 'type': 'long'}, - 'group_control_number_upper_bound': {'key': 'groupControlNumberUpperBound', 'type': 'long'}, - 'rollover_group_control_number': {'key': 'rolloverGroupControlNumber', 'type': 'bool'}, - 'group_control_number_prefix': {'key': 'groupControlNumberPrefix', 'type': 'str'}, - 'group_control_number_suffix': {'key': 'groupControlNumberSuffix', 'type': 'str'}, - 'group_application_receiver_qualifier': {'key': 'groupApplicationReceiverQualifier', 'type': 'str'}, - 'group_application_receiver_id': {'key': 'groupApplicationReceiverId', 'type': 'str'}, - 'group_application_sender_qualifier': {'key': 'groupApplicationSenderQualifier', 'type': 'str'}, - 'group_application_sender_id': {'key': 'groupApplicationSenderId', 'type': 'str'}, - 'group_application_password': {'key': 'groupApplicationPassword', 'type': 'str'}, - 'overwrite_existing_transaction_set_control_number': {'key': 'overwriteExistingTransactionSetControlNumber', 'type': 'bool'}, - 'transaction_set_control_number_prefix': {'key': 'transactionSetControlNumberPrefix', 'type': 'str'}, - 'transaction_set_control_number_suffix': {'key': 'transactionSetControlNumberSuffix', 'type': 'str'}, - 'transaction_set_control_number_lower_bound': {'key': 'transactionSetControlNumberLowerBound', 'type': 'long'}, - 'transaction_set_control_number_upper_bound': {'key': 'transactionSetControlNumberUpperBound', 'type': 'long'}, - 'rollover_transaction_set_control_number': {'key': 'rolloverTransactionSetControlNumber', 'type': 'bool'}, - 'is_test_interchange': {'key': 'isTestInterchange', 'type': 'bool'}, - 'sender_internal_identification': {'key': 'senderInternalIdentification', 'type': 'str'}, - 'sender_internal_sub_identification': {'key': 'senderInternalSubIdentification', 'type': 'str'}, - 'receiver_internal_identification': {'key': 'receiverInternalIdentification', 'type': 'str'}, - 'receiver_internal_sub_identification': {'key': 'receiverInternalSubIdentification', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(EdifactEnvelopeSettings, self).__init__(**kwargs) - self.group_association_assigned_code = kwargs.get('group_association_assigned_code', None) - self.communication_agreement_id = kwargs.get('communication_agreement_id', None) - self.apply_delimiter_string_advice = kwargs.get('apply_delimiter_string_advice', None) - self.create_grouping_segments = kwargs.get('create_grouping_segments', None) - self.enable_default_group_headers = kwargs.get('enable_default_group_headers', None) - self.recipient_reference_password_value = kwargs.get('recipient_reference_password_value', None) - self.recipient_reference_password_qualifier = kwargs.get('recipient_reference_password_qualifier', None) - self.application_reference_id = kwargs.get('application_reference_id', None) - self.processing_priority_code = kwargs.get('processing_priority_code', None) - self.interchange_control_number_lower_bound = kwargs.get('interchange_control_number_lower_bound', None) - self.interchange_control_number_upper_bound = kwargs.get('interchange_control_number_upper_bound', None) - self.rollover_interchange_control_number = kwargs.get('rollover_interchange_control_number', None) - self.interchange_control_number_prefix = kwargs.get('interchange_control_number_prefix', None) - self.interchange_control_number_suffix = kwargs.get('interchange_control_number_suffix', None) - self.sender_reverse_routing_address = kwargs.get('sender_reverse_routing_address', None) - self.receiver_reverse_routing_address = kwargs.get('receiver_reverse_routing_address', None) - self.functional_group_id = kwargs.get('functional_group_id', None) - self.group_controlling_agency_code = kwargs.get('group_controlling_agency_code', None) - self.group_message_version = kwargs.get('group_message_version', None) - self.group_message_release = kwargs.get('group_message_release', None) - self.group_control_number_lower_bound = kwargs.get('group_control_number_lower_bound', None) - self.group_control_number_upper_bound = kwargs.get('group_control_number_upper_bound', None) - self.rollover_group_control_number = kwargs.get('rollover_group_control_number', None) - self.group_control_number_prefix = kwargs.get('group_control_number_prefix', None) - self.group_control_number_suffix = kwargs.get('group_control_number_suffix', None) - self.group_application_receiver_qualifier = kwargs.get('group_application_receiver_qualifier', None) - self.group_application_receiver_id = kwargs.get('group_application_receiver_id', None) - self.group_application_sender_qualifier = kwargs.get('group_application_sender_qualifier', None) - self.group_application_sender_id = kwargs.get('group_application_sender_id', None) - self.group_application_password = kwargs.get('group_application_password', None) - self.overwrite_existing_transaction_set_control_number = kwargs.get('overwrite_existing_transaction_set_control_number', None) - self.transaction_set_control_number_prefix = kwargs.get('transaction_set_control_number_prefix', None) - self.transaction_set_control_number_suffix = kwargs.get('transaction_set_control_number_suffix', None) - self.transaction_set_control_number_lower_bound = kwargs.get('transaction_set_control_number_lower_bound', None) - self.transaction_set_control_number_upper_bound = kwargs.get('transaction_set_control_number_upper_bound', None) - self.rollover_transaction_set_control_number = kwargs.get('rollover_transaction_set_control_number', None) - self.is_test_interchange = kwargs.get('is_test_interchange', None) - self.sender_internal_identification = kwargs.get('sender_internal_identification', None) - self.sender_internal_sub_identification = kwargs.get('sender_internal_sub_identification', None) - self.receiver_internal_identification = kwargs.get('receiver_internal_identification', None) - self.receiver_internal_sub_identification = kwargs.get('receiver_internal_sub_identification', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_envelope_settings_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_envelope_settings_py3.py deleted file mode 100644 index 9c771ca5150f..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_envelope_settings_py3.py +++ /dev/null @@ -1,235 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class EdifactEnvelopeSettings(Model): - """The Edifact agreement envelope settings. - - All required parameters must be populated in order to send to Azure. - - :param group_association_assigned_code: The group association assigned - code. - :type group_association_assigned_code: str - :param communication_agreement_id: The communication agreement id. - :type communication_agreement_id: str - :param apply_delimiter_string_advice: Required. The value indicating - whether to apply delimiter string advice. - :type apply_delimiter_string_advice: bool - :param create_grouping_segments: Required. The value indicating whether to - create grouping segments. - :type create_grouping_segments: bool - :param enable_default_group_headers: Required. The value indicating - whether to enable default group headers. - :type enable_default_group_headers: bool - :param recipient_reference_password_value: The recipient reference - password value. - :type recipient_reference_password_value: str - :param recipient_reference_password_qualifier: The recipient reference - password qualifier. - :type recipient_reference_password_qualifier: str - :param application_reference_id: The application reference id. - :type application_reference_id: str - :param processing_priority_code: The processing priority code. - :type processing_priority_code: str - :param interchange_control_number_lower_bound: Required. The interchange - control number lower bound. - :type interchange_control_number_lower_bound: long - :param interchange_control_number_upper_bound: Required. The interchange - control number upper bound. - :type interchange_control_number_upper_bound: long - :param rollover_interchange_control_number: Required. The value indicating - whether to rollover interchange control number. - :type rollover_interchange_control_number: bool - :param interchange_control_number_prefix: The interchange control number - prefix. - :type interchange_control_number_prefix: str - :param interchange_control_number_suffix: The interchange control number - suffix. - :type interchange_control_number_suffix: str - :param sender_reverse_routing_address: The sender reverse routing address. - :type sender_reverse_routing_address: str - :param receiver_reverse_routing_address: The receiver reverse routing - address. - :type receiver_reverse_routing_address: str - :param functional_group_id: The functional group id. - :type functional_group_id: str - :param group_controlling_agency_code: The group controlling agency code. - :type group_controlling_agency_code: str - :param group_message_version: The group message version. - :type group_message_version: str - :param group_message_release: The group message release. - :type group_message_release: str - :param group_control_number_lower_bound: Required. The group control - number lower bound. - :type group_control_number_lower_bound: long - :param group_control_number_upper_bound: Required. The group control - number upper bound. - :type group_control_number_upper_bound: long - :param rollover_group_control_number: Required. The value indicating - whether to rollover group control number. - :type rollover_group_control_number: bool - :param group_control_number_prefix: The group control number prefix. - :type group_control_number_prefix: str - :param group_control_number_suffix: The group control number suffix. - :type group_control_number_suffix: str - :param group_application_receiver_qualifier: The group application - receiver qualifier. - :type group_application_receiver_qualifier: str - :param group_application_receiver_id: The group application receiver id. - :type group_application_receiver_id: str - :param group_application_sender_qualifier: The group application sender - qualifier. - :type group_application_sender_qualifier: str - :param group_application_sender_id: The group application sender id. - :type group_application_sender_id: str - :param group_application_password: The group application password. - :type group_application_password: str - :param overwrite_existing_transaction_set_control_number: Required. The - value indicating whether to overwrite existing transaction set control - number. - :type overwrite_existing_transaction_set_control_number: bool - :param transaction_set_control_number_prefix: The transaction set control - number prefix. - :type transaction_set_control_number_prefix: str - :param transaction_set_control_number_suffix: The transaction set control - number suffix. - :type transaction_set_control_number_suffix: str - :param transaction_set_control_number_lower_bound: Required. The - transaction set control number lower bound. - :type transaction_set_control_number_lower_bound: long - :param transaction_set_control_number_upper_bound: Required. The - transaction set control number upper bound. - :type transaction_set_control_number_upper_bound: long - :param rollover_transaction_set_control_number: Required. The value - indicating whether to rollover transaction set control number. - :type rollover_transaction_set_control_number: bool - :param is_test_interchange: Required. The value indicating whether the - message is a test interchange. - :type is_test_interchange: bool - :param sender_internal_identification: The sender internal identification. - :type sender_internal_identification: str - :param sender_internal_sub_identification: The sender internal sub - identification. - :type sender_internal_sub_identification: str - :param receiver_internal_identification: The receiver internal - identification. - :type receiver_internal_identification: str - :param receiver_internal_sub_identification: The receiver internal sub - identification. - :type receiver_internal_sub_identification: str - """ - - _validation = { - 'apply_delimiter_string_advice': {'required': True}, - 'create_grouping_segments': {'required': True}, - 'enable_default_group_headers': {'required': True}, - 'interchange_control_number_lower_bound': {'required': True}, - 'interchange_control_number_upper_bound': {'required': True}, - 'rollover_interchange_control_number': {'required': True}, - 'group_control_number_lower_bound': {'required': True}, - 'group_control_number_upper_bound': {'required': True}, - 'rollover_group_control_number': {'required': True}, - 'overwrite_existing_transaction_set_control_number': {'required': True}, - 'transaction_set_control_number_lower_bound': {'required': True}, - 'transaction_set_control_number_upper_bound': {'required': True}, - 'rollover_transaction_set_control_number': {'required': True}, - 'is_test_interchange': {'required': True}, - } - - _attribute_map = { - 'group_association_assigned_code': {'key': 'groupAssociationAssignedCode', 'type': 'str'}, - 'communication_agreement_id': {'key': 'communicationAgreementId', 'type': 'str'}, - 'apply_delimiter_string_advice': {'key': 'applyDelimiterStringAdvice', 'type': 'bool'}, - 'create_grouping_segments': {'key': 'createGroupingSegments', 'type': 'bool'}, - 'enable_default_group_headers': {'key': 'enableDefaultGroupHeaders', 'type': 'bool'}, - 'recipient_reference_password_value': {'key': 'recipientReferencePasswordValue', 'type': 'str'}, - 'recipient_reference_password_qualifier': {'key': 'recipientReferencePasswordQualifier', 'type': 'str'}, - 'application_reference_id': {'key': 'applicationReferenceId', 'type': 'str'}, - 'processing_priority_code': {'key': 'processingPriorityCode', 'type': 'str'}, - 'interchange_control_number_lower_bound': {'key': 'interchangeControlNumberLowerBound', 'type': 'long'}, - 'interchange_control_number_upper_bound': {'key': 'interchangeControlNumberUpperBound', 'type': 'long'}, - 'rollover_interchange_control_number': {'key': 'rolloverInterchangeControlNumber', 'type': 'bool'}, - 'interchange_control_number_prefix': {'key': 'interchangeControlNumberPrefix', 'type': 'str'}, - 'interchange_control_number_suffix': {'key': 'interchangeControlNumberSuffix', 'type': 'str'}, - 'sender_reverse_routing_address': {'key': 'senderReverseRoutingAddress', 'type': 'str'}, - 'receiver_reverse_routing_address': {'key': 'receiverReverseRoutingAddress', 'type': 'str'}, - 'functional_group_id': {'key': 'functionalGroupId', 'type': 'str'}, - 'group_controlling_agency_code': {'key': 'groupControllingAgencyCode', 'type': 'str'}, - 'group_message_version': {'key': 'groupMessageVersion', 'type': 'str'}, - 'group_message_release': {'key': 'groupMessageRelease', 'type': 'str'}, - 'group_control_number_lower_bound': {'key': 'groupControlNumberLowerBound', 'type': 'long'}, - 'group_control_number_upper_bound': {'key': 'groupControlNumberUpperBound', 'type': 'long'}, - 'rollover_group_control_number': {'key': 'rolloverGroupControlNumber', 'type': 'bool'}, - 'group_control_number_prefix': {'key': 'groupControlNumberPrefix', 'type': 'str'}, - 'group_control_number_suffix': {'key': 'groupControlNumberSuffix', 'type': 'str'}, - 'group_application_receiver_qualifier': {'key': 'groupApplicationReceiverQualifier', 'type': 'str'}, - 'group_application_receiver_id': {'key': 'groupApplicationReceiverId', 'type': 'str'}, - 'group_application_sender_qualifier': {'key': 'groupApplicationSenderQualifier', 'type': 'str'}, - 'group_application_sender_id': {'key': 'groupApplicationSenderId', 'type': 'str'}, - 'group_application_password': {'key': 'groupApplicationPassword', 'type': 'str'}, - 'overwrite_existing_transaction_set_control_number': {'key': 'overwriteExistingTransactionSetControlNumber', 'type': 'bool'}, - 'transaction_set_control_number_prefix': {'key': 'transactionSetControlNumberPrefix', 'type': 'str'}, - 'transaction_set_control_number_suffix': {'key': 'transactionSetControlNumberSuffix', 'type': 'str'}, - 'transaction_set_control_number_lower_bound': {'key': 'transactionSetControlNumberLowerBound', 'type': 'long'}, - 'transaction_set_control_number_upper_bound': {'key': 'transactionSetControlNumberUpperBound', 'type': 'long'}, - 'rollover_transaction_set_control_number': {'key': 'rolloverTransactionSetControlNumber', 'type': 'bool'}, - 'is_test_interchange': {'key': 'isTestInterchange', 'type': 'bool'}, - 'sender_internal_identification': {'key': 'senderInternalIdentification', 'type': 'str'}, - 'sender_internal_sub_identification': {'key': 'senderInternalSubIdentification', 'type': 'str'}, - 'receiver_internal_identification': {'key': 'receiverInternalIdentification', 'type': 'str'}, - 'receiver_internal_sub_identification': {'key': 'receiverInternalSubIdentification', 'type': 'str'}, - } - - def __init__(self, *, apply_delimiter_string_advice: bool, create_grouping_segments: bool, enable_default_group_headers: bool, interchange_control_number_lower_bound: int, interchange_control_number_upper_bound: int, rollover_interchange_control_number: bool, group_control_number_lower_bound: int, group_control_number_upper_bound: int, rollover_group_control_number: bool, overwrite_existing_transaction_set_control_number: bool, transaction_set_control_number_lower_bound: int, transaction_set_control_number_upper_bound: int, rollover_transaction_set_control_number: bool, is_test_interchange: bool, group_association_assigned_code: str=None, communication_agreement_id: str=None, recipient_reference_password_value: str=None, recipient_reference_password_qualifier: str=None, application_reference_id: str=None, processing_priority_code: str=None, interchange_control_number_prefix: str=None, interchange_control_number_suffix: str=None, sender_reverse_routing_address: str=None, receiver_reverse_routing_address: str=None, functional_group_id: str=None, group_controlling_agency_code: str=None, group_message_version: str=None, group_message_release: str=None, group_control_number_prefix: str=None, group_control_number_suffix: str=None, group_application_receiver_qualifier: str=None, group_application_receiver_id: str=None, group_application_sender_qualifier: str=None, group_application_sender_id: str=None, group_application_password: str=None, transaction_set_control_number_prefix: str=None, transaction_set_control_number_suffix: str=None, sender_internal_identification: str=None, sender_internal_sub_identification: str=None, receiver_internal_identification: str=None, receiver_internal_sub_identification: str=None, **kwargs) -> None: - super(EdifactEnvelopeSettings, self).__init__(**kwargs) - self.group_association_assigned_code = group_association_assigned_code - self.communication_agreement_id = communication_agreement_id - self.apply_delimiter_string_advice = apply_delimiter_string_advice - self.create_grouping_segments = create_grouping_segments - self.enable_default_group_headers = enable_default_group_headers - self.recipient_reference_password_value = recipient_reference_password_value - self.recipient_reference_password_qualifier = recipient_reference_password_qualifier - self.application_reference_id = application_reference_id - self.processing_priority_code = processing_priority_code - self.interchange_control_number_lower_bound = interchange_control_number_lower_bound - self.interchange_control_number_upper_bound = interchange_control_number_upper_bound - self.rollover_interchange_control_number = rollover_interchange_control_number - self.interchange_control_number_prefix = interchange_control_number_prefix - self.interchange_control_number_suffix = interchange_control_number_suffix - self.sender_reverse_routing_address = sender_reverse_routing_address - self.receiver_reverse_routing_address = receiver_reverse_routing_address - self.functional_group_id = functional_group_id - self.group_controlling_agency_code = group_controlling_agency_code - self.group_message_version = group_message_version - self.group_message_release = group_message_release - self.group_control_number_lower_bound = group_control_number_lower_bound - self.group_control_number_upper_bound = group_control_number_upper_bound - self.rollover_group_control_number = rollover_group_control_number - self.group_control_number_prefix = group_control_number_prefix - self.group_control_number_suffix = group_control_number_suffix - self.group_application_receiver_qualifier = group_application_receiver_qualifier - self.group_application_receiver_id = group_application_receiver_id - self.group_application_sender_qualifier = group_application_sender_qualifier - self.group_application_sender_id = group_application_sender_id - self.group_application_password = group_application_password - self.overwrite_existing_transaction_set_control_number = overwrite_existing_transaction_set_control_number - self.transaction_set_control_number_prefix = transaction_set_control_number_prefix - self.transaction_set_control_number_suffix = transaction_set_control_number_suffix - self.transaction_set_control_number_lower_bound = transaction_set_control_number_lower_bound - self.transaction_set_control_number_upper_bound = transaction_set_control_number_upper_bound - self.rollover_transaction_set_control_number = rollover_transaction_set_control_number - self.is_test_interchange = is_test_interchange - self.sender_internal_identification = sender_internal_identification - self.sender_internal_sub_identification = sender_internal_sub_identification - self.receiver_internal_identification = receiver_internal_identification - self.receiver_internal_sub_identification = receiver_internal_sub_identification diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_framing_settings.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_framing_settings.py deleted file mode 100644 index 07795e620caf..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_framing_settings.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class EdifactFramingSettings(Model): - """The Edifact agreement framing settings. - - All required parameters must be populated in order to send to Azure. - - :param service_code_list_directory_version: The service code list - directory version. - :type service_code_list_directory_version: str - :param character_encoding: The character encoding. - :type character_encoding: str - :param protocol_version: Required. The protocol version. - :type protocol_version: int - :param data_element_separator: Required. The data element separator. - :type data_element_separator: int - :param component_separator: Required. The component separator. - :type component_separator: int - :param segment_terminator: Required. The segment terminator. - :type segment_terminator: int - :param release_indicator: Required. The release indicator. - :type release_indicator: int - :param repetition_separator: Required. The repetition separator. - :type repetition_separator: int - :param character_set: Required. The EDIFACT frame setting characterSet. - Possible values include: 'NotSpecified', 'UNOB', 'UNOA', 'UNOC', 'UNOD', - 'UNOE', 'UNOF', 'UNOG', 'UNOH', 'UNOI', 'UNOJ', 'UNOK', 'UNOX', 'UNOY', - 'KECA' - :type character_set: str or ~azure.mgmt.logic.models.EdifactCharacterSet - :param decimal_point_indicator: Required. The EDIFACT frame setting - decimal indicator. Possible values include: 'NotSpecified', 'Comma', - 'Decimal' - :type decimal_point_indicator: str or - ~azure.mgmt.logic.models.EdifactDecimalIndicator - :param segment_terminator_suffix: Required. The EDIFACT frame setting - segment terminator suffix. Possible values include: 'NotSpecified', - 'None', 'CR', 'LF', 'CRLF' - :type segment_terminator_suffix: str or - ~azure.mgmt.logic.models.SegmentTerminatorSuffix - """ - - _validation = { - 'protocol_version': {'required': True}, - 'data_element_separator': {'required': True}, - 'component_separator': {'required': True}, - 'segment_terminator': {'required': True}, - 'release_indicator': {'required': True}, - 'repetition_separator': {'required': True}, - 'character_set': {'required': True}, - 'decimal_point_indicator': {'required': True}, - 'segment_terminator_suffix': {'required': True}, - } - - _attribute_map = { - 'service_code_list_directory_version': {'key': 'serviceCodeListDirectoryVersion', 'type': 'str'}, - 'character_encoding': {'key': 'characterEncoding', 'type': 'str'}, - 'protocol_version': {'key': 'protocolVersion', 'type': 'int'}, - 'data_element_separator': {'key': 'dataElementSeparator', 'type': 'int'}, - 'component_separator': {'key': 'componentSeparator', 'type': 'int'}, - 'segment_terminator': {'key': 'segmentTerminator', 'type': 'int'}, - 'release_indicator': {'key': 'releaseIndicator', 'type': 'int'}, - 'repetition_separator': {'key': 'repetitionSeparator', 'type': 'int'}, - 'character_set': {'key': 'characterSet', 'type': 'str'}, - 'decimal_point_indicator': {'key': 'decimalPointIndicator', 'type': 'EdifactDecimalIndicator'}, - 'segment_terminator_suffix': {'key': 'segmentTerminatorSuffix', 'type': 'SegmentTerminatorSuffix'}, - } - - def __init__(self, **kwargs): - super(EdifactFramingSettings, self).__init__(**kwargs) - self.service_code_list_directory_version = kwargs.get('service_code_list_directory_version', None) - self.character_encoding = kwargs.get('character_encoding', None) - self.protocol_version = kwargs.get('protocol_version', None) - self.data_element_separator = kwargs.get('data_element_separator', None) - self.component_separator = kwargs.get('component_separator', None) - self.segment_terminator = kwargs.get('segment_terminator', None) - self.release_indicator = kwargs.get('release_indicator', None) - self.repetition_separator = kwargs.get('repetition_separator', None) - self.character_set = kwargs.get('character_set', None) - self.decimal_point_indicator = kwargs.get('decimal_point_indicator', None) - self.segment_terminator_suffix = kwargs.get('segment_terminator_suffix', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_framing_settings_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_framing_settings_py3.py deleted file mode 100644 index f7b668535545..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_framing_settings_py3.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class EdifactFramingSettings(Model): - """The Edifact agreement framing settings. - - All required parameters must be populated in order to send to Azure. - - :param service_code_list_directory_version: The service code list - directory version. - :type service_code_list_directory_version: str - :param character_encoding: The character encoding. - :type character_encoding: str - :param protocol_version: Required. The protocol version. - :type protocol_version: int - :param data_element_separator: Required. The data element separator. - :type data_element_separator: int - :param component_separator: Required. The component separator. - :type component_separator: int - :param segment_terminator: Required. The segment terminator. - :type segment_terminator: int - :param release_indicator: Required. The release indicator. - :type release_indicator: int - :param repetition_separator: Required. The repetition separator. - :type repetition_separator: int - :param character_set: Required. The EDIFACT frame setting characterSet. - Possible values include: 'NotSpecified', 'UNOB', 'UNOA', 'UNOC', 'UNOD', - 'UNOE', 'UNOF', 'UNOG', 'UNOH', 'UNOI', 'UNOJ', 'UNOK', 'UNOX', 'UNOY', - 'KECA' - :type character_set: str or ~azure.mgmt.logic.models.EdifactCharacterSet - :param decimal_point_indicator: Required. The EDIFACT frame setting - decimal indicator. Possible values include: 'NotSpecified', 'Comma', - 'Decimal' - :type decimal_point_indicator: str or - ~azure.mgmt.logic.models.EdifactDecimalIndicator - :param segment_terminator_suffix: Required. The EDIFACT frame setting - segment terminator suffix. Possible values include: 'NotSpecified', - 'None', 'CR', 'LF', 'CRLF' - :type segment_terminator_suffix: str or - ~azure.mgmt.logic.models.SegmentTerminatorSuffix - """ - - _validation = { - 'protocol_version': {'required': True}, - 'data_element_separator': {'required': True}, - 'component_separator': {'required': True}, - 'segment_terminator': {'required': True}, - 'release_indicator': {'required': True}, - 'repetition_separator': {'required': True}, - 'character_set': {'required': True}, - 'decimal_point_indicator': {'required': True}, - 'segment_terminator_suffix': {'required': True}, - } - - _attribute_map = { - 'service_code_list_directory_version': {'key': 'serviceCodeListDirectoryVersion', 'type': 'str'}, - 'character_encoding': {'key': 'characterEncoding', 'type': 'str'}, - 'protocol_version': {'key': 'protocolVersion', 'type': 'int'}, - 'data_element_separator': {'key': 'dataElementSeparator', 'type': 'int'}, - 'component_separator': {'key': 'componentSeparator', 'type': 'int'}, - 'segment_terminator': {'key': 'segmentTerminator', 'type': 'int'}, - 'release_indicator': {'key': 'releaseIndicator', 'type': 'int'}, - 'repetition_separator': {'key': 'repetitionSeparator', 'type': 'int'}, - 'character_set': {'key': 'characterSet', 'type': 'str'}, - 'decimal_point_indicator': {'key': 'decimalPointIndicator', 'type': 'EdifactDecimalIndicator'}, - 'segment_terminator_suffix': {'key': 'segmentTerminatorSuffix', 'type': 'SegmentTerminatorSuffix'}, - } - - def __init__(self, *, protocol_version: int, data_element_separator: int, component_separator: int, segment_terminator: int, release_indicator: int, repetition_separator: int, character_set, decimal_point_indicator, segment_terminator_suffix, service_code_list_directory_version: str=None, character_encoding: str=None, **kwargs) -> None: - super(EdifactFramingSettings, self).__init__(**kwargs) - self.service_code_list_directory_version = service_code_list_directory_version - self.character_encoding = character_encoding - self.protocol_version = protocol_version - self.data_element_separator = data_element_separator - self.component_separator = component_separator - self.segment_terminator = segment_terminator - self.release_indicator = release_indicator - self.repetition_separator = repetition_separator - self.character_set = character_set - self.decimal_point_indicator = decimal_point_indicator - self.segment_terminator_suffix = segment_terminator_suffix diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_message_filter.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_message_filter.py deleted file mode 100644 index ba86f0922a69..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_message_filter.py +++ /dev/null @@ -1,36 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class EdifactMessageFilter(Model): - """The Edifact message filter for odata query. - - All required parameters must be populated in order to send to Azure. - - :param message_filter_type: Required. The message filter type. Possible - values include: 'NotSpecified', 'Include', 'Exclude' - :type message_filter_type: str or - ~azure.mgmt.logic.models.MessageFilterType - """ - - _validation = { - 'message_filter_type': {'required': True}, - } - - _attribute_map = { - 'message_filter_type': {'key': 'messageFilterType', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(EdifactMessageFilter, self).__init__(**kwargs) - self.message_filter_type = kwargs.get('message_filter_type', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_message_filter_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_message_filter_py3.py deleted file mode 100644 index c4fc6fa62117..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_message_filter_py3.py +++ /dev/null @@ -1,36 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class EdifactMessageFilter(Model): - """The Edifact message filter for odata query. - - All required parameters must be populated in order to send to Azure. - - :param message_filter_type: Required. The message filter type. Possible - values include: 'NotSpecified', 'Include', 'Exclude' - :type message_filter_type: str or - ~azure.mgmt.logic.models.MessageFilterType - """ - - _validation = { - 'message_filter_type': {'required': True}, - } - - _attribute_map = { - 'message_filter_type': {'key': 'messageFilterType', 'type': 'str'}, - } - - def __init__(self, *, message_filter_type, **kwargs) -> None: - super(EdifactMessageFilter, self).__init__(**kwargs) - self.message_filter_type = message_filter_type diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_message_identifier.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_message_identifier.py deleted file mode 100644 index 1aac0d7f82cc..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_message_identifier.py +++ /dev/null @@ -1,35 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class EdifactMessageIdentifier(Model): - """The Edifact message identifier. - - All required parameters must be populated in order to send to Azure. - - :param message_id: Required. The message id on which this envelope - settings has to be applied. - :type message_id: str - """ - - _validation = { - 'message_id': {'required': True}, - } - - _attribute_map = { - 'message_id': {'key': 'messageId', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(EdifactMessageIdentifier, self).__init__(**kwargs) - self.message_id = kwargs.get('message_id', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_message_identifier_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_message_identifier_py3.py deleted file mode 100644 index 022f6017ace9..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_message_identifier_py3.py +++ /dev/null @@ -1,35 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class EdifactMessageIdentifier(Model): - """The Edifact message identifier. - - All required parameters must be populated in order to send to Azure. - - :param message_id: Required. The message id on which this envelope - settings has to be applied. - :type message_id: str - """ - - _validation = { - 'message_id': {'required': True}, - } - - _attribute_map = { - 'message_id': {'key': 'messageId', 'type': 'str'}, - } - - def __init__(self, *, message_id: str, **kwargs) -> None: - super(EdifactMessageIdentifier, self).__init__(**kwargs) - self.message_id = message_id diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_one_way_agreement.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_one_way_agreement.py deleted file mode 100644 index f5e2e18b2562..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_one_way_agreement.py +++ /dev/null @@ -1,46 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class EdifactOneWayAgreement(Model): - """The Edifact one way agreement. - - All required parameters must be populated in order to send to Azure. - - :param sender_business_identity: Required. The sender business identity - :type sender_business_identity: ~azure.mgmt.logic.models.BusinessIdentity - :param receiver_business_identity: Required. The receiver business - identity - :type receiver_business_identity: - ~azure.mgmt.logic.models.BusinessIdentity - :param protocol_settings: Required. The EDIFACT protocol settings. - :type protocol_settings: ~azure.mgmt.logic.models.EdifactProtocolSettings - """ - - _validation = { - 'sender_business_identity': {'required': True}, - 'receiver_business_identity': {'required': True}, - 'protocol_settings': {'required': True}, - } - - _attribute_map = { - 'sender_business_identity': {'key': 'senderBusinessIdentity', 'type': 'BusinessIdentity'}, - 'receiver_business_identity': {'key': 'receiverBusinessIdentity', 'type': 'BusinessIdentity'}, - 'protocol_settings': {'key': 'protocolSettings', 'type': 'EdifactProtocolSettings'}, - } - - def __init__(self, **kwargs): - super(EdifactOneWayAgreement, self).__init__(**kwargs) - self.sender_business_identity = kwargs.get('sender_business_identity', None) - self.receiver_business_identity = kwargs.get('receiver_business_identity', None) - self.protocol_settings = kwargs.get('protocol_settings', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_one_way_agreement_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_one_way_agreement_py3.py deleted file mode 100644 index 81fbd5025ec9..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_one_way_agreement_py3.py +++ /dev/null @@ -1,46 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class EdifactOneWayAgreement(Model): - """The Edifact one way agreement. - - All required parameters must be populated in order to send to Azure. - - :param sender_business_identity: Required. The sender business identity - :type sender_business_identity: ~azure.mgmt.logic.models.BusinessIdentity - :param receiver_business_identity: Required. The receiver business - identity - :type receiver_business_identity: - ~azure.mgmt.logic.models.BusinessIdentity - :param protocol_settings: Required. The EDIFACT protocol settings. - :type protocol_settings: ~azure.mgmt.logic.models.EdifactProtocolSettings - """ - - _validation = { - 'sender_business_identity': {'required': True}, - 'receiver_business_identity': {'required': True}, - 'protocol_settings': {'required': True}, - } - - _attribute_map = { - 'sender_business_identity': {'key': 'senderBusinessIdentity', 'type': 'BusinessIdentity'}, - 'receiver_business_identity': {'key': 'receiverBusinessIdentity', 'type': 'BusinessIdentity'}, - 'protocol_settings': {'key': 'protocolSettings', 'type': 'EdifactProtocolSettings'}, - } - - def __init__(self, *, sender_business_identity, receiver_business_identity, protocol_settings, **kwargs) -> None: - super(EdifactOneWayAgreement, self).__init__(**kwargs) - self.sender_business_identity = sender_business_identity - self.receiver_business_identity = receiver_business_identity - self.protocol_settings = protocol_settings diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_processing_settings.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_processing_settings.py deleted file mode 100644 index c1ee11a2f226..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_processing_settings.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class EdifactProcessingSettings(Model): - """The Edifact agreement protocol settings. - - All required parameters must be populated in order to send to Azure. - - :param mask_security_info: Required. The value indicating whether to mask - security information. - :type mask_security_info: bool - :param preserve_interchange: Required. The value indicating whether to - preserve interchange. - :type preserve_interchange: bool - :param suspend_interchange_on_error: Required. The value indicating - whether to suspend interchange on error. - :type suspend_interchange_on_error: bool - :param create_empty_xml_tags_for_trailing_separators: Required. The value - indicating whether to create empty xml tags for trailing separators. - :type create_empty_xml_tags_for_trailing_separators: bool - :param use_dot_as_decimal_separator: Required. The value indicating - whether to use dot as decimal separator. - :type use_dot_as_decimal_separator: bool - """ - - _validation = { - 'mask_security_info': {'required': True}, - 'preserve_interchange': {'required': True}, - 'suspend_interchange_on_error': {'required': True}, - 'create_empty_xml_tags_for_trailing_separators': {'required': True}, - 'use_dot_as_decimal_separator': {'required': True}, - } - - _attribute_map = { - 'mask_security_info': {'key': 'maskSecurityInfo', 'type': 'bool'}, - 'preserve_interchange': {'key': 'preserveInterchange', 'type': 'bool'}, - 'suspend_interchange_on_error': {'key': 'suspendInterchangeOnError', 'type': 'bool'}, - 'create_empty_xml_tags_for_trailing_separators': {'key': 'createEmptyXmlTagsForTrailingSeparators', 'type': 'bool'}, - 'use_dot_as_decimal_separator': {'key': 'useDotAsDecimalSeparator', 'type': 'bool'}, - } - - def __init__(self, **kwargs): - super(EdifactProcessingSettings, self).__init__(**kwargs) - self.mask_security_info = kwargs.get('mask_security_info', None) - self.preserve_interchange = kwargs.get('preserve_interchange', None) - self.suspend_interchange_on_error = kwargs.get('suspend_interchange_on_error', None) - self.create_empty_xml_tags_for_trailing_separators = kwargs.get('create_empty_xml_tags_for_trailing_separators', None) - self.use_dot_as_decimal_separator = kwargs.get('use_dot_as_decimal_separator', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_processing_settings_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_processing_settings_py3.py deleted file mode 100644 index 5beb418ea9c9..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_processing_settings_py3.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class EdifactProcessingSettings(Model): - """The Edifact agreement protocol settings. - - All required parameters must be populated in order to send to Azure. - - :param mask_security_info: Required. The value indicating whether to mask - security information. - :type mask_security_info: bool - :param preserve_interchange: Required. The value indicating whether to - preserve interchange. - :type preserve_interchange: bool - :param suspend_interchange_on_error: Required. The value indicating - whether to suspend interchange on error. - :type suspend_interchange_on_error: bool - :param create_empty_xml_tags_for_trailing_separators: Required. The value - indicating whether to create empty xml tags for trailing separators. - :type create_empty_xml_tags_for_trailing_separators: bool - :param use_dot_as_decimal_separator: Required. The value indicating - whether to use dot as decimal separator. - :type use_dot_as_decimal_separator: bool - """ - - _validation = { - 'mask_security_info': {'required': True}, - 'preserve_interchange': {'required': True}, - 'suspend_interchange_on_error': {'required': True}, - 'create_empty_xml_tags_for_trailing_separators': {'required': True}, - 'use_dot_as_decimal_separator': {'required': True}, - } - - _attribute_map = { - 'mask_security_info': {'key': 'maskSecurityInfo', 'type': 'bool'}, - 'preserve_interchange': {'key': 'preserveInterchange', 'type': 'bool'}, - 'suspend_interchange_on_error': {'key': 'suspendInterchangeOnError', 'type': 'bool'}, - 'create_empty_xml_tags_for_trailing_separators': {'key': 'createEmptyXmlTagsForTrailingSeparators', 'type': 'bool'}, - 'use_dot_as_decimal_separator': {'key': 'useDotAsDecimalSeparator', 'type': 'bool'}, - } - - def __init__(self, *, mask_security_info: bool, preserve_interchange: bool, suspend_interchange_on_error: bool, create_empty_xml_tags_for_trailing_separators: bool, use_dot_as_decimal_separator: bool, **kwargs) -> None: - super(EdifactProcessingSettings, self).__init__(**kwargs) - self.mask_security_info = mask_security_info - self.preserve_interchange = preserve_interchange - self.suspend_interchange_on_error = suspend_interchange_on_error - self.create_empty_xml_tags_for_trailing_separators = create_empty_xml_tags_for_trailing_separators - self.use_dot_as_decimal_separator = use_dot_as_decimal_separator diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_protocol_settings.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_protocol_settings.py deleted file mode 100644 index e61786f11f26..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_protocol_settings.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class EdifactProtocolSettings(Model): - """The Edifact agreement protocol settings. - - All required parameters must be populated in order to send to Azure. - - :param validation_settings: Required. The EDIFACT validation settings. - :type validation_settings: - ~azure.mgmt.logic.models.EdifactValidationSettings - :param framing_settings: Required. The EDIFACT framing settings. - :type framing_settings: ~azure.mgmt.logic.models.EdifactFramingSettings - :param envelope_settings: Required. The EDIFACT envelope settings. - :type envelope_settings: ~azure.mgmt.logic.models.EdifactEnvelopeSettings - :param acknowledgement_settings: Required. The EDIFACT acknowledgement - settings. - :type acknowledgement_settings: - ~azure.mgmt.logic.models.EdifactAcknowledgementSettings - :param message_filter: Required. The EDIFACT message filter. - :type message_filter: ~azure.mgmt.logic.models.EdifactMessageFilter - :param processing_settings: Required. The EDIFACT processing Settings. - :type processing_settings: - ~azure.mgmt.logic.models.EdifactProcessingSettings - :param envelope_overrides: The EDIFACT envelope override settings. - :type envelope_overrides: - list[~azure.mgmt.logic.models.EdifactEnvelopeOverride] - :param message_filter_list: The EDIFACT message filter list. - :type message_filter_list: - list[~azure.mgmt.logic.models.EdifactMessageIdentifier] - :param schema_references: Required. The EDIFACT schema references. - :type schema_references: - list[~azure.mgmt.logic.models.EdifactSchemaReference] - :param validation_overrides: The EDIFACT validation override settings. - :type validation_overrides: - list[~azure.mgmt.logic.models.EdifactValidationOverride] - :param edifact_delimiter_overrides: The EDIFACT delimiter override - settings. - :type edifact_delimiter_overrides: - list[~azure.mgmt.logic.models.EdifactDelimiterOverride] - """ - - _validation = { - 'validation_settings': {'required': True}, - 'framing_settings': {'required': True}, - 'envelope_settings': {'required': True}, - 'acknowledgement_settings': {'required': True}, - 'message_filter': {'required': True}, - 'processing_settings': {'required': True}, - 'schema_references': {'required': True}, - } - - _attribute_map = { - 'validation_settings': {'key': 'validationSettings', 'type': 'EdifactValidationSettings'}, - 'framing_settings': {'key': 'framingSettings', 'type': 'EdifactFramingSettings'}, - 'envelope_settings': {'key': 'envelopeSettings', 'type': 'EdifactEnvelopeSettings'}, - 'acknowledgement_settings': {'key': 'acknowledgementSettings', 'type': 'EdifactAcknowledgementSettings'}, - 'message_filter': {'key': 'messageFilter', 'type': 'EdifactMessageFilter'}, - 'processing_settings': {'key': 'processingSettings', 'type': 'EdifactProcessingSettings'}, - 'envelope_overrides': {'key': 'envelopeOverrides', 'type': '[EdifactEnvelopeOverride]'}, - 'message_filter_list': {'key': 'messageFilterList', 'type': '[EdifactMessageIdentifier]'}, - 'schema_references': {'key': 'schemaReferences', 'type': '[EdifactSchemaReference]'}, - 'validation_overrides': {'key': 'validationOverrides', 'type': '[EdifactValidationOverride]'}, - 'edifact_delimiter_overrides': {'key': 'edifactDelimiterOverrides', 'type': '[EdifactDelimiterOverride]'}, - } - - def __init__(self, **kwargs): - super(EdifactProtocolSettings, self).__init__(**kwargs) - self.validation_settings = kwargs.get('validation_settings', None) - self.framing_settings = kwargs.get('framing_settings', None) - self.envelope_settings = kwargs.get('envelope_settings', None) - self.acknowledgement_settings = kwargs.get('acknowledgement_settings', None) - self.message_filter = kwargs.get('message_filter', None) - self.processing_settings = kwargs.get('processing_settings', None) - self.envelope_overrides = kwargs.get('envelope_overrides', None) - self.message_filter_list = kwargs.get('message_filter_list', None) - self.schema_references = kwargs.get('schema_references', None) - self.validation_overrides = kwargs.get('validation_overrides', None) - self.edifact_delimiter_overrides = kwargs.get('edifact_delimiter_overrides', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_protocol_settings_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_protocol_settings_py3.py deleted file mode 100644 index 37e81aeb0f3c..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_protocol_settings_py3.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class EdifactProtocolSettings(Model): - """The Edifact agreement protocol settings. - - All required parameters must be populated in order to send to Azure. - - :param validation_settings: Required. The EDIFACT validation settings. - :type validation_settings: - ~azure.mgmt.logic.models.EdifactValidationSettings - :param framing_settings: Required. The EDIFACT framing settings. - :type framing_settings: ~azure.mgmt.logic.models.EdifactFramingSettings - :param envelope_settings: Required. The EDIFACT envelope settings. - :type envelope_settings: ~azure.mgmt.logic.models.EdifactEnvelopeSettings - :param acknowledgement_settings: Required. The EDIFACT acknowledgement - settings. - :type acknowledgement_settings: - ~azure.mgmt.logic.models.EdifactAcknowledgementSettings - :param message_filter: Required. The EDIFACT message filter. - :type message_filter: ~azure.mgmt.logic.models.EdifactMessageFilter - :param processing_settings: Required. The EDIFACT processing Settings. - :type processing_settings: - ~azure.mgmt.logic.models.EdifactProcessingSettings - :param envelope_overrides: The EDIFACT envelope override settings. - :type envelope_overrides: - list[~azure.mgmt.logic.models.EdifactEnvelopeOverride] - :param message_filter_list: The EDIFACT message filter list. - :type message_filter_list: - list[~azure.mgmt.logic.models.EdifactMessageIdentifier] - :param schema_references: Required. The EDIFACT schema references. - :type schema_references: - list[~azure.mgmt.logic.models.EdifactSchemaReference] - :param validation_overrides: The EDIFACT validation override settings. - :type validation_overrides: - list[~azure.mgmt.logic.models.EdifactValidationOverride] - :param edifact_delimiter_overrides: The EDIFACT delimiter override - settings. - :type edifact_delimiter_overrides: - list[~azure.mgmt.logic.models.EdifactDelimiterOverride] - """ - - _validation = { - 'validation_settings': {'required': True}, - 'framing_settings': {'required': True}, - 'envelope_settings': {'required': True}, - 'acknowledgement_settings': {'required': True}, - 'message_filter': {'required': True}, - 'processing_settings': {'required': True}, - 'schema_references': {'required': True}, - } - - _attribute_map = { - 'validation_settings': {'key': 'validationSettings', 'type': 'EdifactValidationSettings'}, - 'framing_settings': {'key': 'framingSettings', 'type': 'EdifactFramingSettings'}, - 'envelope_settings': {'key': 'envelopeSettings', 'type': 'EdifactEnvelopeSettings'}, - 'acknowledgement_settings': {'key': 'acknowledgementSettings', 'type': 'EdifactAcknowledgementSettings'}, - 'message_filter': {'key': 'messageFilter', 'type': 'EdifactMessageFilter'}, - 'processing_settings': {'key': 'processingSettings', 'type': 'EdifactProcessingSettings'}, - 'envelope_overrides': {'key': 'envelopeOverrides', 'type': '[EdifactEnvelopeOverride]'}, - 'message_filter_list': {'key': 'messageFilterList', 'type': '[EdifactMessageIdentifier]'}, - 'schema_references': {'key': 'schemaReferences', 'type': '[EdifactSchemaReference]'}, - 'validation_overrides': {'key': 'validationOverrides', 'type': '[EdifactValidationOverride]'}, - 'edifact_delimiter_overrides': {'key': 'edifactDelimiterOverrides', 'type': '[EdifactDelimiterOverride]'}, - } - - def __init__(self, *, validation_settings, framing_settings, envelope_settings, acknowledgement_settings, message_filter, processing_settings, schema_references, envelope_overrides=None, message_filter_list=None, validation_overrides=None, edifact_delimiter_overrides=None, **kwargs) -> None: - super(EdifactProtocolSettings, self).__init__(**kwargs) - self.validation_settings = validation_settings - self.framing_settings = framing_settings - self.envelope_settings = envelope_settings - self.acknowledgement_settings = acknowledgement_settings - self.message_filter = message_filter - self.processing_settings = processing_settings - self.envelope_overrides = envelope_overrides - self.message_filter_list = message_filter_list - self.schema_references = schema_references - self.validation_overrides = validation_overrides - self.edifact_delimiter_overrides = edifact_delimiter_overrides diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_schema_reference.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_schema_reference.py deleted file mode 100644 index 7e994ce7fe52..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_schema_reference.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class EdifactSchemaReference(Model): - """The Edifact schema reference. - - All required parameters must be populated in order to send to Azure. - - :param message_id: Required. The message id. - :type message_id: str - :param message_version: Required. The message version. - :type message_version: str - :param message_release: Required. The message release version. - :type message_release: str - :param sender_application_id: The sender application id. - :type sender_application_id: str - :param sender_application_qualifier: The sender application qualifier. - :type sender_application_qualifier: str - :param association_assigned_code: The association assigned code. - :type association_assigned_code: str - :param schema_name: Required. The schema name. - :type schema_name: str - """ - - _validation = { - 'message_id': {'required': True}, - 'message_version': {'required': True}, - 'message_release': {'required': True}, - 'schema_name': {'required': True}, - } - - _attribute_map = { - 'message_id': {'key': 'messageId', 'type': 'str'}, - 'message_version': {'key': 'messageVersion', 'type': 'str'}, - 'message_release': {'key': 'messageRelease', 'type': 'str'}, - 'sender_application_id': {'key': 'senderApplicationId', 'type': 'str'}, - 'sender_application_qualifier': {'key': 'senderApplicationQualifier', 'type': 'str'}, - 'association_assigned_code': {'key': 'associationAssignedCode', 'type': 'str'}, - 'schema_name': {'key': 'schemaName', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(EdifactSchemaReference, self).__init__(**kwargs) - self.message_id = kwargs.get('message_id', None) - self.message_version = kwargs.get('message_version', None) - self.message_release = kwargs.get('message_release', None) - self.sender_application_id = kwargs.get('sender_application_id', None) - self.sender_application_qualifier = kwargs.get('sender_application_qualifier', None) - self.association_assigned_code = kwargs.get('association_assigned_code', None) - self.schema_name = kwargs.get('schema_name', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_schema_reference_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_schema_reference_py3.py deleted file mode 100644 index 5f282f5e5a7e..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_schema_reference_py3.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class EdifactSchemaReference(Model): - """The Edifact schema reference. - - All required parameters must be populated in order to send to Azure. - - :param message_id: Required. The message id. - :type message_id: str - :param message_version: Required. The message version. - :type message_version: str - :param message_release: Required. The message release version. - :type message_release: str - :param sender_application_id: The sender application id. - :type sender_application_id: str - :param sender_application_qualifier: The sender application qualifier. - :type sender_application_qualifier: str - :param association_assigned_code: The association assigned code. - :type association_assigned_code: str - :param schema_name: Required. The schema name. - :type schema_name: str - """ - - _validation = { - 'message_id': {'required': True}, - 'message_version': {'required': True}, - 'message_release': {'required': True}, - 'schema_name': {'required': True}, - } - - _attribute_map = { - 'message_id': {'key': 'messageId', 'type': 'str'}, - 'message_version': {'key': 'messageVersion', 'type': 'str'}, - 'message_release': {'key': 'messageRelease', 'type': 'str'}, - 'sender_application_id': {'key': 'senderApplicationId', 'type': 'str'}, - 'sender_application_qualifier': {'key': 'senderApplicationQualifier', 'type': 'str'}, - 'association_assigned_code': {'key': 'associationAssignedCode', 'type': 'str'}, - 'schema_name': {'key': 'schemaName', 'type': 'str'}, - } - - def __init__(self, *, message_id: str, message_version: str, message_release: str, schema_name: str, sender_application_id: str=None, sender_application_qualifier: str=None, association_assigned_code: str=None, **kwargs) -> None: - super(EdifactSchemaReference, self).__init__(**kwargs) - self.message_id = message_id - self.message_version = message_version - self.message_release = message_release - self.sender_application_id = sender_application_id - self.sender_application_qualifier = sender_application_qualifier - self.association_assigned_code = association_assigned_code - self.schema_name = schema_name diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_validation_override.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_validation_override.py deleted file mode 100644 index 667ed14c90a0..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_validation_override.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class EdifactValidationOverride(Model): - """The Edifact validation override settings. - - All required parameters must be populated in order to send to Azure. - - :param message_id: Required. The message id on which the validation - settings has to be applied. - :type message_id: str - :param enforce_character_set: Required. The value indicating whether to - validate character Set. - :type enforce_character_set: bool - :param validate_edi_types: Required. The value indicating whether to - validate EDI types. - :type validate_edi_types: bool - :param validate_xsd_types: Required. The value indicating whether to - validate XSD types. - :type validate_xsd_types: bool - :param allow_leading_and_trailing_spaces_and_zeroes: Required. The value - indicating whether to allow leading and trailing spaces and zeroes. - :type allow_leading_and_trailing_spaces_and_zeroes: bool - :param trailing_separator_policy: Required. The trailing separator policy. - Possible values include: 'NotSpecified', 'NotAllowed', 'Optional', - 'Mandatory' - :type trailing_separator_policy: str or - ~azure.mgmt.logic.models.TrailingSeparatorPolicy - :param trim_leading_and_trailing_spaces_and_zeroes: Required. The value - indicating whether to trim leading and trailing spaces and zeroes. - :type trim_leading_and_trailing_spaces_and_zeroes: bool - """ - - _validation = { - 'message_id': {'required': True}, - 'enforce_character_set': {'required': True}, - 'validate_edi_types': {'required': True}, - 'validate_xsd_types': {'required': True}, - 'allow_leading_and_trailing_spaces_and_zeroes': {'required': True}, - 'trailing_separator_policy': {'required': True}, - 'trim_leading_and_trailing_spaces_and_zeroes': {'required': True}, - } - - _attribute_map = { - 'message_id': {'key': 'messageId', 'type': 'str'}, - 'enforce_character_set': {'key': 'enforceCharacterSet', 'type': 'bool'}, - 'validate_edi_types': {'key': 'validateEDITypes', 'type': 'bool'}, - 'validate_xsd_types': {'key': 'validateXSDTypes', 'type': 'bool'}, - 'allow_leading_and_trailing_spaces_and_zeroes': {'key': 'allowLeadingAndTrailingSpacesAndZeroes', 'type': 'bool'}, - 'trailing_separator_policy': {'key': 'trailingSeparatorPolicy', 'type': 'str'}, - 'trim_leading_and_trailing_spaces_and_zeroes': {'key': 'trimLeadingAndTrailingSpacesAndZeroes', 'type': 'bool'}, - } - - def __init__(self, **kwargs): - super(EdifactValidationOverride, self).__init__(**kwargs) - self.message_id = kwargs.get('message_id', None) - self.enforce_character_set = kwargs.get('enforce_character_set', None) - self.validate_edi_types = kwargs.get('validate_edi_types', None) - self.validate_xsd_types = kwargs.get('validate_xsd_types', None) - self.allow_leading_and_trailing_spaces_and_zeroes = kwargs.get('allow_leading_and_trailing_spaces_and_zeroes', None) - self.trailing_separator_policy = kwargs.get('trailing_separator_policy', None) - self.trim_leading_and_trailing_spaces_and_zeroes = kwargs.get('trim_leading_and_trailing_spaces_and_zeroes', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_validation_override_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_validation_override_py3.py deleted file mode 100644 index a71de0a66f79..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_validation_override_py3.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class EdifactValidationOverride(Model): - """The Edifact validation override settings. - - All required parameters must be populated in order to send to Azure. - - :param message_id: Required. The message id on which the validation - settings has to be applied. - :type message_id: str - :param enforce_character_set: Required. The value indicating whether to - validate character Set. - :type enforce_character_set: bool - :param validate_edi_types: Required. The value indicating whether to - validate EDI types. - :type validate_edi_types: bool - :param validate_xsd_types: Required. The value indicating whether to - validate XSD types. - :type validate_xsd_types: bool - :param allow_leading_and_trailing_spaces_and_zeroes: Required. The value - indicating whether to allow leading and trailing spaces and zeroes. - :type allow_leading_and_trailing_spaces_and_zeroes: bool - :param trailing_separator_policy: Required. The trailing separator policy. - Possible values include: 'NotSpecified', 'NotAllowed', 'Optional', - 'Mandatory' - :type trailing_separator_policy: str or - ~azure.mgmt.logic.models.TrailingSeparatorPolicy - :param trim_leading_and_trailing_spaces_and_zeroes: Required. The value - indicating whether to trim leading and trailing spaces and zeroes. - :type trim_leading_and_trailing_spaces_and_zeroes: bool - """ - - _validation = { - 'message_id': {'required': True}, - 'enforce_character_set': {'required': True}, - 'validate_edi_types': {'required': True}, - 'validate_xsd_types': {'required': True}, - 'allow_leading_and_trailing_spaces_and_zeroes': {'required': True}, - 'trailing_separator_policy': {'required': True}, - 'trim_leading_and_trailing_spaces_and_zeroes': {'required': True}, - } - - _attribute_map = { - 'message_id': {'key': 'messageId', 'type': 'str'}, - 'enforce_character_set': {'key': 'enforceCharacterSet', 'type': 'bool'}, - 'validate_edi_types': {'key': 'validateEDITypes', 'type': 'bool'}, - 'validate_xsd_types': {'key': 'validateXSDTypes', 'type': 'bool'}, - 'allow_leading_and_trailing_spaces_and_zeroes': {'key': 'allowLeadingAndTrailingSpacesAndZeroes', 'type': 'bool'}, - 'trailing_separator_policy': {'key': 'trailingSeparatorPolicy', 'type': 'str'}, - 'trim_leading_and_trailing_spaces_and_zeroes': {'key': 'trimLeadingAndTrailingSpacesAndZeroes', 'type': 'bool'}, - } - - def __init__(self, *, message_id: str, enforce_character_set: bool, validate_edi_types: bool, validate_xsd_types: bool, allow_leading_and_trailing_spaces_and_zeroes: bool, trailing_separator_policy, trim_leading_and_trailing_spaces_and_zeroes: bool, **kwargs) -> None: - super(EdifactValidationOverride, self).__init__(**kwargs) - self.message_id = message_id - self.enforce_character_set = enforce_character_set - self.validate_edi_types = validate_edi_types - self.validate_xsd_types = validate_xsd_types - self.allow_leading_and_trailing_spaces_and_zeroes = allow_leading_and_trailing_spaces_and_zeroes - self.trailing_separator_policy = trailing_separator_policy - self.trim_leading_and_trailing_spaces_and_zeroes = trim_leading_and_trailing_spaces_and_zeroes diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_validation_settings.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_validation_settings.py deleted file mode 100644 index 9a0c3ba33da2..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_validation_settings.py +++ /dev/null @@ -1,91 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class EdifactValidationSettings(Model): - """The Edifact agreement validation settings. - - All required parameters must be populated in order to send to Azure. - - :param validate_character_set: Required. The value indicating whether to - validate character set in the message. - :type validate_character_set: bool - :param check_duplicate_interchange_control_number: Required. The value - indicating whether to check for duplicate interchange control number. - :type check_duplicate_interchange_control_number: bool - :param interchange_control_number_validity_days: Required. The validity - period of interchange control number. - :type interchange_control_number_validity_days: int - :param check_duplicate_group_control_number: Required. The value - indicating whether to check for duplicate group control number. - :type check_duplicate_group_control_number: bool - :param check_duplicate_transaction_set_control_number: Required. The value - indicating whether to check for duplicate transaction set control number. - :type check_duplicate_transaction_set_control_number: bool - :param validate_edi_types: Required. The value indicating whether to - Whether to validate EDI types. - :type validate_edi_types: bool - :param validate_xsd_types: Required. The value indicating whether to - Whether to validate XSD types. - :type validate_xsd_types: bool - :param allow_leading_and_trailing_spaces_and_zeroes: Required. The value - indicating whether to allow leading and trailing spaces and zeroes. - :type allow_leading_and_trailing_spaces_and_zeroes: bool - :param trim_leading_and_trailing_spaces_and_zeroes: Required. The value - indicating whether to trim leading and trailing spaces and zeroes. - :type trim_leading_and_trailing_spaces_and_zeroes: bool - :param trailing_separator_policy: Required. The trailing separator policy. - Possible values include: 'NotSpecified', 'NotAllowed', 'Optional', - 'Mandatory' - :type trailing_separator_policy: str or - ~azure.mgmt.logic.models.TrailingSeparatorPolicy - """ - - _validation = { - 'validate_character_set': {'required': True}, - 'check_duplicate_interchange_control_number': {'required': True}, - 'interchange_control_number_validity_days': {'required': True}, - 'check_duplicate_group_control_number': {'required': True}, - 'check_duplicate_transaction_set_control_number': {'required': True}, - 'validate_edi_types': {'required': True}, - 'validate_xsd_types': {'required': True}, - 'allow_leading_and_trailing_spaces_and_zeroes': {'required': True}, - 'trim_leading_and_trailing_spaces_and_zeroes': {'required': True}, - 'trailing_separator_policy': {'required': True}, - } - - _attribute_map = { - 'validate_character_set': {'key': 'validateCharacterSet', 'type': 'bool'}, - 'check_duplicate_interchange_control_number': {'key': 'checkDuplicateInterchangeControlNumber', 'type': 'bool'}, - 'interchange_control_number_validity_days': {'key': 'interchangeControlNumberValidityDays', 'type': 'int'}, - 'check_duplicate_group_control_number': {'key': 'checkDuplicateGroupControlNumber', 'type': 'bool'}, - 'check_duplicate_transaction_set_control_number': {'key': 'checkDuplicateTransactionSetControlNumber', 'type': 'bool'}, - 'validate_edi_types': {'key': 'validateEDITypes', 'type': 'bool'}, - 'validate_xsd_types': {'key': 'validateXSDTypes', 'type': 'bool'}, - 'allow_leading_and_trailing_spaces_and_zeroes': {'key': 'allowLeadingAndTrailingSpacesAndZeroes', 'type': 'bool'}, - 'trim_leading_and_trailing_spaces_and_zeroes': {'key': 'trimLeadingAndTrailingSpacesAndZeroes', 'type': 'bool'}, - 'trailing_separator_policy': {'key': 'trailingSeparatorPolicy', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(EdifactValidationSettings, self).__init__(**kwargs) - self.validate_character_set = kwargs.get('validate_character_set', None) - self.check_duplicate_interchange_control_number = kwargs.get('check_duplicate_interchange_control_number', None) - self.interchange_control_number_validity_days = kwargs.get('interchange_control_number_validity_days', None) - self.check_duplicate_group_control_number = kwargs.get('check_duplicate_group_control_number', None) - self.check_duplicate_transaction_set_control_number = kwargs.get('check_duplicate_transaction_set_control_number', None) - self.validate_edi_types = kwargs.get('validate_edi_types', None) - self.validate_xsd_types = kwargs.get('validate_xsd_types', None) - self.allow_leading_and_trailing_spaces_and_zeroes = kwargs.get('allow_leading_and_trailing_spaces_and_zeroes', None) - self.trim_leading_and_trailing_spaces_and_zeroes = kwargs.get('trim_leading_and_trailing_spaces_and_zeroes', None) - self.trailing_separator_policy = kwargs.get('trailing_separator_policy', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_validation_settings_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_validation_settings_py3.py deleted file mode 100644 index 4b3ed23a8abc..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/edifact_validation_settings_py3.py +++ /dev/null @@ -1,91 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class EdifactValidationSettings(Model): - """The Edifact agreement validation settings. - - All required parameters must be populated in order to send to Azure. - - :param validate_character_set: Required. The value indicating whether to - validate character set in the message. - :type validate_character_set: bool - :param check_duplicate_interchange_control_number: Required. The value - indicating whether to check for duplicate interchange control number. - :type check_duplicate_interchange_control_number: bool - :param interchange_control_number_validity_days: Required. The validity - period of interchange control number. - :type interchange_control_number_validity_days: int - :param check_duplicate_group_control_number: Required. The value - indicating whether to check for duplicate group control number. - :type check_duplicate_group_control_number: bool - :param check_duplicate_transaction_set_control_number: Required. The value - indicating whether to check for duplicate transaction set control number. - :type check_duplicate_transaction_set_control_number: bool - :param validate_edi_types: Required. The value indicating whether to - Whether to validate EDI types. - :type validate_edi_types: bool - :param validate_xsd_types: Required. The value indicating whether to - Whether to validate XSD types. - :type validate_xsd_types: bool - :param allow_leading_and_trailing_spaces_and_zeroes: Required. The value - indicating whether to allow leading and trailing spaces and zeroes. - :type allow_leading_and_trailing_spaces_and_zeroes: bool - :param trim_leading_and_trailing_spaces_and_zeroes: Required. The value - indicating whether to trim leading and trailing spaces and zeroes. - :type trim_leading_and_trailing_spaces_and_zeroes: bool - :param trailing_separator_policy: Required. The trailing separator policy. - Possible values include: 'NotSpecified', 'NotAllowed', 'Optional', - 'Mandatory' - :type trailing_separator_policy: str or - ~azure.mgmt.logic.models.TrailingSeparatorPolicy - """ - - _validation = { - 'validate_character_set': {'required': True}, - 'check_duplicate_interchange_control_number': {'required': True}, - 'interchange_control_number_validity_days': {'required': True}, - 'check_duplicate_group_control_number': {'required': True}, - 'check_duplicate_transaction_set_control_number': {'required': True}, - 'validate_edi_types': {'required': True}, - 'validate_xsd_types': {'required': True}, - 'allow_leading_and_trailing_spaces_and_zeroes': {'required': True}, - 'trim_leading_and_trailing_spaces_and_zeroes': {'required': True}, - 'trailing_separator_policy': {'required': True}, - } - - _attribute_map = { - 'validate_character_set': {'key': 'validateCharacterSet', 'type': 'bool'}, - 'check_duplicate_interchange_control_number': {'key': 'checkDuplicateInterchangeControlNumber', 'type': 'bool'}, - 'interchange_control_number_validity_days': {'key': 'interchangeControlNumberValidityDays', 'type': 'int'}, - 'check_duplicate_group_control_number': {'key': 'checkDuplicateGroupControlNumber', 'type': 'bool'}, - 'check_duplicate_transaction_set_control_number': {'key': 'checkDuplicateTransactionSetControlNumber', 'type': 'bool'}, - 'validate_edi_types': {'key': 'validateEDITypes', 'type': 'bool'}, - 'validate_xsd_types': {'key': 'validateXSDTypes', 'type': 'bool'}, - 'allow_leading_and_trailing_spaces_and_zeroes': {'key': 'allowLeadingAndTrailingSpacesAndZeroes', 'type': 'bool'}, - 'trim_leading_and_trailing_spaces_and_zeroes': {'key': 'trimLeadingAndTrailingSpacesAndZeroes', 'type': 'bool'}, - 'trailing_separator_policy': {'key': 'trailingSeparatorPolicy', 'type': 'str'}, - } - - def __init__(self, *, validate_character_set: bool, check_duplicate_interchange_control_number: bool, interchange_control_number_validity_days: int, check_duplicate_group_control_number: bool, check_duplicate_transaction_set_control_number: bool, validate_edi_types: bool, validate_xsd_types: bool, allow_leading_and_trailing_spaces_and_zeroes: bool, trim_leading_and_trailing_spaces_and_zeroes: bool, trailing_separator_policy, **kwargs) -> None: - super(EdifactValidationSettings, self).__init__(**kwargs) - self.validate_character_set = validate_character_set - self.check_duplicate_interchange_control_number = check_duplicate_interchange_control_number - self.interchange_control_number_validity_days = interchange_control_number_validity_days - self.check_duplicate_group_control_number = check_duplicate_group_control_number - self.check_duplicate_transaction_set_control_number = check_duplicate_transaction_set_control_number - self.validate_edi_types = validate_edi_types - self.validate_xsd_types = validate_xsd_types - self.allow_leading_and_trailing_spaces_and_zeroes = allow_leading_and_trailing_spaces_and_zeroes - self.trim_leading_and_trailing_spaces_and_zeroes = trim_leading_and_trailing_spaces_and_zeroes - self.trailing_separator_policy = trailing_separator_policy diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/error_info.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/error_info.py deleted file mode 100644 index 4e9b48e2796c..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/error_info.py +++ /dev/null @@ -1,34 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class ErrorInfo(Model): - """The error info. - - All required parameters must be populated in order to send to Azure. - - :param code: Required. The error code. - :type code: str - """ - - _validation = { - 'code': {'required': True}, - } - - _attribute_map = { - 'code': {'key': 'code', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(ErrorInfo, self).__init__(**kwargs) - self.code = kwargs.get('code', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/error_info_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/error_info_py3.py deleted file mode 100644 index e3c4ec9958ab..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/error_info_py3.py +++ /dev/null @@ -1,34 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class ErrorInfo(Model): - """The error info. - - All required parameters must be populated in order to send to Azure. - - :param code: Required. The error code. - :type code: str - """ - - _validation = { - 'code': {'required': True}, - } - - _attribute_map = { - 'code': {'key': 'code', 'type': 'str'}, - } - - def __init__(self, *, code: str, **kwargs) -> None: - super(ErrorInfo, self).__init__(**kwargs) - self.code = code diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/error_properties.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/error_properties.py deleted file mode 100644 index f774797075e0..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/error_properties.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class ErrorProperties(Model): - """Error properties indicate why the Logic service was not able to process the - incoming request. The reason is provided in the error message. - - :param code: Error code. - :type code: str - :param message: Error message indicating why the operation failed. - :type message: str - """ - - _attribute_map = { - 'code': {'key': 'code', 'type': 'str'}, - 'message': {'key': 'message', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(ErrorProperties, self).__init__(**kwargs) - self.code = kwargs.get('code', None) - self.message = kwargs.get('message', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/error_properties_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/error_properties_py3.py deleted file mode 100644 index 333f2a770740..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/error_properties_py3.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class ErrorProperties(Model): - """Error properties indicate why the Logic service was not able to process the - incoming request. The reason is provided in the error message. - - :param code: Error code. - :type code: str - :param message: Error message indicating why the operation failed. - :type message: str - """ - - _attribute_map = { - 'code': {'key': 'code', 'type': 'str'}, - 'message': {'key': 'message', 'type': 'str'}, - } - - def __init__(self, *, code: str=None, message: str=None, **kwargs) -> None: - super(ErrorProperties, self).__init__(**kwargs) - self.code = code - self.message = message diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/error_response.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/error_response.py deleted file mode 100644 index 76a7e8315595..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/error_response.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model -from msrest.exceptions import HttpOperationError - - -class ErrorResponse(Model): - """Error response indicates Logic service is not able to process the incoming - request. The error property contains the error details. - - :param error: The error properties. - :type error: ~azure.mgmt.logic.models.ErrorProperties - """ - - _attribute_map = { - 'error': {'key': 'error', 'type': 'ErrorProperties'}, - } - - def __init__(self, **kwargs): - super(ErrorResponse, self).__init__(**kwargs) - self.error = kwargs.get('error', None) - - -class ErrorResponseException(HttpOperationError): - """Server responsed with exception of type: 'ErrorResponse'. - - :param deserialize: A deserializer - :param response: Server response to be deserialized. - """ - - def __init__(self, deserialize, response, *args): - - super(ErrorResponseException, self).__init__(deserialize, response, 'ErrorResponse', *args) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/error_response_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/error_response_py3.py deleted file mode 100644 index 8e081b09a2b0..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/error_response_py3.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model -from msrest.exceptions import HttpOperationError - - -class ErrorResponse(Model): - """Error response indicates Logic service is not able to process the incoming - request. The error property contains the error details. - - :param error: The error properties. - :type error: ~azure.mgmt.logic.models.ErrorProperties - """ - - _attribute_map = { - 'error': {'key': 'error', 'type': 'ErrorProperties'}, - } - - def __init__(self, *, error=None, **kwargs) -> None: - super(ErrorResponse, self).__init__(**kwargs) - self.error = error - - -class ErrorResponseException(HttpOperationError): - """Server responsed with exception of type: 'ErrorResponse'. - - :param deserialize: A deserializer - :param response: Server response to be deserialized. - """ - - def __init__(self, deserialize, response, *args): - - super(ErrorResponseException, self).__init__(deserialize, response, 'ErrorResponse', *args) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/expression.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/expression.py deleted file mode 100644 index a67ba97cfc33..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/expression.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class Expression(Model): - """Expression. - - :param text: - :type text: str - :param value: - :type value: object - :param subexpressions: - :type subexpressions: list[~azure.mgmt.logic.models.Expression] - :param error: - :type error: ~azure.mgmt.logic.models.AzureResourceErrorInfo - """ - - _attribute_map = { - 'text': {'key': 'text', 'type': 'str'}, - 'value': {'key': 'value', 'type': 'object'}, - 'subexpressions': {'key': 'subexpressions', 'type': '[Expression]'}, - 'error': {'key': 'error', 'type': 'AzureResourceErrorInfo'}, - } - - def __init__(self, **kwargs): - super(Expression, self).__init__(**kwargs) - self.text = kwargs.get('text', None) - self.value = kwargs.get('value', None) - self.subexpressions = kwargs.get('subexpressions', None) - self.error = kwargs.get('error', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/expression_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/expression_py3.py deleted file mode 100644 index d2e00042a929..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/expression_py3.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class Expression(Model): - """Expression. - - :param text: - :type text: str - :param value: - :type value: object - :param subexpressions: - :type subexpressions: list[~azure.mgmt.logic.models.Expression] - :param error: - :type error: ~azure.mgmt.logic.models.AzureResourceErrorInfo - """ - - _attribute_map = { - 'text': {'key': 'text', 'type': 'str'}, - 'value': {'key': 'value', 'type': 'object'}, - 'subexpressions': {'key': 'subexpressions', 'type': '[Expression]'}, - 'error': {'key': 'error', 'type': 'AzureResourceErrorInfo'}, - } - - def __init__(self, *, text: str=None, value=None, subexpressions=None, error=None, **kwargs) -> None: - super(Expression, self).__init__(**kwargs) - self.text = text - self.value = value - self.subexpressions = subexpressions - self.error = error diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/expression_root.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/expression_root.py deleted file mode 100644 index 45a9253fce15..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/expression_root.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from .expression import Expression - - -class ExpressionRoot(Expression): - """ExpressionRoot. - - :param text: - :type text: str - :param value: - :type value: object - :param subexpressions: - :type subexpressions: list[~azure.mgmt.logic.models.Expression] - :param error: - :type error: ~azure.mgmt.logic.models.AzureResourceErrorInfo - :param path: The path. - :type path: str - """ - - _attribute_map = { - 'text': {'key': 'text', 'type': 'str'}, - 'value': {'key': 'value', 'type': 'object'}, - 'subexpressions': {'key': 'subexpressions', 'type': '[Expression]'}, - 'error': {'key': 'error', 'type': 'AzureResourceErrorInfo'}, - 'path': {'key': 'path', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(ExpressionRoot, self).__init__(**kwargs) - self.path = kwargs.get('path', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/expression_root_paged.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/expression_root_paged.py deleted file mode 100644 index d32646b4a1d8..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/expression_root_paged.py +++ /dev/null @@ -1,27 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.paging import Paged - - -class ExpressionRootPaged(Paged): - """ - A paging container for iterating over a list of :class:`ExpressionRoot ` object - """ - - _attribute_map = { - 'next_link': {'key': 'nextLink', 'type': 'str'}, - 'current_page': {'key': 'inputs', 'type': '[ExpressionRoot]'} - } - - def __init__(self, *args, **kwargs): - - super(ExpressionRootPaged, self).__init__(*args, **kwargs) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/expression_root_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/expression_root_py3.py deleted file mode 100644 index 6463b1607310..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/expression_root_py3.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from .expression_py3 import Expression - - -class ExpressionRoot(Expression): - """ExpressionRoot. - - :param text: - :type text: str - :param value: - :type value: object - :param subexpressions: - :type subexpressions: list[~azure.mgmt.logic.models.Expression] - :param error: - :type error: ~azure.mgmt.logic.models.AzureResourceErrorInfo - :param path: The path. - :type path: str - """ - - _attribute_map = { - 'text': {'key': 'text', 'type': 'str'}, - 'value': {'key': 'value', 'type': 'object'}, - 'subexpressions': {'key': 'subexpressions', 'type': '[Expression]'}, - 'error': {'key': 'error', 'type': 'AzureResourceErrorInfo'}, - 'path': {'key': 'path', 'type': 'str'}, - } - - def __init__(self, *, text: str=None, value=None, subexpressions=None, error=None, path: str=None, **kwargs) -> None: - super(ExpressionRoot, self).__init__(text=text, value=value, subexpressions=subexpressions, error=error, **kwargs) - self.path = path diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/generate_upgraded_definition_parameters.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/generate_upgraded_definition_parameters.py deleted file mode 100644 index fbab264f0c56..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/generate_upgraded_definition_parameters.py +++ /dev/null @@ -1,28 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class GenerateUpgradedDefinitionParameters(Model): - """The parameters to generate upgraded definition. - - :param target_schema_version: The target schema version. - :type target_schema_version: str - """ - - _attribute_map = { - 'target_schema_version': {'key': 'targetSchemaVersion', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(GenerateUpgradedDefinitionParameters, self).__init__(**kwargs) - self.target_schema_version = kwargs.get('target_schema_version', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/generate_upgraded_definition_parameters_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/generate_upgraded_definition_parameters_py3.py deleted file mode 100644 index fe3f6bcf11cb..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/generate_upgraded_definition_parameters_py3.py +++ /dev/null @@ -1,28 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class GenerateUpgradedDefinitionParameters(Model): - """The parameters to generate upgraded definition. - - :param target_schema_version: The target schema version. - :type target_schema_version: str - """ - - _attribute_map = { - 'target_schema_version': {'key': 'targetSchemaVersion', 'type': 'str'}, - } - - def __init__(self, *, target_schema_version: str=None, **kwargs) -> None: - super(GenerateUpgradedDefinitionParameters, self).__init__(**kwargs) - self.target_schema_version = target_schema_version diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/get_callback_url_parameters.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/get_callback_url_parameters.py deleted file mode 100644 index 0f913c0ede41..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/get_callback_url_parameters.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class GetCallbackUrlParameters(Model): - """The callback url parameters. - - :param not_after: The expiry time. - :type not_after: datetime - :param key_type: The key type. Possible values include: 'NotSpecified', - 'Primary', 'Secondary' - :type key_type: str or ~azure.mgmt.logic.models.KeyType - """ - - _attribute_map = { - 'not_after': {'key': 'notAfter', 'type': 'iso-8601'}, - 'key_type': {'key': 'keyType', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(GetCallbackUrlParameters, self).__init__(**kwargs) - self.not_after = kwargs.get('not_after', None) - self.key_type = kwargs.get('key_type', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/get_callback_url_parameters_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/get_callback_url_parameters_py3.py deleted file mode 100644 index 0d9612f0eef0..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/get_callback_url_parameters_py3.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class GetCallbackUrlParameters(Model): - """The callback url parameters. - - :param not_after: The expiry time. - :type not_after: datetime - :param key_type: The key type. Possible values include: 'NotSpecified', - 'Primary', 'Secondary' - :type key_type: str or ~azure.mgmt.logic.models.KeyType - """ - - _attribute_map = { - 'not_after': {'key': 'notAfter', 'type': 'iso-8601'}, - 'key_type': {'key': 'keyType', 'type': 'str'}, - } - - def __init__(self, *, not_after=None, key_type=None, **kwargs) -> None: - super(GetCallbackUrlParameters, self).__init__(**kwargs) - self.not_after = not_after - self.key_type = key_type diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account.py deleted file mode 100644 index b29acb017b92..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from .resource import Resource - - -class IntegrationAccount(Resource): - """The integration account. - - Variables are only populated by the server, and will be ignored when - sending a request. - - :ivar id: The resource id. - :vartype id: str - :ivar name: Gets the resource name. - :vartype name: str - :ivar type: Gets the resource type. - :vartype type: str - :param location: The resource location. - :type location: str - :param tags: The resource tags. - :type tags: dict[str, str] - :param properties: The integration account properties. - :type properties: object - :param sku: The sku. - :type sku: ~azure.mgmt.logic.models.IntegrationAccountSku - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'location': {'key': 'location', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': '{str}'}, - 'properties': {'key': 'properties', 'type': 'object'}, - 'sku': {'key': 'sku', 'type': 'IntegrationAccountSku'}, - } - - def __init__(self, **kwargs): - super(IntegrationAccount, self).__init__(**kwargs) - self.properties = kwargs.get('properties', None) - self.sku = kwargs.get('sku', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_agreement.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_agreement.py deleted file mode 100644 index 5fad800c2ade..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_agreement.py +++ /dev/null @@ -1,98 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from .resource import Resource - - -class IntegrationAccountAgreement(Resource): - """The integration account agreement. - - Variables are only populated by the server, and will be ignored when - sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar id: The resource id. - :vartype id: str - :ivar name: Gets the resource name. - :vartype name: str - :ivar type: Gets the resource type. - :vartype type: str - :param location: The resource location. - :type location: str - :param tags: The resource tags. - :type tags: dict[str, str] - :ivar created_time: The created time. - :vartype created_time: datetime - :ivar changed_time: The changed time. - :vartype changed_time: datetime - :param metadata: The metadata. - :type metadata: object - :param agreement_type: Required. The agreement type. Possible values - include: 'NotSpecified', 'AS2', 'X12', 'Edifact' - :type agreement_type: str or ~azure.mgmt.logic.models.AgreementType - :param host_partner: Required. The integration account partner that is set - as host partner for this agreement. - :type host_partner: str - :param guest_partner: Required. The integration account partner that is - set as guest partner for this agreement. - :type guest_partner: str - :param host_identity: Required. The business identity of the host partner. - :type host_identity: ~azure.mgmt.logic.models.BusinessIdentity - :param guest_identity: Required. The business identity of the guest - partner. - :type guest_identity: ~azure.mgmt.logic.models.BusinessIdentity - :param content: Required. The agreement content. - :type content: ~azure.mgmt.logic.models.AgreementContent - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'created_time': {'readonly': True}, - 'changed_time': {'readonly': True}, - 'agreement_type': {'required': True}, - 'host_partner': {'required': True}, - 'guest_partner': {'required': True}, - 'host_identity': {'required': True}, - 'guest_identity': {'required': True}, - 'content': {'required': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'location': {'key': 'location', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': '{str}'}, - 'created_time': {'key': 'properties.createdTime', 'type': 'iso-8601'}, - 'changed_time': {'key': 'properties.changedTime', 'type': 'iso-8601'}, - 'metadata': {'key': 'properties.metadata', 'type': 'object'}, - 'agreement_type': {'key': 'properties.agreementType', 'type': 'AgreementType'}, - 'host_partner': {'key': 'properties.hostPartner', 'type': 'str'}, - 'guest_partner': {'key': 'properties.guestPartner', 'type': 'str'}, - 'host_identity': {'key': 'properties.hostIdentity', 'type': 'BusinessIdentity'}, - 'guest_identity': {'key': 'properties.guestIdentity', 'type': 'BusinessIdentity'}, - 'content': {'key': 'properties.content', 'type': 'AgreementContent'}, - } - - def __init__(self, **kwargs): - super(IntegrationAccountAgreement, self).__init__(**kwargs) - self.created_time = None - self.changed_time = None - self.metadata = kwargs.get('metadata', None) - self.agreement_type = kwargs.get('agreement_type', None) - self.host_partner = kwargs.get('host_partner', None) - self.guest_partner = kwargs.get('guest_partner', None) - self.host_identity = kwargs.get('host_identity', None) - self.guest_identity = kwargs.get('guest_identity', None) - self.content = kwargs.get('content', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_agreement_filter.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_agreement_filter.py deleted file mode 100644 index ed00ee6cf955..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_agreement_filter.py +++ /dev/null @@ -1,36 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class IntegrationAccountAgreementFilter(Model): - """The integration account agreement filter for odata query. - - All required parameters must be populated in order to send to Azure. - - :param agreement_type: Required. The agreement type of integration account - agreement. Possible values include: 'NotSpecified', 'AS2', 'X12', - 'Edifact' - :type agreement_type: str or ~azure.mgmt.logic.models.AgreementType - """ - - _validation = { - 'agreement_type': {'required': True}, - } - - _attribute_map = { - 'agreement_type': {'key': 'agreementType', 'type': 'AgreementType'}, - } - - def __init__(self, **kwargs): - super(IntegrationAccountAgreementFilter, self).__init__(**kwargs) - self.agreement_type = kwargs.get('agreement_type', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_agreement_filter_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_agreement_filter_py3.py deleted file mode 100644 index aa7b65c825aa..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_agreement_filter_py3.py +++ /dev/null @@ -1,36 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class IntegrationAccountAgreementFilter(Model): - """The integration account agreement filter for odata query. - - All required parameters must be populated in order to send to Azure. - - :param agreement_type: Required. The agreement type of integration account - agreement. Possible values include: 'NotSpecified', 'AS2', 'X12', - 'Edifact' - :type agreement_type: str or ~azure.mgmt.logic.models.AgreementType - """ - - _validation = { - 'agreement_type': {'required': True}, - } - - _attribute_map = { - 'agreement_type': {'key': 'agreementType', 'type': 'AgreementType'}, - } - - def __init__(self, *, agreement_type, **kwargs) -> None: - super(IntegrationAccountAgreementFilter, self).__init__(**kwargs) - self.agreement_type = agreement_type diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_agreement_paged.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_agreement_paged.py deleted file mode 100644 index dab33964358e..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_agreement_paged.py +++ /dev/null @@ -1,27 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.paging import Paged - - -class IntegrationAccountAgreementPaged(Paged): - """ - A paging container for iterating over a list of :class:`IntegrationAccountAgreement ` object - """ - - _attribute_map = { - 'next_link': {'key': 'nextLink', 'type': 'str'}, - 'current_page': {'key': 'value', 'type': '[IntegrationAccountAgreement]'} - } - - def __init__(self, *args, **kwargs): - - super(IntegrationAccountAgreementPaged, self).__init__(*args, **kwargs) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_agreement_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_agreement_py3.py deleted file mode 100644 index 4f6d7c00bb25..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_agreement_py3.py +++ /dev/null @@ -1,98 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from .resource_py3 import Resource - - -class IntegrationAccountAgreement(Resource): - """The integration account agreement. - - Variables are only populated by the server, and will be ignored when - sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar id: The resource id. - :vartype id: str - :ivar name: Gets the resource name. - :vartype name: str - :ivar type: Gets the resource type. - :vartype type: str - :param location: The resource location. - :type location: str - :param tags: The resource tags. - :type tags: dict[str, str] - :ivar created_time: The created time. - :vartype created_time: datetime - :ivar changed_time: The changed time. - :vartype changed_time: datetime - :param metadata: The metadata. - :type metadata: object - :param agreement_type: Required. The agreement type. Possible values - include: 'NotSpecified', 'AS2', 'X12', 'Edifact' - :type agreement_type: str or ~azure.mgmt.logic.models.AgreementType - :param host_partner: Required. The integration account partner that is set - as host partner for this agreement. - :type host_partner: str - :param guest_partner: Required. The integration account partner that is - set as guest partner for this agreement. - :type guest_partner: str - :param host_identity: Required. The business identity of the host partner. - :type host_identity: ~azure.mgmt.logic.models.BusinessIdentity - :param guest_identity: Required. The business identity of the guest - partner. - :type guest_identity: ~azure.mgmt.logic.models.BusinessIdentity - :param content: Required. The agreement content. - :type content: ~azure.mgmt.logic.models.AgreementContent - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'created_time': {'readonly': True}, - 'changed_time': {'readonly': True}, - 'agreement_type': {'required': True}, - 'host_partner': {'required': True}, - 'guest_partner': {'required': True}, - 'host_identity': {'required': True}, - 'guest_identity': {'required': True}, - 'content': {'required': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'location': {'key': 'location', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': '{str}'}, - 'created_time': {'key': 'properties.createdTime', 'type': 'iso-8601'}, - 'changed_time': {'key': 'properties.changedTime', 'type': 'iso-8601'}, - 'metadata': {'key': 'properties.metadata', 'type': 'object'}, - 'agreement_type': {'key': 'properties.agreementType', 'type': 'AgreementType'}, - 'host_partner': {'key': 'properties.hostPartner', 'type': 'str'}, - 'guest_partner': {'key': 'properties.guestPartner', 'type': 'str'}, - 'host_identity': {'key': 'properties.hostIdentity', 'type': 'BusinessIdentity'}, - 'guest_identity': {'key': 'properties.guestIdentity', 'type': 'BusinessIdentity'}, - 'content': {'key': 'properties.content', 'type': 'AgreementContent'}, - } - - def __init__(self, *, agreement_type, host_partner: str, guest_partner: str, host_identity, guest_identity, content, location: str=None, tags=None, metadata=None, **kwargs) -> None: - super(IntegrationAccountAgreement, self).__init__(location=location, tags=tags, **kwargs) - self.created_time = None - self.changed_time = None - self.metadata = metadata - self.agreement_type = agreement_type - self.host_partner = host_partner - self.guest_partner = guest_partner - self.host_identity = host_identity - self.guest_identity = guest_identity - self.content = content diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_certificate.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_certificate.py deleted file mode 100644 index d6345949d649..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_certificate.py +++ /dev/null @@ -1,70 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from .resource import Resource - - -class IntegrationAccountCertificate(Resource): - """The integration account certificate. - - Variables are only populated by the server, and will be ignored when - sending a request. - - :ivar id: The resource id. - :vartype id: str - :ivar name: Gets the resource name. - :vartype name: str - :ivar type: Gets the resource type. - :vartype type: str - :param location: The resource location. - :type location: str - :param tags: The resource tags. - :type tags: dict[str, str] - :ivar created_time: The created time. - :vartype created_time: datetime - :ivar changed_time: The changed time. - :vartype changed_time: datetime - :param metadata: The metadata. - :type metadata: object - :param key: The key details in the key vault. - :type key: ~azure.mgmt.logic.models.KeyVaultKeyReference - :param public_certificate: The public certificate. - :type public_certificate: str - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'created_time': {'readonly': True}, - 'changed_time': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'location': {'key': 'location', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': '{str}'}, - 'created_time': {'key': 'properties.createdTime', 'type': 'iso-8601'}, - 'changed_time': {'key': 'properties.changedTime', 'type': 'iso-8601'}, - 'metadata': {'key': 'properties.metadata', 'type': 'object'}, - 'key': {'key': 'properties.key', 'type': 'KeyVaultKeyReference'}, - 'public_certificate': {'key': 'properties.publicCertificate', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(IntegrationAccountCertificate, self).__init__(**kwargs) - self.created_time = None - self.changed_time = None - self.metadata = kwargs.get('metadata', None) - self.key = kwargs.get('key', None) - self.public_certificate = kwargs.get('public_certificate', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_certificate_paged.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_certificate_paged.py deleted file mode 100644 index a428c4a54112..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_certificate_paged.py +++ /dev/null @@ -1,27 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.paging import Paged - - -class IntegrationAccountCertificatePaged(Paged): - """ - A paging container for iterating over a list of :class:`IntegrationAccountCertificate ` object - """ - - _attribute_map = { - 'next_link': {'key': 'nextLink', 'type': 'str'}, - 'current_page': {'key': 'value', 'type': '[IntegrationAccountCertificate]'} - } - - def __init__(self, *args, **kwargs): - - super(IntegrationAccountCertificatePaged, self).__init__(*args, **kwargs) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_certificate_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_certificate_py3.py deleted file mode 100644 index 84a426fb109e..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_certificate_py3.py +++ /dev/null @@ -1,70 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from .resource_py3 import Resource - - -class IntegrationAccountCertificate(Resource): - """The integration account certificate. - - Variables are only populated by the server, and will be ignored when - sending a request. - - :ivar id: The resource id. - :vartype id: str - :ivar name: Gets the resource name. - :vartype name: str - :ivar type: Gets the resource type. - :vartype type: str - :param location: The resource location. - :type location: str - :param tags: The resource tags. - :type tags: dict[str, str] - :ivar created_time: The created time. - :vartype created_time: datetime - :ivar changed_time: The changed time. - :vartype changed_time: datetime - :param metadata: The metadata. - :type metadata: object - :param key: The key details in the key vault. - :type key: ~azure.mgmt.logic.models.KeyVaultKeyReference - :param public_certificate: The public certificate. - :type public_certificate: str - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'created_time': {'readonly': True}, - 'changed_time': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'location': {'key': 'location', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': '{str}'}, - 'created_time': {'key': 'properties.createdTime', 'type': 'iso-8601'}, - 'changed_time': {'key': 'properties.changedTime', 'type': 'iso-8601'}, - 'metadata': {'key': 'properties.metadata', 'type': 'object'}, - 'key': {'key': 'properties.key', 'type': 'KeyVaultKeyReference'}, - 'public_certificate': {'key': 'properties.publicCertificate', 'type': 'str'}, - } - - def __init__(self, *, location: str=None, tags=None, metadata=None, key=None, public_certificate: str=None, **kwargs) -> None: - super(IntegrationAccountCertificate, self).__init__(location=location, tags=tags, **kwargs) - self.created_time = None - self.changed_time = None - self.metadata = metadata - self.key = key - self.public_certificate = public_certificate diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_map.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_map.py deleted file mode 100644 index f5c95f26faec..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_map.py +++ /dev/null @@ -1,89 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from .resource import Resource - - -class IntegrationAccountMap(Resource): - """The integration account map. - - Variables are only populated by the server, and will be ignored when - sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar id: The resource id. - :vartype id: str - :ivar name: Gets the resource name. - :vartype name: str - :ivar type: Gets the resource type. - :vartype type: str - :param location: The resource location. - :type location: str - :param tags: The resource tags. - :type tags: dict[str, str] - :param map_type: Required. The map type. Possible values include: - 'NotSpecified', 'Xslt', 'Xslt20', 'Xslt30', 'Liquid' - :type map_type: str or ~azure.mgmt.logic.models.MapType - :param parameters_schema: The parameters schema of integration account - map. - :type parameters_schema: - ~azure.mgmt.logic.models.IntegrationAccountMapPropertiesParametersSchema - :ivar created_time: The created time. - :vartype created_time: datetime - :ivar changed_time: The changed time. - :vartype changed_time: datetime - :param content: The content. - :type content: str - :param content_type: The content type. - :type content_type: str - :ivar content_link: The content link. - :vartype content_link: ~azure.mgmt.logic.models.ContentLink - :param metadata: The metadata. - :type metadata: object - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'map_type': {'required': True}, - 'created_time': {'readonly': True}, - 'changed_time': {'readonly': True}, - 'content_link': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'location': {'key': 'location', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': '{str}'}, - 'map_type': {'key': 'properties.mapType', 'type': 'str'}, - 'parameters_schema': {'key': 'properties.parametersSchema', 'type': 'IntegrationAccountMapPropertiesParametersSchema'}, - 'created_time': {'key': 'properties.createdTime', 'type': 'iso-8601'}, - 'changed_time': {'key': 'properties.changedTime', 'type': 'iso-8601'}, - 'content': {'key': 'properties.content', 'type': 'str'}, - 'content_type': {'key': 'properties.contentType', 'type': 'str'}, - 'content_link': {'key': 'properties.contentLink', 'type': 'ContentLink'}, - 'metadata': {'key': 'properties.metadata', 'type': 'object'}, - } - - def __init__(self, **kwargs): - super(IntegrationAccountMap, self).__init__(**kwargs) - self.map_type = kwargs.get('map_type', None) - self.parameters_schema = kwargs.get('parameters_schema', None) - self.created_time = None - self.changed_time = None - self.content = kwargs.get('content', None) - self.content_type = kwargs.get('content_type', None) - self.content_link = None - self.metadata = kwargs.get('metadata', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_map_filter.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_map_filter.py deleted file mode 100644 index f9f3839b8884..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_map_filter.py +++ /dev/null @@ -1,36 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class IntegrationAccountMapFilter(Model): - """The integration account map filter for odata query. - - All required parameters must be populated in order to send to Azure. - - :param map_type: Required. The map type of integration account map. - Possible values include: 'NotSpecified', 'Xslt', 'Xslt20', 'Xslt30', - 'Liquid' - :type map_type: str or ~azure.mgmt.logic.models.MapType - """ - - _validation = { - 'map_type': {'required': True}, - } - - _attribute_map = { - 'map_type': {'key': 'mapType', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(IntegrationAccountMapFilter, self).__init__(**kwargs) - self.map_type = kwargs.get('map_type', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_map_filter_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_map_filter_py3.py deleted file mode 100644 index b879d2b24b3a..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_map_filter_py3.py +++ /dev/null @@ -1,36 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class IntegrationAccountMapFilter(Model): - """The integration account map filter for odata query. - - All required parameters must be populated in order to send to Azure. - - :param map_type: Required. The map type of integration account map. - Possible values include: 'NotSpecified', 'Xslt', 'Xslt20', 'Xslt30', - 'Liquid' - :type map_type: str or ~azure.mgmt.logic.models.MapType - """ - - _validation = { - 'map_type': {'required': True}, - } - - _attribute_map = { - 'map_type': {'key': 'mapType', 'type': 'str'}, - } - - def __init__(self, *, map_type, **kwargs) -> None: - super(IntegrationAccountMapFilter, self).__init__(**kwargs) - self.map_type = map_type diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_map_paged.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_map_paged.py deleted file mode 100644 index 993fc034cef6..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_map_paged.py +++ /dev/null @@ -1,27 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.paging import Paged - - -class IntegrationAccountMapPaged(Paged): - """ - A paging container for iterating over a list of :class:`IntegrationAccountMap ` object - """ - - _attribute_map = { - 'next_link': {'key': 'nextLink', 'type': 'str'}, - 'current_page': {'key': 'value', 'type': '[IntegrationAccountMap]'} - } - - def __init__(self, *args, **kwargs): - - super(IntegrationAccountMapPaged, self).__init__(*args, **kwargs) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_map_properties_parameters_schema.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_map_properties_parameters_schema.py deleted file mode 100644 index 4d2b083b084a..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_map_properties_parameters_schema.py +++ /dev/null @@ -1,28 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class IntegrationAccountMapPropertiesParametersSchema(Model): - """The parameters schema of integration account map. - - :param ref: The reference name. - :type ref: str - """ - - _attribute_map = { - 'ref': {'key': 'ref', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(IntegrationAccountMapPropertiesParametersSchema, self).__init__(**kwargs) - self.ref = kwargs.get('ref', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_map_properties_parameters_schema_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_map_properties_parameters_schema_py3.py deleted file mode 100644 index 35d9a7ce410a..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_map_properties_parameters_schema_py3.py +++ /dev/null @@ -1,28 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class IntegrationAccountMapPropertiesParametersSchema(Model): - """The parameters schema of integration account map. - - :param ref: The reference name. - :type ref: str - """ - - _attribute_map = { - 'ref': {'key': 'ref', 'type': 'str'}, - } - - def __init__(self, *, ref: str=None, **kwargs) -> None: - super(IntegrationAccountMapPropertiesParametersSchema, self).__init__(**kwargs) - self.ref = ref diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_map_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_map_py3.py deleted file mode 100644 index 757a21c66c60..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_map_py3.py +++ /dev/null @@ -1,89 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from .resource_py3 import Resource - - -class IntegrationAccountMap(Resource): - """The integration account map. - - Variables are only populated by the server, and will be ignored when - sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar id: The resource id. - :vartype id: str - :ivar name: Gets the resource name. - :vartype name: str - :ivar type: Gets the resource type. - :vartype type: str - :param location: The resource location. - :type location: str - :param tags: The resource tags. - :type tags: dict[str, str] - :param map_type: Required. The map type. Possible values include: - 'NotSpecified', 'Xslt', 'Xslt20', 'Xslt30', 'Liquid' - :type map_type: str or ~azure.mgmt.logic.models.MapType - :param parameters_schema: The parameters schema of integration account - map. - :type parameters_schema: - ~azure.mgmt.logic.models.IntegrationAccountMapPropertiesParametersSchema - :ivar created_time: The created time. - :vartype created_time: datetime - :ivar changed_time: The changed time. - :vartype changed_time: datetime - :param content: The content. - :type content: str - :param content_type: The content type. - :type content_type: str - :ivar content_link: The content link. - :vartype content_link: ~azure.mgmt.logic.models.ContentLink - :param metadata: The metadata. - :type metadata: object - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'map_type': {'required': True}, - 'created_time': {'readonly': True}, - 'changed_time': {'readonly': True}, - 'content_link': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'location': {'key': 'location', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': '{str}'}, - 'map_type': {'key': 'properties.mapType', 'type': 'str'}, - 'parameters_schema': {'key': 'properties.parametersSchema', 'type': 'IntegrationAccountMapPropertiesParametersSchema'}, - 'created_time': {'key': 'properties.createdTime', 'type': 'iso-8601'}, - 'changed_time': {'key': 'properties.changedTime', 'type': 'iso-8601'}, - 'content': {'key': 'properties.content', 'type': 'str'}, - 'content_type': {'key': 'properties.contentType', 'type': 'str'}, - 'content_link': {'key': 'properties.contentLink', 'type': 'ContentLink'}, - 'metadata': {'key': 'properties.metadata', 'type': 'object'}, - } - - def __init__(self, *, map_type, location: str=None, tags=None, parameters_schema=None, content: str=None, content_type: str=None, metadata=None, **kwargs) -> None: - super(IntegrationAccountMap, self).__init__(location=location, tags=tags, **kwargs) - self.map_type = map_type - self.parameters_schema = parameters_schema - self.created_time = None - self.changed_time = None - self.content = content - self.content_type = content_type - self.content_link = None - self.metadata = metadata diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_paged.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_paged.py deleted file mode 100644 index 33bf18e0fd8d..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_paged.py +++ /dev/null @@ -1,27 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.paging import Paged - - -class IntegrationAccountPaged(Paged): - """ - A paging container for iterating over a list of :class:`IntegrationAccount ` object - """ - - _attribute_map = { - 'next_link': {'key': 'nextLink', 'type': 'str'}, - 'current_page': {'key': 'value', 'type': '[IntegrationAccount]'} - } - - def __init__(self, *args, **kwargs): - - super(IntegrationAccountPaged, self).__init__(*args, **kwargs) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_partner.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_partner.py deleted file mode 100644 index 5fa492a380a0..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_partner.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from .resource import Resource - - -class IntegrationAccountPartner(Resource): - """The integration account partner. - - Variables are only populated by the server, and will be ignored when - sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar id: The resource id. - :vartype id: str - :ivar name: Gets the resource name. - :vartype name: str - :ivar type: Gets the resource type. - :vartype type: str - :param location: The resource location. - :type location: str - :param tags: The resource tags. - :type tags: dict[str, str] - :param partner_type: Required. The partner type. Possible values include: - 'NotSpecified', 'B2B' - :type partner_type: str or ~azure.mgmt.logic.models.PartnerType - :ivar created_time: The created time. - :vartype created_time: datetime - :ivar changed_time: The changed time. - :vartype changed_time: datetime - :param metadata: The metadata. - :type metadata: object - :param content: Required. The partner content. - :type content: ~azure.mgmt.logic.models.PartnerContent - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'partner_type': {'required': True}, - 'created_time': {'readonly': True}, - 'changed_time': {'readonly': True}, - 'content': {'required': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'location': {'key': 'location', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': '{str}'}, - 'partner_type': {'key': 'properties.partnerType', 'type': 'str'}, - 'created_time': {'key': 'properties.createdTime', 'type': 'iso-8601'}, - 'changed_time': {'key': 'properties.changedTime', 'type': 'iso-8601'}, - 'metadata': {'key': 'properties.metadata', 'type': 'object'}, - 'content': {'key': 'properties.content', 'type': 'PartnerContent'}, - } - - def __init__(self, **kwargs): - super(IntegrationAccountPartner, self).__init__(**kwargs) - self.partner_type = kwargs.get('partner_type', None) - self.created_time = None - self.changed_time = None - self.metadata = kwargs.get('metadata', None) - self.content = kwargs.get('content', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_partner_filter.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_partner_filter.py deleted file mode 100644 index 7f20147bc657..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_partner_filter.py +++ /dev/null @@ -1,35 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class IntegrationAccountPartnerFilter(Model): - """The integration account partner filter for odata query. - - All required parameters must be populated in order to send to Azure. - - :param partner_type: Required. The partner type of integration account - partner. Possible values include: 'NotSpecified', 'B2B' - :type partner_type: str or ~azure.mgmt.logic.models.PartnerType - """ - - _validation = { - 'partner_type': {'required': True}, - } - - _attribute_map = { - 'partner_type': {'key': 'partnerType', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(IntegrationAccountPartnerFilter, self).__init__(**kwargs) - self.partner_type = kwargs.get('partner_type', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_partner_filter_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_partner_filter_py3.py deleted file mode 100644 index 52cb68a5c8c4..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_partner_filter_py3.py +++ /dev/null @@ -1,35 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class IntegrationAccountPartnerFilter(Model): - """The integration account partner filter for odata query. - - All required parameters must be populated in order to send to Azure. - - :param partner_type: Required. The partner type of integration account - partner. Possible values include: 'NotSpecified', 'B2B' - :type partner_type: str or ~azure.mgmt.logic.models.PartnerType - """ - - _validation = { - 'partner_type': {'required': True}, - } - - _attribute_map = { - 'partner_type': {'key': 'partnerType', 'type': 'str'}, - } - - def __init__(self, *, partner_type, **kwargs) -> None: - super(IntegrationAccountPartnerFilter, self).__init__(**kwargs) - self.partner_type = partner_type diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_partner_paged.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_partner_paged.py deleted file mode 100644 index 36bcc35e62dd..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_partner_paged.py +++ /dev/null @@ -1,27 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.paging import Paged - - -class IntegrationAccountPartnerPaged(Paged): - """ - A paging container for iterating over a list of :class:`IntegrationAccountPartner ` object - """ - - _attribute_map = { - 'next_link': {'key': 'nextLink', 'type': 'str'}, - 'current_page': {'key': 'value', 'type': '[IntegrationAccountPartner]'} - } - - def __init__(self, *args, **kwargs): - - super(IntegrationAccountPartnerPaged, self).__init__(*args, **kwargs) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_partner_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_partner_py3.py deleted file mode 100644 index 358e7d1caed7..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_partner_py3.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from .resource_py3 import Resource - - -class IntegrationAccountPartner(Resource): - """The integration account partner. - - Variables are only populated by the server, and will be ignored when - sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar id: The resource id. - :vartype id: str - :ivar name: Gets the resource name. - :vartype name: str - :ivar type: Gets the resource type. - :vartype type: str - :param location: The resource location. - :type location: str - :param tags: The resource tags. - :type tags: dict[str, str] - :param partner_type: Required. The partner type. Possible values include: - 'NotSpecified', 'B2B' - :type partner_type: str or ~azure.mgmt.logic.models.PartnerType - :ivar created_time: The created time. - :vartype created_time: datetime - :ivar changed_time: The changed time. - :vartype changed_time: datetime - :param metadata: The metadata. - :type metadata: object - :param content: Required. The partner content. - :type content: ~azure.mgmt.logic.models.PartnerContent - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'partner_type': {'required': True}, - 'created_time': {'readonly': True}, - 'changed_time': {'readonly': True}, - 'content': {'required': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'location': {'key': 'location', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': '{str}'}, - 'partner_type': {'key': 'properties.partnerType', 'type': 'str'}, - 'created_time': {'key': 'properties.createdTime', 'type': 'iso-8601'}, - 'changed_time': {'key': 'properties.changedTime', 'type': 'iso-8601'}, - 'metadata': {'key': 'properties.metadata', 'type': 'object'}, - 'content': {'key': 'properties.content', 'type': 'PartnerContent'}, - } - - def __init__(self, *, partner_type, content, location: str=None, tags=None, metadata=None, **kwargs) -> None: - super(IntegrationAccountPartner, self).__init__(location=location, tags=tags, **kwargs) - self.partner_type = partner_type - self.created_time = None - self.changed_time = None - self.metadata = metadata - self.content = content diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_py3.py deleted file mode 100644 index ef2bc107d386..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_py3.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from .resource_py3 import Resource - - -class IntegrationAccount(Resource): - """The integration account. - - Variables are only populated by the server, and will be ignored when - sending a request. - - :ivar id: The resource id. - :vartype id: str - :ivar name: Gets the resource name. - :vartype name: str - :ivar type: Gets the resource type. - :vartype type: str - :param location: The resource location. - :type location: str - :param tags: The resource tags. - :type tags: dict[str, str] - :param properties: The integration account properties. - :type properties: object - :param sku: The sku. - :type sku: ~azure.mgmt.logic.models.IntegrationAccountSku - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'location': {'key': 'location', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': '{str}'}, - 'properties': {'key': 'properties', 'type': 'object'}, - 'sku': {'key': 'sku', 'type': 'IntegrationAccountSku'}, - } - - def __init__(self, *, location: str=None, tags=None, properties=None, sku=None, **kwargs) -> None: - super(IntegrationAccount, self).__init__(location=location, tags=tags, **kwargs) - self.properties = properties - self.sku = sku diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_schema.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_schema.py deleted file mode 100644 index 96d988a5c8b2..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_schema.py +++ /dev/null @@ -1,95 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from .resource import Resource - - -class IntegrationAccountSchema(Resource): - """The integration account schema. - - Variables are only populated by the server, and will be ignored when - sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar id: The resource id. - :vartype id: str - :ivar name: Gets the resource name. - :vartype name: str - :ivar type: Gets the resource type. - :vartype type: str - :param location: The resource location. - :type location: str - :param tags: The resource tags. - :type tags: dict[str, str] - :param schema_type: Required. The schema type. Possible values include: - 'NotSpecified', 'Xml' - :type schema_type: str or ~azure.mgmt.logic.models.SchemaType - :param target_namespace: The target namespace of the schema. - :type target_namespace: str - :param document_name: The document name. - :type document_name: str - :param file_name: The file name. - :type file_name: str - :ivar created_time: The created time. - :vartype created_time: datetime - :ivar changed_time: The changed time. - :vartype changed_time: datetime - :param metadata: The metadata. - :type metadata: object - :param content: The content. - :type content: str - :param content_type: The content type. - :type content_type: str - :ivar content_link: The content link. - :vartype content_link: ~azure.mgmt.logic.models.ContentLink - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'schema_type': {'required': True}, - 'created_time': {'readonly': True}, - 'changed_time': {'readonly': True}, - 'content_link': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'location': {'key': 'location', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': '{str}'}, - 'schema_type': {'key': 'properties.schemaType', 'type': 'str'}, - 'target_namespace': {'key': 'properties.targetNamespace', 'type': 'str'}, - 'document_name': {'key': 'properties.documentName', 'type': 'str'}, - 'file_name': {'key': 'properties.fileName', 'type': 'str'}, - 'created_time': {'key': 'properties.createdTime', 'type': 'iso-8601'}, - 'changed_time': {'key': 'properties.changedTime', 'type': 'iso-8601'}, - 'metadata': {'key': 'properties.metadata', 'type': 'object'}, - 'content': {'key': 'properties.content', 'type': 'str'}, - 'content_type': {'key': 'properties.contentType', 'type': 'str'}, - 'content_link': {'key': 'properties.contentLink', 'type': 'ContentLink'}, - } - - def __init__(self, **kwargs): - super(IntegrationAccountSchema, self).__init__(**kwargs) - self.schema_type = kwargs.get('schema_type', None) - self.target_namespace = kwargs.get('target_namespace', None) - self.document_name = kwargs.get('document_name', None) - self.file_name = kwargs.get('file_name', None) - self.created_time = None - self.changed_time = None - self.metadata = kwargs.get('metadata', None) - self.content = kwargs.get('content', None) - self.content_type = kwargs.get('content_type', None) - self.content_link = None diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_schema_filter.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_schema_filter.py deleted file mode 100644 index 12ee48fa602b..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_schema_filter.py +++ /dev/null @@ -1,35 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class IntegrationAccountSchemaFilter(Model): - """The integration account schema filter for odata query. - - All required parameters must be populated in order to send to Azure. - - :param schema_type: Required. The schema type of integration account - schema. Possible values include: 'NotSpecified', 'Xml' - :type schema_type: str or ~azure.mgmt.logic.models.SchemaType - """ - - _validation = { - 'schema_type': {'required': True}, - } - - _attribute_map = { - 'schema_type': {'key': 'schemaType', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(IntegrationAccountSchemaFilter, self).__init__(**kwargs) - self.schema_type = kwargs.get('schema_type', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_schema_filter_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_schema_filter_py3.py deleted file mode 100644 index 249f96cb661e..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_schema_filter_py3.py +++ /dev/null @@ -1,35 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class IntegrationAccountSchemaFilter(Model): - """The integration account schema filter for odata query. - - All required parameters must be populated in order to send to Azure. - - :param schema_type: Required. The schema type of integration account - schema. Possible values include: 'NotSpecified', 'Xml' - :type schema_type: str or ~azure.mgmt.logic.models.SchemaType - """ - - _validation = { - 'schema_type': {'required': True}, - } - - _attribute_map = { - 'schema_type': {'key': 'schemaType', 'type': 'str'}, - } - - def __init__(self, *, schema_type, **kwargs) -> None: - super(IntegrationAccountSchemaFilter, self).__init__(**kwargs) - self.schema_type = schema_type diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_schema_paged.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_schema_paged.py deleted file mode 100644 index 778d81bab195..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_schema_paged.py +++ /dev/null @@ -1,27 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.paging import Paged - - -class IntegrationAccountSchemaPaged(Paged): - """ - A paging container for iterating over a list of :class:`IntegrationAccountSchema ` object - """ - - _attribute_map = { - 'next_link': {'key': 'nextLink', 'type': 'str'}, - 'current_page': {'key': 'value', 'type': '[IntegrationAccountSchema]'} - } - - def __init__(self, *args, **kwargs): - - super(IntegrationAccountSchemaPaged, self).__init__(*args, **kwargs) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_schema_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_schema_py3.py deleted file mode 100644 index 179271f3c2b3..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_schema_py3.py +++ /dev/null @@ -1,95 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from .resource_py3 import Resource - - -class IntegrationAccountSchema(Resource): - """The integration account schema. - - Variables are only populated by the server, and will be ignored when - sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar id: The resource id. - :vartype id: str - :ivar name: Gets the resource name. - :vartype name: str - :ivar type: Gets the resource type. - :vartype type: str - :param location: The resource location. - :type location: str - :param tags: The resource tags. - :type tags: dict[str, str] - :param schema_type: Required. The schema type. Possible values include: - 'NotSpecified', 'Xml' - :type schema_type: str or ~azure.mgmt.logic.models.SchemaType - :param target_namespace: The target namespace of the schema. - :type target_namespace: str - :param document_name: The document name. - :type document_name: str - :param file_name: The file name. - :type file_name: str - :ivar created_time: The created time. - :vartype created_time: datetime - :ivar changed_time: The changed time. - :vartype changed_time: datetime - :param metadata: The metadata. - :type metadata: object - :param content: The content. - :type content: str - :param content_type: The content type. - :type content_type: str - :ivar content_link: The content link. - :vartype content_link: ~azure.mgmt.logic.models.ContentLink - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'schema_type': {'required': True}, - 'created_time': {'readonly': True}, - 'changed_time': {'readonly': True}, - 'content_link': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'location': {'key': 'location', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': '{str}'}, - 'schema_type': {'key': 'properties.schemaType', 'type': 'str'}, - 'target_namespace': {'key': 'properties.targetNamespace', 'type': 'str'}, - 'document_name': {'key': 'properties.documentName', 'type': 'str'}, - 'file_name': {'key': 'properties.fileName', 'type': 'str'}, - 'created_time': {'key': 'properties.createdTime', 'type': 'iso-8601'}, - 'changed_time': {'key': 'properties.changedTime', 'type': 'iso-8601'}, - 'metadata': {'key': 'properties.metadata', 'type': 'object'}, - 'content': {'key': 'properties.content', 'type': 'str'}, - 'content_type': {'key': 'properties.contentType', 'type': 'str'}, - 'content_link': {'key': 'properties.contentLink', 'type': 'ContentLink'}, - } - - def __init__(self, *, schema_type, location: str=None, tags=None, target_namespace: str=None, document_name: str=None, file_name: str=None, metadata=None, content: str=None, content_type: str=None, **kwargs) -> None: - super(IntegrationAccountSchema, self).__init__(location=location, tags=tags, **kwargs) - self.schema_type = schema_type - self.target_namespace = target_namespace - self.document_name = document_name - self.file_name = file_name - self.created_time = None - self.changed_time = None - self.metadata = metadata - self.content = content - self.content_type = content_type - self.content_link = None diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_session.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_session.py deleted file mode 100644 index e779bc551406..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_session.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from .resource import Resource - - -class IntegrationAccountSession(Resource): - """The integration account session. - - Variables are only populated by the server, and will be ignored when - sending a request. - - :ivar id: The resource id. - :vartype id: str - :ivar name: Gets the resource name. - :vartype name: str - :ivar type: Gets the resource type. - :vartype type: str - :param location: The resource location. - :type location: str - :param tags: The resource tags. - :type tags: dict[str, str] - :ivar created_time: The created time. - :vartype created_time: datetime - :ivar changed_time: The changed time. - :vartype changed_time: datetime - :param content: The session content. - :type content: object - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'created_time': {'readonly': True}, - 'changed_time': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'location': {'key': 'location', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': '{str}'}, - 'created_time': {'key': 'properties.createdTime', 'type': 'iso-8601'}, - 'changed_time': {'key': 'properties.changedTime', 'type': 'iso-8601'}, - 'content': {'key': 'properties.content', 'type': 'object'}, - } - - def __init__(self, **kwargs): - super(IntegrationAccountSession, self).__init__(**kwargs) - self.created_time = None - self.changed_time = None - self.content = kwargs.get('content', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_session_filter.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_session_filter.py deleted file mode 100644 index 5c4b92f81245..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_session_filter.py +++ /dev/null @@ -1,35 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class IntegrationAccountSessionFilter(Model): - """The integration account session filter. - - All required parameters must be populated in order to send to Azure. - - :param changed_time: Required. The changed time of integration account - sessions. - :type changed_time: datetime - """ - - _validation = { - 'changed_time': {'required': True}, - } - - _attribute_map = { - 'changed_time': {'key': 'changedTime', 'type': 'iso-8601'}, - } - - def __init__(self, **kwargs): - super(IntegrationAccountSessionFilter, self).__init__(**kwargs) - self.changed_time = kwargs.get('changed_time', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_session_filter_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_session_filter_py3.py deleted file mode 100644 index cc860f372c00..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_session_filter_py3.py +++ /dev/null @@ -1,35 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class IntegrationAccountSessionFilter(Model): - """The integration account session filter. - - All required parameters must be populated in order to send to Azure. - - :param changed_time: Required. The changed time of integration account - sessions. - :type changed_time: datetime - """ - - _validation = { - 'changed_time': {'required': True}, - } - - _attribute_map = { - 'changed_time': {'key': 'changedTime', 'type': 'iso-8601'}, - } - - def __init__(self, *, changed_time, **kwargs) -> None: - super(IntegrationAccountSessionFilter, self).__init__(**kwargs) - self.changed_time = changed_time diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_session_paged.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_session_paged.py deleted file mode 100644 index 8e29ebfe24cd..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_session_paged.py +++ /dev/null @@ -1,27 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.paging import Paged - - -class IntegrationAccountSessionPaged(Paged): - """ - A paging container for iterating over a list of :class:`IntegrationAccountSession ` object - """ - - _attribute_map = { - 'next_link': {'key': 'nextLink', 'type': 'str'}, - 'current_page': {'key': 'value', 'type': '[IntegrationAccountSession]'} - } - - def __init__(self, *args, **kwargs): - - super(IntegrationAccountSessionPaged, self).__init__(*args, **kwargs) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_session_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_session_py3.py deleted file mode 100644 index 91d024d47d75..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_session_py3.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from .resource_py3 import Resource - - -class IntegrationAccountSession(Resource): - """The integration account session. - - Variables are only populated by the server, and will be ignored when - sending a request. - - :ivar id: The resource id. - :vartype id: str - :ivar name: Gets the resource name. - :vartype name: str - :ivar type: Gets the resource type. - :vartype type: str - :param location: The resource location. - :type location: str - :param tags: The resource tags. - :type tags: dict[str, str] - :ivar created_time: The created time. - :vartype created_time: datetime - :ivar changed_time: The changed time. - :vartype changed_time: datetime - :param content: The session content. - :type content: object - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'created_time': {'readonly': True}, - 'changed_time': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'location': {'key': 'location', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': '{str}'}, - 'created_time': {'key': 'properties.createdTime', 'type': 'iso-8601'}, - 'changed_time': {'key': 'properties.changedTime', 'type': 'iso-8601'}, - 'content': {'key': 'properties.content', 'type': 'object'}, - } - - def __init__(self, *, location: str=None, tags=None, content=None, **kwargs) -> None: - super(IntegrationAccountSession, self).__init__(location=location, tags=tags, **kwargs) - self.created_time = None - self.changed_time = None - self.content = content diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_sku.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_sku.py deleted file mode 100644 index 7d87a9605159..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_sku.py +++ /dev/null @@ -1,35 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class IntegrationAccountSku(Model): - """The integration account sku. - - All required parameters must be populated in order to send to Azure. - - :param name: Required. The sku name. Possible values include: - 'NotSpecified', 'Free', 'Basic', 'Standard' - :type name: str or ~azure.mgmt.logic.models.IntegrationAccountSkuName - """ - - _validation = { - 'name': {'required': True}, - } - - _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(IntegrationAccountSku, self).__init__(**kwargs) - self.name = kwargs.get('name', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_sku_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_sku_py3.py deleted file mode 100644 index 9a3d01071902..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/integration_account_sku_py3.py +++ /dev/null @@ -1,35 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class IntegrationAccountSku(Model): - """The integration account sku. - - All required parameters must be populated in order to send to Azure. - - :param name: Required. The sku name. Possible values include: - 'NotSpecified', 'Free', 'Basic', 'Standard' - :type name: str or ~azure.mgmt.logic.models.IntegrationAccountSkuName - """ - - _validation = { - 'name': {'required': True}, - } - - _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - } - - def __init__(self, *, name, **kwargs) -> None: - super(IntegrationAccountSku, self).__init__(**kwargs) - self.name = name diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/json_schema.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/json_schema.py deleted file mode 100644 index 4d9fc567f826..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/json_schema.py +++ /dev/null @@ -1,32 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class JsonSchema(Model): - """The JSON schema. - - :param title: The JSON title. - :type title: str - :param content: The JSON content. - :type content: str - """ - - _attribute_map = { - 'title': {'key': 'title', 'type': 'str'}, - 'content': {'key': 'content', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(JsonSchema, self).__init__(**kwargs) - self.title = kwargs.get('title', None) - self.content = kwargs.get('content', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/json_schema_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/json_schema_py3.py deleted file mode 100644 index edaaa76244cc..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/json_schema_py3.py +++ /dev/null @@ -1,32 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class JsonSchema(Model): - """The JSON schema. - - :param title: The JSON title. - :type title: str - :param content: The JSON content. - :type content: str - """ - - _attribute_map = { - 'title': {'key': 'title', 'type': 'str'}, - 'content': {'key': 'content', 'type': 'str'}, - } - - def __init__(self, *, title: str=None, content: str=None, **kwargs) -> None: - super(JsonSchema, self).__init__(**kwargs) - self.title = title - self.content = content diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/key_vault_key.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/key_vault_key.py deleted file mode 100644 index 6e337eda6dcb..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/key_vault_key.py +++ /dev/null @@ -1,32 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class KeyVaultKey(Model): - """The key vault key. - - :param kid: The key id. - :type kid: str - :param attributes: The key attributes. - :type attributes: ~azure.mgmt.logic.models.KeyVaultKeyAttributes - """ - - _attribute_map = { - 'kid': {'key': 'kid', 'type': 'str'}, - 'attributes': {'key': 'attributes', 'type': 'KeyVaultKeyAttributes'}, - } - - def __init__(self, **kwargs): - super(KeyVaultKey, self).__init__(**kwargs) - self.kid = kwargs.get('kid', None) - self.attributes = kwargs.get('attributes', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/key_vault_key_attributes.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/key_vault_key_attributes.py deleted file mode 100644 index 715d92ab0af1..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/key_vault_key_attributes.py +++ /dev/null @@ -1,36 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class KeyVaultKeyAttributes(Model): - """The key attributes. - - :param enabled: Whether the key is enabled or not. - :type enabled: bool - :param created: When the key was created. - :type created: long - :param updated: When the key was updated. - :type updated: long - """ - - _attribute_map = { - 'enabled': {'key': 'enabled', 'type': 'bool'}, - 'created': {'key': 'created', 'type': 'long'}, - 'updated': {'key': 'updated', 'type': 'long'}, - } - - def __init__(self, **kwargs): - super(KeyVaultKeyAttributes, self).__init__(**kwargs) - self.enabled = kwargs.get('enabled', None) - self.created = kwargs.get('created', None) - self.updated = kwargs.get('updated', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/key_vault_key_attributes_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/key_vault_key_attributes_py3.py deleted file mode 100644 index fa14881da122..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/key_vault_key_attributes_py3.py +++ /dev/null @@ -1,36 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class KeyVaultKeyAttributes(Model): - """The key attributes. - - :param enabled: Whether the key is enabled or not. - :type enabled: bool - :param created: When the key was created. - :type created: long - :param updated: When the key was updated. - :type updated: long - """ - - _attribute_map = { - 'enabled': {'key': 'enabled', 'type': 'bool'}, - 'created': {'key': 'created', 'type': 'long'}, - 'updated': {'key': 'updated', 'type': 'long'}, - } - - def __init__(self, *, enabled: bool=None, created: int=None, updated: int=None, **kwargs) -> None: - super(KeyVaultKeyAttributes, self).__init__(**kwargs) - self.enabled = enabled - self.created = created - self.updated = updated diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/key_vault_key_paged.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/key_vault_key_paged.py deleted file mode 100644 index 8384bd46af02..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/key_vault_key_paged.py +++ /dev/null @@ -1,27 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.paging import Paged - - -class KeyVaultKeyPaged(Paged): - """ - A paging container for iterating over a list of :class:`KeyVaultKey ` object - """ - - _attribute_map = { - 'next_link': {'key': 'nextLink', 'type': 'str'}, - 'current_page': {'key': 'value', 'type': '[KeyVaultKey]'} - } - - def __init__(self, *args, **kwargs): - - super(KeyVaultKeyPaged, self).__init__(*args, **kwargs) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/key_vault_key_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/key_vault_key_py3.py deleted file mode 100644 index 3c55470665a4..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/key_vault_key_py3.py +++ /dev/null @@ -1,32 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class KeyVaultKey(Model): - """The key vault key. - - :param kid: The key id. - :type kid: str - :param attributes: The key attributes. - :type attributes: ~azure.mgmt.logic.models.KeyVaultKeyAttributes - """ - - _attribute_map = { - 'kid': {'key': 'kid', 'type': 'str'}, - 'attributes': {'key': 'attributes', 'type': 'KeyVaultKeyAttributes'}, - } - - def __init__(self, *, kid: str=None, attributes=None, **kwargs) -> None: - super(KeyVaultKey, self).__init__(**kwargs) - self.kid = kid - self.attributes = attributes diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/key_vault_key_reference.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/key_vault_key_reference.py deleted file mode 100644 index 509822e7a4dc..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/key_vault_key_reference.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class KeyVaultKeyReference(Model): - """The reference to the key vault key. - - All required parameters must be populated in order to send to Azure. - - :param key_vault: Required. The key vault reference. - :type key_vault: ~azure.mgmt.logic.models.KeyVaultKeyReferenceKeyVault - :param key_name: Required. The private key name in key vault. - :type key_name: str - :param key_version: The private key version in key vault. - :type key_version: str - """ - - _validation = { - 'key_vault': {'required': True}, - 'key_name': {'required': True}, - } - - _attribute_map = { - 'key_vault': {'key': 'keyVault', 'type': 'KeyVaultKeyReferenceKeyVault'}, - 'key_name': {'key': 'keyName', 'type': 'str'}, - 'key_version': {'key': 'keyVersion', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(KeyVaultKeyReference, self).__init__(**kwargs) - self.key_vault = kwargs.get('key_vault', None) - self.key_name = kwargs.get('key_name', None) - self.key_version = kwargs.get('key_version', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/key_vault_key_reference_key_vault.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/key_vault_key_reference_key_vault.py deleted file mode 100644 index d1d4bda43dbb..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/key_vault_key_reference_key_vault.py +++ /dev/null @@ -1,44 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class KeyVaultKeyReferenceKeyVault(Model): - """The key vault reference. - - Variables are only populated by the server, and will be ignored when - sending a request. - - :param id: The resource id. - :type id: str - :ivar name: The resource name. - :vartype name: str - :ivar type: The resource type. - :vartype type: str - """ - - _validation = { - 'name': {'readonly': True}, - 'type': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(KeyVaultKeyReferenceKeyVault, self).__init__(**kwargs) - self.id = kwargs.get('id', None) - self.name = None - self.type = None diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/key_vault_key_reference_key_vault_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/key_vault_key_reference_key_vault_py3.py deleted file mode 100644 index 71b65da492e9..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/key_vault_key_reference_key_vault_py3.py +++ /dev/null @@ -1,44 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class KeyVaultKeyReferenceKeyVault(Model): - """The key vault reference. - - Variables are only populated by the server, and will be ignored when - sending a request. - - :param id: The resource id. - :type id: str - :ivar name: The resource name. - :vartype name: str - :ivar type: The resource type. - :vartype type: str - """ - - _validation = { - 'name': {'readonly': True}, - 'type': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - } - - def __init__(self, *, id: str=None, **kwargs) -> None: - super(KeyVaultKeyReferenceKeyVault, self).__init__(**kwargs) - self.id = id - self.name = None - self.type = None diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/key_vault_key_reference_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/key_vault_key_reference_py3.py deleted file mode 100644 index c46fba8a4a4b..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/key_vault_key_reference_py3.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class KeyVaultKeyReference(Model): - """The reference to the key vault key. - - All required parameters must be populated in order to send to Azure. - - :param key_vault: Required. The key vault reference. - :type key_vault: ~azure.mgmt.logic.models.KeyVaultKeyReferenceKeyVault - :param key_name: Required. The private key name in key vault. - :type key_name: str - :param key_version: The private key version in key vault. - :type key_version: str - """ - - _validation = { - 'key_vault': {'required': True}, - 'key_name': {'required': True}, - } - - _attribute_map = { - 'key_vault': {'key': 'keyVault', 'type': 'KeyVaultKeyReferenceKeyVault'}, - 'key_name': {'key': 'keyName', 'type': 'str'}, - 'key_version': {'key': 'keyVersion', 'type': 'str'}, - } - - def __init__(self, *, key_vault, key_name: str, key_version: str=None, **kwargs) -> None: - super(KeyVaultKeyReference, self).__init__(**kwargs) - self.key_vault = key_vault - self.key_name = key_name - self.key_version = key_version diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/key_vault_reference.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/key_vault_reference.py deleted file mode 100644 index 88d9e767cbbe..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/key_vault_reference.py +++ /dev/null @@ -1,41 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from .resource_reference import ResourceReference - - -class KeyVaultReference(ResourceReference): - """The key vault reference. - - Variables are only populated by the server, and will be ignored when - sending a request. - - :param id: The resource id. - :type id: str - :ivar name: Gets the resource name. - :vartype name: str - :ivar type: Gets the resource type. - :vartype type: str - """ - - _validation = { - 'name': {'readonly': True}, - 'type': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(KeyVaultReference, self).__init__(**kwargs) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/key_vault_reference_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/key_vault_reference_py3.py deleted file mode 100644 index 1696f9af62d1..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/key_vault_reference_py3.py +++ /dev/null @@ -1,41 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from .resource_reference_py3 import ResourceReference - - -class KeyVaultReference(ResourceReference): - """The key vault reference. - - Variables are only populated by the server, and will be ignored when - sending a request. - - :param id: The resource id. - :type id: str - :ivar name: Gets the resource name. - :vartype name: str - :ivar type: Gets the resource type. - :vartype type: str - """ - - _validation = { - 'name': {'readonly': True}, - 'type': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - } - - def __init__(self, *, id: str=None, **kwargs) -> None: - super(KeyVaultReference, self).__init__(id=id, **kwargs) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/list_key_vault_keys_definition.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/list_key_vault_keys_definition.py deleted file mode 100644 index 7b989c66c6b5..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/list_key_vault_keys_definition.py +++ /dev/null @@ -1,38 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class ListKeyVaultKeysDefinition(Model): - """The list key vault keys definition. - - All required parameters must be populated in order to send to Azure. - - :param key_vault: Required. The key vault reference. - :type key_vault: ~azure.mgmt.logic.models.KeyVaultReference - :param skip_token: The skip token. - :type skip_token: str - """ - - _validation = { - 'key_vault': {'required': True}, - } - - _attribute_map = { - 'key_vault': {'key': 'keyVault', 'type': 'KeyVaultReference'}, - 'skip_token': {'key': 'skipToken', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(ListKeyVaultKeysDefinition, self).__init__(**kwargs) - self.key_vault = kwargs.get('key_vault', None) - self.skip_token = kwargs.get('skip_token', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/list_key_vault_keys_definition_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/list_key_vault_keys_definition_py3.py deleted file mode 100644 index 6e726e777df9..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/list_key_vault_keys_definition_py3.py +++ /dev/null @@ -1,38 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class ListKeyVaultKeysDefinition(Model): - """The list key vault keys definition. - - All required parameters must be populated in order to send to Azure. - - :param key_vault: Required. The key vault reference. - :type key_vault: ~azure.mgmt.logic.models.KeyVaultReference - :param skip_token: The skip token. - :type skip_token: str - """ - - _validation = { - 'key_vault': {'required': True}, - } - - _attribute_map = { - 'key_vault': {'key': 'keyVault', 'type': 'KeyVaultReference'}, - 'skip_token': {'key': 'skipToken', 'type': 'str'}, - } - - def __init__(self, *, key_vault, skip_token: str=None, **kwargs) -> None: - super(ListKeyVaultKeysDefinition, self).__init__(**kwargs) - self.key_vault = key_vault - self.skip_token = skip_token diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/operation.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/operation.py deleted file mode 100644 index 24f4765fbb64..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/operation.py +++ /dev/null @@ -1,32 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class Operation(Model): - """Logic REST API operation. - - :param name: Operation name: {provider}/{resource}/{operation} - :type name: str - :param display: The object that represents the operation. - :type display: ~azure.mgmt.logic.models.OperationDisplay - """ - - _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - 'display': {'key': 'display', 'type': 'OperationDisplay'}, - } - - def __init__(self, **kwargs): - super(Operation, self).__init__(**kwargs) - self.name = kwargs.get('name', None) - self.display = kwargs.get('display', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/operation_display.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/operation_display.py deleted file mode 100644 index dde4fd1e3b5b..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/operation_display.py +++ /dev/null @@ -1,37 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class OperationDisplay(Model): - """The object that represents the operation. - - :param provider: Service provider: Microsoft.Logic - :type provider: str - :param resource: Resource on which the operation is performed: Profile, - endpoint, etc. - :type resource: str - :param operation: Operation type: Read, write, delete, etc. - :type operation: str - """ - - _attribute_map = { - 'provider': {'key': 'provider', 'type': 'str'}, - 'resource': {'key': 'resource', 'type': 'str'}, - 'operation': {'key': 'operation', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(OperationDisplay, self).__init__(**kwargs) - self.provider = kwargs.get('provider', None) - self.resource = kwargs.get('resource', None) - self.operation = kwargs.get('operation', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/operation_display_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/operation_display_py3.py deleted file mode 100644 index 0b35f13673cb..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/operation_display_py3.py +++ /dev/null @@ -1,37 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class OperationDisplay(Model): - """The object that represents the operation. - - :param provider: Service provider: Microsoft.Logic - :type provider: str - :param resource: Resource on which the operation is performed: Profile, - endpoint, etc. - :type resource: str - :param operation: Operation type: Read, write, delete, etc. - :type operation: str - """ - - _attribute_map = { - 'provider': {'key': 'provider', 'type': 'str'}, - 'resource': {'key': 'resource', 'type': 'str'}, - 'operation': {'key': 'operation', 'type': 'str'}, - } - - def __init__(self, *, provider: str=None, resource: str=None, operation: str=None, **kwargs) -> None: - super(OperationDisplay, self).__init__(**kwargs) - self.provider = provider - self.resource = resource - self.operation = operation diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/operation_paged.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/operation_paged.py deleted file mode 100644 index d5a86908d4dc..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/operation_paged.py +++ /dev/null @@ -1,27 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.paging import Paged - - -class OperationPaged(Paged): - """ - A paging container for iterating over a list of :class:`Operation ` object - """ - - _attribute_map = { - 'next_link': {'key': 'nextLink', 'type': 'str'}, - 'current_page': {'key': 'value', 'type': '[Operation]'} - } - - def __init__(self, *args, **kwargs): - - super(OperationPaged, self).__init__(*args, **kwargs) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/operation_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/operation_py3.py deleted file mode 100644 index c528c6c5a046..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/operation_py3.py +++ /dev/null @@ -1,32 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class Operation(Model): - """Logic REST API operation. - - :param name: Operation name: {provider}/{resource}/{operation} - :type name: str - :param display: The object that represents the operation. - :type display: ~azure.mgmt.logic.models.OperationDisplay - """ - - _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - 'display': {'key': 'display', 'type': 'OperationDisplay'}, - } - - def __init__(self, *, name: str=None, display=None, **kwargs) -> None: - super(Operation, self).__init__(**kwargs) - self.name = name - self.display = display diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/operation_result.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/operation_result.py deleted file mode 100644 index 9461b110569b..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/operation_result.py +++ /dev/null @@ -1,89 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from .operation_result_properties import OperationResultProperties - - -class OperationResult(OperationResultProperties): - """The operation result definition. - - Variables are only populated by the server, and will be ignored when - sending a request. - - :param start_time: The start time of the workflow scope repetition. - :type start_time: datetime - :param end_time: The end time of the workflow scope repetition. - :type end_time: datetime - :param correlation: The correlation properties. - :type correlation: ~azure.mgmt.logic.models.RunActionCorrelation - :param status: The status of the workflow scope repetition. Possible - values include: 'NotSpecified', 'Paused', 'Running', 'Waiting', - 'Succeeded', 'Skipped', 'Suspended', 'Cancelled', 'Failed', 'Faulted', - 'TimedOut', 'Aborted', 'Ignored' - :type status: str or ~azure.mgmt.logic.models.WorkflowStatus - :param code: The workflow scope repetition code. - :type code: str - :param error: - :type error: object - :ivar tracking_id: Gets the tracking id. - :vartype tracking_id: str - :ivar inputs: Gets the inputs. - :vartype inputs: object - :ivar inputs_link: Gets the link to inputs. - :vartype inputs_link: ~azure.mgmt.logic.models.ContentLink - :ivar outputs: Gets the outputs. - :vartype outputs: object - :ivar outputs_link: Gets the link to outputs. - :vartype outputs_link: ~azure.mgmt.logic.models.ContentLink - :ivar tracked_properties: Gets the tracked properties. - :vartype tracked_properties: object - :param retry_history: Gets the retry histories. - :type retry_history: list[~azure.mgmt.logic.models.RetryHistory] - :param iteration_count: - :type iteration_count: int - """ - - _validation = { - 'tracking_id': {'readonly': True}, - 'inputs': {'readonly': True}, - 'inputs_link': {'readonly': True}, - 'outputs': {'readonly': True}, - 'outputs_link': {'readonly': True}, - 'tracked_properties': {'readonly': True}, - } - - _attribute_map = { - 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, - 'end_time': {'key': 'endTime', 'type': 'iso-8601'}, - 'correlation': {'key': 'correlation', 'type': 'RunActionCorrelation'}, - 'status': {'key': 'status', 'type': 'str'}, - 'code': {'key': 'code', 'type': 'str'}, - 'error': {'key': 'error', 'type': 'object'}, - 'tracking_id': {'key': 'trackingId', 'type': 'str'}, - 'inputs': {'key': 'inputs', 'type': 'object'}, - 'inputs_link': {'key': 'inputsLink', 'type': 'ContentLink'}, - 'outputs': {'key': 'outputs', 'type': 'object'}, - 'outputs_link': {'key': 'outputsLink', 'type': 'ContentLink'}, - 'tracked_properties': {'key': 'trackedProperties', 'type': 'object'}, - 'retry_history': {'key': 'retryHistory', 'type': '[RetryHistory]'}, - 'iteration_count': {'key': 'iterationCount', 'type': 'int'}, - } - - def __init__(self, **kwargs): - super(OperationResult, self).__init__(**kwargs) - self.tracking_id = None - self.inputs = None - self.inputs_link = None - self.outputs = None - self.outputs_link = None - self.tracked_properties = None - self.retry_history = kwargs.get('retry_history', None) - self.iteration_count = kwargs.get('iteration_count', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/operation_result_properties.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/operation_result_properties.py deleted file mode 100644 index 5a61d0c31ce5..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/operation_result_properties.py +++ /dev/null @@ -1,51 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class OperationResultProperties(Model): - """The run operation result properties. - - :param start_time: The start time of the workflow scope repetition. - :type start_time: datetime - :param end_time: The end time of the workflow scope repetition. - :type end_time: datetime - :param correlation: The correlation properties. - :type correlation: ~azure.mgmt.logic.models.RunActionCorrelation - :param status: The status of the workflow scope repetition. Possible - values include: 'NotSpecified', 'Paused', 'Running', 'Waiting', - 'Succeeded', 'Skipped', 'Suspended', 'Cancelled', 'Failed', 'Faulted', - 'TimedOut', 'Aborted', 'Ignored' - :type status: str or ~azure.mgmt.logic.models.WorkflowStatus - :param code: The workflow scope repetition code. - :type code: str - :param error: - :type error: object - """ - - _attribute_map = { - 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, - 'end_time': {'key': 'endTime', 'type': 'iso-8601'}, - 'correlation': {'key': 'correlation', 'type': 'RunActionCorrelation'}, - 'status': {'key': 'status', 'type': 'str'}, - 'code': {'key': 'code', 'type': 'str'}, - 'error': {'key': 'error', 'type': 'object'}, - } - - def __init__(self, **kwargs): - super(OperationResultProperties, self).__init__(**kwargs) - self.start_time = kwargs.get('start_time', None) - self.end_time = kwargs.get('end_time', None) - self.correlation = kwargs.get('correlation', None) - self.status = kwargs.get('status', None) - self.code = kwargs.get('code', None) - self.error = kwargs.get('error', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/operation_result_properties_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/operation_result_properties_py3.py deleted file mode 100644 index 41f30d58eae8..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/operation_result_properties_py3.py +++ /dev/null @@ -1,51 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class OperationResultProperties(Model): - """The run operation result properties. - - :param start_time: The start time of the workflow scope repetition. - :type start_time: datetime - :param end_time: The end time of the workflow scope repetition. - :type end_time: datetime - :param correlation: The correlation properties. - :type correlation: ~azure.mgmt.logic.models.RunActionCorrelation - :param status: The status of the workflow scope repetition. Possible - values include: 'NotSpecified', 'Paused', 'Running', 'Waiting', - 'Succeeded', 'Skipped', 'Suspended', 'Cancelled', 'Failed', 'Faulted', - 'TimedOut', 'Aborted', 'Ignored' - :type status: str or ~azure.mgmt.logic.models.WorkflowStatus - :param code: The workflow scope repetition code. - :type code: str - :param error: - :type error: object - """ - - _attribute_map = { - 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, - 'end_time': {'key': 'endTime', 'type': 'iso-8601'}, - 'correlation': {'key': 'correlation', 'type': 'RunActionCorrelation'}, - 'status': {'key': 'status', 'type': 'str'}, - 'code': {'key': 'code', 'type': 'str'}, - 'error': {'key': 'error', 'type': 'object'}, - } - - def __init__(self, *, start_time=None, end_time=None, correlation=None, status=None, code: str=None, error=None, **kwargs) -> None: - super(OperationResultProperties, self).__init__(**kwargs) - self.start_time = start_time - self.end_time = end_time - self.correlation = correlation - self.status = status - self.code = code - self.error = error diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/operation_result_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/operation_result_py3.py deleted file mode 100644 index ef58ac973b49..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/operation_result_py3.py +++ /dev/null @@ -1,89 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from .operation_result_properties_py3 import OperationResultProperties - - -class OperationResult(OperationResultProperties): - """The operation result definition. - - Variables are only populated by the server, and will be ignored when - sending a request. - - :param start_time: The start time of the workflow scope repetition. - :type start_time: datetime - :param end_time: The end time of the workflow scope repetition. - :type end_time: datetime - :param correlation: The correlation properties. - :type correlation: ~azure.mgmt.logic.models.RunActionCorrelation - :param status: The status of the workflow scope repetition. Possible - values include: 'NotSpecified', 'Paused', 'Running', 'Waiting', - 'Succeeded', 'Skipped', 'Suspended', 'Cancelled', 'Failed', 'Faulted', - 'TimedOut', 'Aborted', 'Ignored' - :type status: str or ~azure.mgmt.logic.models.WorkflowStatus - :param code: The workflow scope repetition code. - :type code: str - :param error: - :type error: object - :ivar tracking_id: Gets the tracking id. - :vartype tracking_id: str - :ivar inputs: Gets the inputs. - :vartype inputs: object - :ivar inputs_link: Gets the link to inputs. - :vartype inputs_link: ~azure.mgmt.logic.models.ContentLink - :ivar outputs: Gets the outputs. - :vartype outputs: object - :ivar outputs_link: Gets the link to outputs. - :vartype outputs_link: ~azure.mgmt.logic.models.ContentLink - :ivar tracked_properties: Gets the tracked properties. - :vartype tracked_properties: object - :param retry_history: Gets the retry histories. - :type retry_history: list[~azure.mgmt.logic.models.RetryHistory] - :param iteration_count: - :type iteration_count: int - """ - - _validation = { - 'tracking_id': {'readonly': True}, - 'inputs': {'readonly': True}, - 'inputs_link': {'readonly': True}, - 'outputs': {'readonly': True}, - 'outputs_link': {'readonly': True}, - 'tracked_properties': {'readonly': True}, - } - - _attribute_map = { - 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, - 'end_time': {'key': 'endTime', 'type': 'iso-8601'}, - 'correlation': {'key': 'correlation', 'type': 'RunActionCorrelation'}, - 'status': {'key': 'status', 'type': 'str'}, - 'code': {'key': 'code', 'type': 'str'}, - 'error': {'key': 'error', 'type': 'object'}, - 'tracking_id': {'key': 'trackingId', 'type': 'str'}, - 'inputs': {'key': 'inputs', 'type': 'object'}, - 'inputs_link': {'key': 'inputsLink', 'type': 'ContentLink'}, - 'outputs': {'key': 'outputs', 'type': 'object'}, - 'outputs_link': {'key': 'outputsLink', 'type': 'ContentLink'}, - 'tracked_properties': {'key': 'trackedProperties', 'type': 'object'}, - 'retry_history': {'key': 'retryHistory', 'type': '[RetryHistory]'}, - 'iteration_count': {'key': 'iterationCount', 'type': 'int'}, - } - - def __init__(self, *, start_time=None, end_time=None, correlation=None, status=None, code: str=None, error=None, retry_history=None, iteration_count: int=None, **kwargs) -> None: - super(OperationResult, self).__init__(start_time=start_time, end_time=end_time, correlation=correlation, status=status, code=code, error=error, **kwargs) - self.tracking_id = None - self.inputs = None - self.inputs_link = None - self.outputs = None - self.outputs_link = None - self.tracked_properties = None - self.retry_history = retry_history - self.iteration_count = iteration_count diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/partner_content.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/partner_content.py deleted file mode 100644 index 8e6050a643d9..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/partner_content.py +++ /dev/null @@ -1,28 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class PartnerContent(Model): - """The integration account partner content. - - :param b2b: The B2B partner content. - :type b2b: ~azure.mgmt.logic.models.B2BPartnerContent - """ - - _attribute_map = { - 'b2b': {'key': 'b2b', 'type': 'B2BPartnerContent'}, - } - - def __init__(self, **kwargs): - super(PartnerContent, self).__init__(**kwargs) - self.b2b = kwargs.get('b2b', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/partner_content_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/partner_content_py3.py deleted file mode 100644 index 16398395e0b4..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/partner_content_py3.py +++ /dev/null @@ -1,28 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class PartnerContent(Model): - """The integration account partner content. - - :param b2b: The B2B partner content. - :type b2b: ~azure.mgmt.logic.models.B2BPartnerContent - """ - - _attribute_map = { - 'b2b': {'key': 'b2b', 'type': 'B2BPartnerContent'}, - } - - def __init__(self, *, b2b=None, **kwargs) -> None: - super(PartnerContent, self).__init__(**kwargs) - self.b2b = b2b diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/recurrence_schedule.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/recurrence_schedule.py deleted file mode 100644 index 7fdfd3fb5d71..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/recurrence_schedule.py +++ /dev/null @@ -1,45 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class RecurrenceSchedule(Model): - """The recurrence schedule. - - :param minutes: The minutes. - :type minutes: list[int] - :param hours: The hours. - :type hours: list[int] - :param week_days: The days of the week. - :type week_days: list[str or ~azure.mgmt.logic.models.DaysOfWeek] - :param month_days: The month days. - :type month_days: list[int] - :param monthly_occurrences: The monthly occurrences. - :type monthly_occurrences: - list[~azure.mgmt.logic.models.RecurrenceScheduleOccurrence] - """ - - _attribute_map = { - 'minutes': {'key': 'minutes', 'type': '[int]'}, - 'hours': {'key': 'hours', 'type': '[int]'}, - 'week_days': {'key': 'weekDays', 'type': '[DaysOfWeek]'}, - 'month_days': {'key': 'monthDays', 'type': '[int]'}, - 'monthly_occurrences': {'key': 'monthlyOccurrences', 'type': '[RecurrenceScheduleOccurrence]'}, - } - - def __init__(self, **kwargs): - super(RecurrenceSchedule, self).__init__(**kwargs) - self.minutes = kwargs.get('minutes', None) - self.hours = kwargs.get('hours', None) - self.week_days = kwargs.get('week_days', None) - self.month_days = kwargs.get('month_days', None) - self.monthly_occurrences = kwargs.get('monthly_occurrences', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/recurrence_schedule_occurrence.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/recurrence_schedule_occurrence.py deleted file mode 100644 index b32dbc67e712..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/recurrence_schedule_occurrence.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class RecurrenceScheduleOccurrence(Model): - """The recurrence schedule occurrence. - - :param day: The day of the week. Possible values include: 'Sunday', - 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday' - :type day: str or ~azure.mgmt.logic.models.DayOfWeek - :param occurrence: The occurrence. - :type occurrence: int - """ - - _attribute_map = { - 'day': {'key': 'day', 'type': 'DayOfWeek'}, - 'occurrence': {'key': 'occurrence', 'type': 'int'}, - } - - def __init__(self, **kwargs): - super(RecurrenceScheduleOccurrence, self).__init__(**kwargs) - self.day = kwargs.get('day', None) - self.occurrence = kwargs.get('occurrence', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/recurrence_schedule_occurrence_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/recurrence_schedule_occurrence_py3.py deleted file mode 100644 index 1bdaee939cc9..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/recurrence_schedule_occurrence_py3.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class RecurrenceScheduleOccurrence(Model): - """The recurrence schedule occurrence. - - :param day: The day of the week. Possible values include: 'Sunday', - 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday' - :type day: str or ~azure.mgmt.logic.models.DayOfWeek - :param occurrence: The occurrence. - :type occurrence: int - """ - - _attribute_map = { - 'day': {'key': 'day', 'type': 'DayOfWeek'}, - 'occurrence': {'key': 'occurrence', 'type': 'int'}, - } - - def __init__(self, *, day=None, occurrence: int=None, **kwargs) -> None: - super(RecurrenceScheduleOccurrence, self).__init__(**kwargs) - self.day = day - self.occurrence = occurrence diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/recurrence_schedule_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/recurrence_schedule_py3.py deleted file mode 100644 index 68c42503da65..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/recurrence_schedule_py3.py +++ /dev/null @@ -1,45 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class RecurrenceSchedule(Model): - """The recurrence schedule. - - :param minutes: The minutes. - :type minutes: list[int] - :param hours: The hours. - :type hours: list[int] - :param week_days: The days of the week. - :type week_days: list[str or ~azure.mgmt.logic.models.DaysOfWeek] - :param month_days: The month days. - :type month_days: list[int] - :param monthly_occurrences: The monthly occurrences. - :type monthly_occurrences: - list[~azure.mgmt.logic.models.RecurrenceScheduleOccurrence] - """ - - _attribute_map = { - 'minutes': {'key': 'minutes', 'type': '[int]'}, - 'hours': {'key': 'hours', 'type': '[int]'}, - 'week_days': {'key': 'weekDays', 'type': '[DaysOfWeek]'}, - 'month_days': {'key': 'monthDays', 'type': '[int]'}, - 'monthly_occurrences': {'key': 'monthlyOccurrences', 'type': '[RecurrenceScheduleOccurrence]'}, - } - - def __init__(self, *, minutes=None, hours=None, week_days=None, month_days=None, monthly_occurrences=None, **kwargs) -> None: - super(RecurrenceSchedule, self).__init__(**kwargs) - self.minutes = minutes - self.hours = hours - self.week_days = week_days - self.month_days = month_days - self.monthly_occurrences = monthly_occurrences diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/regenerate_action_parameter.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/regenerate_action_parameter.py deleted file mode 100644 index 8eeb3ee018fe..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/regenerate_action_parameter.py +++ /dev/null @@ -1,29 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class RegenerateActionParameter(Model): - """The access key regenerate action content. - - :param key_type: The key type. Possible values include: 'NotSpecified', - 'Primary', 'Secondary' - :type key_type: str or ~azure.mgmt.logic.models.KeyType - """ - - _attribute_map = { - 'key_type': {'key': 'keyType', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(RegenerateActionParameter, self).__init__(**kwargs) - self.key_type = kwargs.get('key_type', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/regenerate_action_parameter_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/regenerate_action_parameter_py3.py deleted file mode 100644 index 5539f5f516f2..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/regenerate_action_parameter_py3.py +++ /dev/null @@ -1,29 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class RegenerateActionParameter(Model): - """The access key regenerate action content. - - :param key_type: The key type. Possible values include: 'NotSpecified', - 'Primary', 'Secondary' - :type key_type: str or ~azure.mgmt.logic.models.KeyType - """ - - _attribute_map = { - 'key_type': {'key': 'keyType', 'type': 'str'}, - } - - def __init__(self, *, key_type=None, **kwargs) -> None: - super(RegenerateActionParameter, self).__init__(**kwargs) - self.key_type = key_type diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/repetition_index.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/repetition_index.py deleted file mode 100644 index d929e8f1fd2e..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/repetition_index.py +++ /dev/null @@ -1,38 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class RepetitionIndex(Model): - """The workflow run action repetition index. - - All required parameters must be populated in order to send to Azure. - - :param scope_name: The scope. - :type scope_name: str - :param item_index: Required. The index. - :type item_index: int - """ - - _validation = { - 'item_index': {'required': True}, - } - - _attribute_map = { - 'scope_name': {'key': 'scopeName', 'type': 'str'}, - 'item_index': {'key': 'itemIndex', 'type': 'int'}, - } - - def __init__(self, **kwargs): - super(RepetitionIndex, self).__init__(**kwargs) - self.scope_name = kwargs.get('scope_name', None) - self.item_index = kwargs.get('item_index', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/repetition_index_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/repetition_index_py3.py deleted file mode 100644 index 8672b59d3c20..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/repetition_index_py3.py +++ /dev/null @@ -1,38 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class RepetitionIndex(Model): - """The workflow run action repetition index. - - All required parameters must be populated in order to send to Azure. - - :param scope_name: The scope. - :type scope_name: str - :param item_index: Required. The index. - :type item_index: int - """ - - _validation = { - 'item_index': {'required': True}, - } - - _attribute_map = { - 'scope_name': {'key': 'scopeName', 'type': 'str'}, - 'item_index': {'key': 'itemIndex', 'type': 'int'}, - } - - def __init__(self, *, item_index: int, scope_name: str=None, **kwargs) -> None: - super(RepetitionIndex, self).__init__(**kwargs) - self.scope_name = scope_name - self.item_index = item_index diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/request.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/request.py deleted file mode 100644 index 061c655df42c..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/request.py +++ /dev/null @@ -1,36 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class Request(Model): - """A request. - - :param headers: A list of all the headers attached to the request. - :type headers: object - :param uri: The destination for the request. - :type uri: str - :param method: The HTTP method used for the request. - :type method: str - """ - - _attribute_map = { - 'headers': {'key': 'headers', 'type': 'object'}, - 'uri': {'key': 'uri', 'type': 'str'}, - 'method': {'key': 'method', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(Request, self).__init__(**kwargs) - self.headers = kwargs.get('headers', None) - self.uri = kwargs.get('uri', None) - self.method = kwargs.get('method', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/request_history.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/request_history.py deleted file mode 100644 index 564959f187e8..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/request_history.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from .resource import Resource - - -class RequestHistory(Resource): - """The request history. - - Variables are only populated by the server, and will be ignored when - sending a request. - - :ivar id: The resource id. - :vartype id: str - :ivar name: Gets the resource name. - :vartype name: str - :ivar type: Gets the resource type. - :vartype type: str - :param location: The resource location. - :type location: str - :param tags: The resource tags. - :type tags: dict[str, str] - :param properties: The request history properties. - :type properties: ~azure.mgmt.logic.models.RequestHistoryProperties - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'location': {'key': 'location', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': '{str}'}, - 'properties': {'key': 'properties', 'type': 'RequestHistoryProperties'}, - } - - def __init__(self, **kwargs): - super(RequestHistory, self).__init__(**kwargs) - self.properties = kwargs.get('properties', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/request_history_paged.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/request_history_paged.py deleted file mode 100644 index 01d899c9e674..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/request_history_paged.py +++ /dev/null @@ -1,27 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.paging import Paged - - -class RequestHistoryPaged(Paged): - """ - A paging container for iterating over a list of :class:`RequestHistory ` object - """ - - _attribute_map = { - 'next_link': {'key': 'nextLink', 'type': 'str'}, - 'current_page': {'key': 'value', 'type': '[RequestHistory]'} - } - - def __init__(self, *args, **kwargs): - - super(RequestHistoryPaged, self).__init__(*args, **kwargs) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/request_history_properties.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/request_history_properties.py deleted file mode 100644 index 241a1212a41d..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/request_history_properties.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class RequestHistoryProperties(Model): - """The request history. - - :param start_time: The time the request started. - :type start_time: datetime - :param end_time: The time the request ended. - :type end_time: datetime - :param request: The request. - :type request: ~azure.mgmt.logic.models.Request - :param response: The response. - :type response: ~azure.mgmt.logic.models.Response - """ - - _attribute_map = { - 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, - 'end_time': {'key': 'endTime', 'type': 'iso-8601'}, - 'request': {'key': 'request', 'type': 'Request'}, - 'response': {'key': 'response', 'type': 'Response'}, - } - - def __init__(self, **kwargs): - super(RequestHistoryProperties, self).__init__(**kwargs) - self.start_time = kwargs.get('start_time', None) - self.end_time = kwargs.get('end_time', None) - self.request = kwargs.get('request', None) - self.response = kwargs.get('response', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/request_history_properties_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/request_history_properties_py3.py deleted file mode 100644 index 5bb2653331e9..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/request_history_properties_py3.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class RequestHistoryProperties(Model): - """The request history. - - :param start_time: The time the request started. - :type start_time: datetime - :param end_time: The time the request ended. - :type end_time: datetime - :param request: The request. - :type request: ~azure.mgmt.logic.models.Request - :param response: The response. - :type response: ~azure.mgmt.logic.models.Response - """ - - _attribute_map = { - 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, - 'end_time': {'key': 'endTime', 'type': 'iso-8601'}, - 'request': {'key': 'request', 'type': 'Request'}, - 'response': {'key': 'response', 'type': 'Response'}, - } - - def __init__(self, *, start_time=None, end_time=None, request=None, response=None, **kwargs) -> None: - super(RequestHistoryProperties, self).__init__(**kwargs) - self.start_time = start_time - self.end_time = end_time - self.request = request - self.response = response diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/request_history_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/request_history_py3.py deleted file mode 100644 index 855a717a27d2..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/request_history_py3.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from .resource_py3 import Resource - - -class RequestHistory(Resource): - """The request history. - - Variables are only populated by the server, and will be ignored when - sending a request. - - :ivar id: The resource id. - :vartype id: str - :ivar name: Gets the resource name. - :vartype name: str - :ivar type: Gets the resource type. - :vartype type: str - :param location: The resource location. - :type location: str - :param tags: The resource tags. - :type tags: dict[str, str] - :param properties: The request history properties. - :type properties: ~azure.mgmt.logic.models.RequestHistoryProperties - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'location': {'key': 'location', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': '{str}'}, - 'properties': {'key': 'properties', 'type': 'RequestHistoryProperties'}, - } - - def __init__(self, *, location: str=None, tags=None, properties=None, **kwargs) -> None: - super(RequestHistory, self).__init__(location=location, tags=tags, **kwargs) - self.properties = properties diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/request_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/request_py3.py deleted file mode 100644 index e72ac2ab288c..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/request_py3.py +++ /dev/null @@ -1,36 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class Request(Model): - """A request. - - :param headers: A list of all the headers attached to the request. - :type headers: object - :param uri: The destination for the request. - :type uri: str - :param method: The HTTP method used for the request. - :type method: str - """ - - _attribute_map = { - 'headers': {'key': 'headers', 'type': 'object'}, - 'uri': {'key': 'uri', 'type': 'str'}, - 'method': {'key': 'method', 'type': 'str'}, - } - - def __init__(self, *, headers=None, uri: str=None, method: str=None, **kwargs) -> None: - super(Request, self).__init__(**kwargs) - self.headers = headers - self.uri = uri - self.method = method diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/resource.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/resource.py deleted file mode 100644 index dc4a59ade8fd..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/resource.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class Resource(Model): - """The base resource type. - - Variables are only populated by the server, and will be ignored when - sending a request. - - :ivar id: The resource id. - :vartype id: str - :ivar name: Gets the resource name. - :vartype name: str - :ivar type: Gets the resource type. - :vartype type: str - :param location: The resource location. - :type location: str - :param tags: The resource tags. - :type tags: dict[str, str] - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'location': {'key': 'location', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': '{str}'}, - } - - def __init__(self, **kwargs): - super(Resource, self).__init__(**kwargs) - self.id = None - self.name = None - self.type = None - self.location = kwargs.get('location', None) - self.tags = kwargs.get('tags', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/resource_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/resource_py3.py deleted file mode 100644 index f081ebac6ded..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/resource_py3.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class Resource(Model): - """The base resource type. - - Variables are only populated by the server, and will be ignored when - sending a request. - - :ivar id: The resource id. - :vartype id: str - :ivar name: Gets the resource name. - :vartype name: str - :ivar type: Gets the resource type. - :vartype type: str - :param location: The resource location. - :type location: str - :param tags: The resource tags. - :type tags: dict[str, str] - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'location': {'key': 'location', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': '{str}'}, - } - - def __init__(self, *, location: str=None, tags=None, **kwargs) -> None: - super(Resource, self).__init__(**kwargs) - self.id = None - self.name = None - self.type = None - self.location = location - self.tags = tags diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/resource_reference.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/resource_reference.py deleted file mode 100644 index 728deff2c46b..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/resource_reference.py +++ /dev/null @@ -1,44 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class ResourceReference(Model): - """The resource reference. - - Variables are only populated by the server, and will be ignored when - sending a request. - - :param id: The resource id. - :type id: str - :ivar name: Gets the resource name. - :vartype name: str - :ivar type: Gets the resource type. - :vartype type: str - """ - - _validation = { - 'name': {'readonly': True}, - 'type': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(ResourceReference, self).__init__(**kwargs) - self.id = kwargs.get('id', None) - self.name = None - self.type = None diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/resource_reference_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/resource_reference_py3.py deleted file mode 100644 index 2ec7f04aab56..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/resource_reference_py3.py +++ /dev/null @@ -1,44 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class ResourceReference(Model): - """The resource reference. - - Variables are only populated by the server, and will be ignored when - sending a request. - - :param id: The resource id. - :type id: str - :ivar name: Gets the resource name. - :vartype name: str - :ivar type: Gets the resource type. - :vartype type: str - """ - - _validation = { - 'name': {'readonly': True}, - 'type': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - } - - def __init__(self, *, id: str=None, **kwargs) -> None: - super(ResourceReference, self).__init__(**kwargs) - self.id = id - self.name = None - self.type = None diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/response.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/response.py deleted file mode 100644 index f3b4a4a29e53..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/response.py +++ /dev/null @@ -1,36 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class Response(Model): - """A response. - - :param headers: A list of all the headers attached to the response. - :type headers: object - :param status_code: The status code of the response. - :type status_code: int - :param body_link: Details on the location of the body content. - :type body_link: ~azure.mgmt.logic.models.ContentLink - """ - - _attribute_map = { - 'headers': {'key': 'headers', 'type': 'object'}, - 'status_code': {'key': 'statusCode', 'type': 'int'}, - 'body_link': {'key': 'bodyLink', 'type': 'ContentLink'}, - } - - def __init__(self, **kwargs): - super(Response, self).__init__(**kwargs) - self.headers = kwargs.get('headers', None) - self.status_code = kwargs.get('status_code', None) - self.body_link = kwargs.get('body_link', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/response_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/response_py3.py deleted file mode 100644 index 7213223e63c4..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/response_py3.py +++ /dev/null @@ -1,36 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class Response(Model): - """A response. - - :param headers: A list of all the headers attached to the response. - :type headers: object - :param status_code: The status code of the response. - :type status_code: int - :param body_link: Details on the location of the body content. - :type body_link: ~azure.mgmt.logic.models.ContentLink - """ - - _attribute_map = { - 'headers': {'key': 'headers', 'type': 'object'}, - 'status_code': {'key': 'statusCode', 'type': 'int'}, - 'body_link': {'key': 'bodyLink', 'type': 'ContentLink'}, - } - - def __init__(self, *, headers=None, status_code: int=None, body_link=None, **kwargs) -> None: - super(Response, self).__init__(**kwargs) - self.headers = headers - self.status_code = status_code - self.body_link = body_link diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/retry_history.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/retry_history.py deleted file mode 100644 index 462db65034cb..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/retry_history.py +++ /dev/null @@ -1,48 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class RetryHistory(Model): - """The retry history. - - :param start_time: Gets the start time. - :type start_time: datetime - :param end_time: Gets the end time. - :type end_time: datetime - :param code: Gets the status code. - :type code: str - :param client_request_id: Gets the client request Id. - :type client_request_id: str - :param service_request_id: Gets the service request Id. - :type service_request_id: str - :param error: Gets the error response. - :type error: ~azure.mgmt.logic.models.ErrorResponse - """ - - _attribute_map = { - 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, - 'end_time': {'key': 'endTime', 'type': 'iso-8601'}, - 'code': {'key': 'code', 'type': 'str'}, - 'client_request_id': {'key': 'clientRequestId', 'type': 'str'}, - 'service_request_id': {'key': 'serviceRequestId', 'type': 'str'}, - 'error': {'key': 'error', 'type': 'ErrorResponse'}, - } - - def __init__(self, **kwargs): - super(RetryHistory, self).__init__(**kwargs) - self.start_time = kwargs.get('start_time', None) - self.end_time = kwargs.get('end_time', None) - self.code = kwargs.get('code', None) - self.client_request_id = kwargs.get('client_request_id', None) - self.service_request_id = kwargs.get('service_request_id', None) - self.error = kwargs.get('error', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/retry_history_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/retry_history_py3.py deleted file mode 100644 index 543926ea2398..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/retry_history_py3.py +++ /dev/null @@ -1,48 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class RetryHistory(Model): - """The retry history. - - :param start_time: Gets the start time. - :type start_time: datetime - :param end_time: Gets the end time. - :type end_time: datetime - :param code: Gets the status code. - :type code: str - :param client_request_id: Gets the client request Id. - :type client_request_id: str - :param service_request_id: Gets the service request Id. - :type service_request_id: str - :param error: Gets the error response. - :type error: ~azure.mgmt.logic.models.ErrorResponse - """ - - _attribute_map = { - 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, - 'end_time': {'key': 'endTime', 'type': 'iso-8601'}, - 'code': {'key': 'code', 'type': 'str'}, - 'client_request_id': {'key': 'clientRequestId', 'type': 'str'}, - 'service_request_id': {'key': 'serviceRequestId', 'type': 'str'}, - 'error': {'key': 'error', 'type': 'ErrorResponse'}, - } - - def __init__(self, *, start_time=None, end_time=None, code: str=None, client_request_id: str=None, service_request_id: str=None, error=None, **kwargs) -> None: - super(RetryHistory, self).__init__(**kwargs) - self.start_time = start_time - self.end_time = end_time - self.code = code - self.client_request_id = client_request_id - self.service_request_id = service_request_id - self.error = error diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/run_action_correlation.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/run_action_correlation.py deleted file mode 100644 index 0eefdd86e0a1..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/run_action_correlation.py +++ /dev/null @@ -1,34 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from .run_correlation import RunCorrelation - - -class RunActionCorrelation(RunCorrelation): - """The workflow run action correlation properties. - - :param client_tracking_id: The client tracking identifier. - :type client_tracking_id: str - :param client_keywords: The client keywords. - :type client_keywords: list[str] - :param action_tracking_id: The action tracking identifier. - :type action_tracking_id: str - """ - - _attribute_map = { - 'client_tracking_id': {'key': 'clientTrackingId', 'type': 'str'}, - 'client_keywords': {'key': 'clientKeywords', 'type': '[str]'}, - 'action_tracking_id': {'key': 'actionTrackingId', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(RunActionCorrelation, self).__init__(**kwargs) - self.action_tracking_id = kwargs.get('action_tracking_id', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/run_action_correlation_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/run_action_correlation_py3.py deleted file mode 100644 index cd46a9dc3d81..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/run_action_correlation_py3.py +++ /dev/null @@ -1,34 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from .run_correlation_py3 import RunCorrelation - - -class RunActionCorrelation(RunCorrelation): - """The workflow run action correlation properties. - - :param client_tracking_id: The client tracking identifier. - :type client_tracking_id: str - :param client_keywords: The client keywords. - :type client_keywords: list[str] - :param action_tracking_id: The action tracking identifier. - :type action_tracking_id: str - """ - - _attribute_map = { - 'client_tracking_id': {'key': 'clientTrackingId', 'type': 'str'}, - 'client_keywords': {'key': 'clientKeywords', 'type': '[str]'}, - 'action_tracking_id': {'key': 'actionTrackingId', 'type': 'str'}, - } - - def __init__(self, *, client_tracking_id: str=None, client_keywords=None, action_tracking_id: str=None, **kwargs) -> None: - super(RunActionCorrelation, self).__init__(client_tracking_id=client_tracking_id, client_keywords=client_keywords, **kwargs) - self.action_tracking_id = action_tracking_id diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/run_correlation.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/run_correlation.py deleted file mode 100644 index 20463c7ae904..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/run_correlation.py +++ /dev/null @@ -1,32 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class RunCorrelation(Model): - """The correlation properties. - - :param client_tracking_id: The client tracking identifier. - :type client_tracking_id: str - :param client_keywords: The client keywords. - :type client_keywords: list[str] - """ - - _attribute_map = { - 'client_tracking_id': {'key': 'clientTrackingId', 'type': 'str'}, - 'client_keywords': {'key': 'clientKeywords', 'type': '[str]'}, - } - - def __init__(self, **kwargs): - super(RunCorrelation, self).__init__(**kwargs) - self.client_tracking_id = kwargs.get('client_tracking_id', None) - self.client_keywords = kwargs.get('client_keywords', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/run_correlation_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/run_correlation_py3.py deleted file mode 100644 index f4c5a7e9f2fa..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/run_correlation_py3.py +++ /dev/null @@ -1,32 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class RunCorrelation(Model): - """The correlation properties. - - :param client_tracking_id: The client tracking identifier. - :type client_tracking_id: str - :param client_keywords: The client keywords. - :type client_keywords: list[str] - """ - - _attribute_map = { - 'client_tracking_id': {'key': 'clientTrackingId', 'type': 'str'}, - 'client_keywords': {'key': 'clientKeywords', 'type': '[str]'}, - } - - def __init__(self, *, client_tracking_id: str=None, client_keywords=None, **kwargs) -> None: - super(RunCorrelation, self).__init__(**kwargs) - self.client_tracking_id = client_tracking_id - self.client_keywords = client_keywords diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/set_trigger_state_action_definition.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/set_trigger_state_action_definition.py deleted file mode 100644 index 526aa19de353..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/set_trigger_state_action_definition.py +++ /dev/null @@ -1,34 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class SetTriggerStateActionDefinition(Model): - """SetTriggerStateActionDefinition. - - All required parameters must be populated in order to send to Azure. - - :param source: Required. - :type source: ~azure.mgmt.logic.models.WorkflowTrigger - """ - - _validation = { - 'source': {'required': True}, - } - - _attribute_map = { - 'source': {'key': 'source', 'type': 'WorkflowTrigger'}, - } - - def __init__(self, **kwargs): - super(SetTriggerStateActionDefinition, self).__init__(**kwargs) - self.source = kwargs.get('source', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/set_trigger_state_action_definition_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/set_trigger_state_action_definition_py3.py deleted file mode 100644 index 7a1cea7f3c86..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/set_trigger_state_action_definition_py3.py +++ /dev/null @@ -1,34 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class SetTriggerStateActionDefinition(Model): - """SetTriggerStateActionDefinition. - - All required parameters must be populated in order to send to Azure. - - :param source: Required. - :type source: ~azure.mgmt.logic.models.WorkflowTrigger - """ - - _validation = { - 'source': {'required': True}, - } - - _attribute_map = { - 'source': {'key': 'source', 'type': 'WorkflowTrigger'}, - } - - def __init__(self, *, source, **kwargs) -> None: - super(SetTriggerStateActionDefinition, self).__init__(**kwargs) - self.source = source diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/sku.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/sku.py deleted file mode 100644 index 6fb044da22b3..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/sku.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class Sku(Model): - """The sku type. - - All required parameters must be populated in order to send to Azure. - - :param name: Required. The name. Possible values include: 'NotSpecified', - 'Free', 'Shared', 'Basic', 'Standard', 'Premium' - :type name: str or ~azure.mgmt.logic.models.SkuName - :param plan: The reference to plan. - :type plan: ~azure.mgmt.logic.models.ResourceReference - """ - - _validation = { - 'name': {'required': True}, - } - - _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - 'plan': {'key': 'plan', 'type': 'ResourceReference'}, - } - - def __init__(self, **kwargs): - super(Sku, self).__init__(**kwargs) - self.name = kwargs.get('name', None) - self.plan = kwargs.get('plan', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/sku_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/sku_py3.py deleted file mode 100644 index f8dfc5c7f277..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/sku_py3.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class Sku(Model): - """The sku type. - - All required parameters must be populated in order to send to Azure. - - :param name: Required. The name. Possible values include: 'NotSpecified', - 'Free', 'Shared', 'Basic', 'Standard', 'Premium' - :type name: str or ~azure.mgmt.logic.models.SkuName - :param plan: The reference to plan. - :type plan: ~azure.mgmt.logic.models.ResourceReference - """ - - _validation = { - 'name': {'required': True}, - } - - _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - 'plan': {'key': 'plan', 'type': 'ResourceReference'}, - } - - def __init__(self, *, name, plan=None, **kwargs) -> None: - super(Sku, self).__init__(**kwargs) - self.name = name - self.plan = plan diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/sub_resource.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/sub_resource.py deleted file mode 100644 index 1e47e072835d..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/sub_resource.py +++ /dev/null @@ -1,35 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class SubResource(Model): - """The sub resource type. - - Variables are only populated by the server, and will be ignored when - sending a request. - - :ivar id: The resource id. - :vartype id: str - """ - - _validation = { - 'id': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(SubResource, self).__init__(**kwargs) - self.id = None diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/sub_resource_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/sub_resource_py3.py deleted file mode 100644 index 5654b9bf9a14..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/sub_resource_py3.py +++ /dev/null @@ -1,35 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class SubResource(Model): - """The sub resource type. - - Variables are only populated by the server, and will be ignored when - sending a request. - - :ivar id: The resource id. - :vartype id: str - """ - - _validation = { - 'id': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - } - - def __init__(self, **kwargs) -> None: - super(SubResource, self).__init__(**kwargs) - self.id = None diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/tracking_event.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/tracking_event.py deleted file mode 100644 index 505ce146ce76..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/tracking_event.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class TrackingEvent(Model): - """TrackingEvent. - - All required parameters must be populated in order to send to Azure. - - :param event_level: Required. Possible values include: 'LogAlways', - 'Critical', 'Error', 'Warning', 'Informational', 'Verbose' - :type event_level: str or ~azure.mgmt.logic.models.EventLevel - :param event_time: Required. - :type event_time: datetime - :param record_type: Required. Possible values include: 'NotSpecified', - 'Custom', 'AS2Message', 'AS2MDN', 'X12Interchange', 'X12FunctionalGroup', - 'X12TransactionSet', 'X12InterchangeAcknowledgment', - 'X12FunctionalGroupAcknowledgment', 'X12TransactionSetAcknowledgment', - 'EdifactInterchange', 'EdifactFunctionalGroup', 'EdifactTransactionSet', - 'EdifactInterchangeAcknowledgment', - 'EdifactFunctionalGroupAcknowledgment', - 'EdifactTransactionSetAcknowledgment' - :type record_type: str or ~azure.mgmt.logic.models.TrackingRecordType - :param error: - :type error: ~azure.mgmt.logic.models.TrackingEventErrorInfo - """ - - _validation = { - 'event_level': {'required': True}, - 'event_time': {'required': True}, - 'record_type': {'required': True}, - } - - _attribute_map = { - 'event_level': {'key': 'eventLevel', 'type': 'EventLevel'}, - 'event_time': {'key': 'eventTime', 'type': 'iso-8601'}, - 'record_type': {'key': 'recordType', 'type': 'str'}, - 'error': {'key': 'error', 'type': 'TrackingEventErrorInfo'}, - } - - def __init__(self, **kwargs): - super(TrackingEvent, self).__init__(**kwargs) - self.event_level = kwargs.get('event_level', None) - self.event_time = kwargs.get('event_time', None) - self.record_type = kwargs.get('record_type', None) - self.error = kwargs.get('error', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/tracking_event_error_info.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/tracking_event_error_info.py deleted file mode 100644 index c48b9766013d..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/tracking_event_error_info.py +++ /dev/null @@ -1,32 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class TrackingEventErrorInfo(Model): - """TrackingEventErrorInfo. - - :param message: - :type message: str - :param code: - :type code: str - """ - - _attribute_map = { - 'message': {'key': 'message', 'type': 'str'}, - 'code': {'key': 'code', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(TrackingEventErrorInfo, self).__init__(**kwargs) - self.message = kwargs.get('message', None) - self.code = kwargs.get('code', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/tracking_event_error_info_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/tracking_event_error_info_py3.py deleted file mode 100644 index 1f32ee71cf18..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/tracking_event_error_info_py3.py +++ /dev/null @@ -1,32 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class TrackingEventErrorInfo(Model): - """TrackingEventErrorInfo. - - :param message: - :type message: str - :param code: - :type code: str - """ - - _attribute_map = { - 'message': {'key': 'message', 'type': 'str'}, - 'code': {'key': 'code', 'type': 'str'}, - } - - def __init__(self, *, message: str=None, code: str=None, **kwargs) -> None: - super(TrackingEventErrorInfo, self).__init__(**kwargs) - self.message = message - self.code = code diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/tracking_event_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/tracking_event_py3.py deleted file mode 100644 index cd6606b4095e..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/tracking_event_py3.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class TrackingEvent(Model): - """TrackingEvent. - - All required parameters must be populated in order to send to Azure. - - :param event_level: Required. Possible values include: 'LogAlways', - 'Critical', 'Error', 'Warning', 'Informational', 'Verbose' - :type event_level: str or ~azure.mgmt.logic.models.EventLevel - :param event_time: Required. - :type event_time: datetime - :param record_type: Required. Possible values include: 'NotSpecified', - 'Custom', 'AS2Message', 'AS2MDN', 'X12Interchange', 'X12FunctionalGroup', - 'X12TransactionSet', 'X12InterchangeAcknowledgment', - 'X12FunctionalGroupAcknowledgment', 'X12TransactionSetAcknowledgment', - 'EdifactInterchange', 'EdifactFunctionalGroup', 'EdifactTransactionSet', - 'EdifactInterchangeAcknowledgment', - 'EdifactFunctionalGroupAcknowledgment', - 'EdifactTransactionSetAcknowledgment' - :type record_type: str or ~azure.mgmt.logic.models.TrackingRecordType - :param error: - :type error: ~azure.mgmt.logic.models.TrackingEventErrorInfo - """ - - _validation = { - 'event_level': {'required': True}, - 'event_time': {'required': True}, - 'record_type': {'required': True}, - } - - _attribute_map = { - 'event_level': {'key': 'eventLevel', 'type': 'EventLevel'}, - 'event_time': {'key': 'eventTime', 'type': 'iso-8601'}, - 'record_type': {'key': 'recordType', 'type': 'str'}, - 'error': {'key': 'error', 'type': 'TrackingEventErrorInfo'}, - } - - def __init__(self, *, event_level, event_time, record_type, error=None, **kwargs) -> None: - super(TrackingEvent, self).__init__(**kwargs) - self.event_level = event_level - self.event_time = event_time - self.record_type = record_type - self.error = error diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/tracking_events_definition.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/tracking_events_definition.py deleted file mode 100644 index 5a6dbfdc7261..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/tracking_events_definition.py +++ /dev/null @@ -1,45 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class TrackingEventsDefinition(Model): - """TrackingEventsDefinition. - - All required parameters must be populated in order to send to Azure. - - :param source_type: Required. - :type source_type: str - :param track_events_options: Possible values include: 'None', - 'DisableSourceInfoEnrich' - :type track_events_options: str or - ~azure.mgmt.logic.models.TrackEventsOperationOptions - :param events: Required. - :type events: list[~azure.mgmt.logic.models.TrackingEvent] - """ - - _validation = { - 'source_type': {'required': True}, - 'events': {'required': True}, - } - - _attribute_map = { - 'source_type': {'key': 'sourceType', 'type': 'str'}, - 'track_events_options': {'key': 'trackEventsOptions', 'type': 'str'}, - 'events': {'key': 'events', 'type': '[TrackingEvent]'}, - } - - def __init__(self, **kwargs): - super(TrackingEventsDefinition, self).__init__(**kwargs) - self.source_type = kwargs.get('source_type', None) - self.track_events_options = kwargs.get('track_events_options', None) - self.events = kwargs.get('events', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/tracking_events_definition_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/tracking_events_definition_py3.py deleted file mode 100644 index daa5205fdcab..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/tracking_events_definition_py3.py +++ /dev/null @@ -1,45 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class TrackingEventsDefinition(Model): - """TrackingEventsDefinition. - - All required parameters must be populated in order to send to Azure. - - :param source_type: Required. - :type source_type: str - :param track_events_options: Possible values include: 'None', - 'DisableSourceInfoEnrich' - :type track_events_options: str or - ~azure.mgmt.logic.models.TrackEventsOperationOptions - :param events: Required. - :type events: list[~azure.mgmt.logic.models.TrackingEvent] - """ - - _validation = { - 'source_type': {'required': True}, - 'events': {'required': True}, - } - - _attribute_map = { - 'source_type': {'key': 'sourceType', 'type': 'str'}, - 'track_events_options': {'key': 'trackEventsOptions', 'type': 'str'}, - 'events': {'key': 'events', 'type': '[TrackingEvent]'}, - } - - def __init__(self, *, source_type: str, events, track_events_options=None, **kwargs) -> None: - super(TrackingEventsDefinition, self).__init__(**kwargs) - self.source_type = source_type - self.track_events_options = track_events_options - self.events = events diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow.py deleted file mode 100644 index 3eb751a61197..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow.py +++ /dev/null @@ -1,99 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from .resource import Resource - - -class Workflow(Resource): - """The workflow type. - - Variables are only populated by the server, and will be ignored when - sending a request. - - :ivar id: The resource id. - :vartype id: str - :ivar name: Gets the resource name. - :vartype name: str - :ivar type: Gets the resource type. - :vartype type: str - :param location: The resource location. - :type location: str - :param tags: The resource tags. - :type tags: dict[str, str] - :ivar provisioning_state: Gets the provisioning state. Possible values - include: 'NotSpecified', 'Accepted', 'Running', 'Ready', 'Creating', - 'Created', 'Deleting', 'Deleted', 'Canceled', 'Failed', 'Succeeded', - 'Moving', 'Updating', 'Registering', 'Registered', 'Unregistering', - 'Unregistered', 'Completed' - :vartype provisioning_state: str or - ~azure.mgmt.logic.models.WorkflowProvisioningState - :ivar created_time: Gets the created time. - :vartype created_time: datetime - :ivar changed_time: Gets the changed time. - :vartype changed_time: datetime - :param state: The state. Possible values include: 'NotSpecified', - 'Completed', 'Enabled', 'Disabled', 'Deleted', 'Suspended' - :type state: str or ~azure.mgmt.logic.models.WorkflowState - :ivar version: Gets the version. - :vartype version: str - :ivar access_endpoint: Gets the access endpoint. - :vartype access_endpoint: str - :param sku: The sku. - :type sku: ~azure.mgmt.logic.models.Sku - :param integration_account: The integration account. - :type integration_account: ~azure.mgmt.logic.models.ResourceReference - :param definition: The definition. - :type definition: object - :param parameters: The parameters. - :type parameters: dict[str, ~azure.mgmt.logic.models.WorkflowParameter] - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'provisioning_state': {'readonly': True}, - 'created_time': {'readonly': True}, - 'changed_time': {'readonly': True}, - 'version': {'readonly': True}, - 'access_endpoint': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'location': {'key': 'location', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': '{str}'}, - 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, - 'created_time': {'key': 'properties.createdTime', 'type': 'iso-8601'}, - 'changed_time': {'key': 'properties.changedTime', 'type': 'iso-8601'}, - 'state': {'key': 'properties.state', 'type': 'str'}, - 'version': {'key': 'properties.version', 'type': 'str'}, - 'access_endpoint': {'key': 'properties.accessEndpoint', 'type': 'str'}, - 'sku': {'key': 'properties.sku', 'type': 'Sku'}, - 'integration_account': {'key': 'properties.integrationAccount', 'type': 'ResourceReference'}, - 'definition': {'key': 'properties.definition', 'type': 'object'}, - 'parameters': {'key': 'properties.parameters', 'type': '{WorkflowParameter}'}, - } - - def __init__(self, **kwargs): - super(Workflow, self).__init__(**kwargs) - self.provisioning_state = None - self.created_time = None - self.changed_time = None - self.state = kwargs.get('state', None) - self.version = None - self.access_endpoint = None - self.sku = kwargs.get('sku', None) - self.integration_account = kwargs.get('integration_account', None) - self.definition = kwargs.get('definition', None) - self.parameters = kwargs.get('parameters', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_filter.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_filter.py deleted file mode 100644 index 549db586e998..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_filter.py +++ /dev/null @@ -1,29 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class WorkflowFilter(Model): - """The workflow filter. - - :param state: The state of workflows. Possible values include: - 'NotSpecified', 'Completed', 'Enabled', 'Disabled', 'Deleted', 'Suspended' - :type state: str or ~azure.mgmt.logic.models.WorkflowState - """ - - _attribute_map = { - 'state': {'key': 'state', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(WorkflowFilter, self).__init__(**kwargs) - self.state = kwargs.get('state', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_filter_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_filter_py3.py deleted file mode 100644 index d6198d9cebd5..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_filter_py3.py +++ /dev/null @@ -1,29 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class WorkflowFilter(Model): - """The workflow filter. - - :param state: The state of workflows. Possible values include: - 'NotSpecified', 'Completed', 'Enabled', 'Disabled', 'Deleted', 'Suspended' - :type state: str or ~azure.mgmt.logic.models.WorkflowState - """ - - _attribute_map = { - 'state': {'key': 'state', 'type': 'str'}, - } - - def __init__(self, *, state=None, **kwargs) -> None: - super(WorkflowFilter, self).__init__(**kwargs) - self.state = state diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_output_parameter.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_output_parameter.py deleted file mode 100644 index e2fb9dd653f9..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_output_parameter.py +++ /dev/null @@ -1,48 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from .workflow_parameter import WorkflowParameter - - -class WorkflowOutputParameter(WorkflowParameter): - """The workflow output parameter. - - Variables are only populated by the server, and will be ignored when - sending a request. - - :param type: The type. Possible values include: 'NotSpecified', 'String', - 'SecureString', 'Int', 'Float', 'Bool', 'Array', 'Object', 'SecureObject' - :type type: str or ~azure.mgmt.logic.models.ParameterType - :param value: The value. - :type value: object - :param metadata: The metadata. - :type metadata: object - :param description: The description. - :type description: str - :ivar error: Gets the error. - :vartype error: object - """ - - _validation = { - 'error': {'readonly': True}, - } - - _attribute_map = { - 'type': {'key': 'type', 'type': 'str'}, - 'value': {'key': 'value', 'type': 'object'}, - 'metadata': {'key': 'metadata', 'type': 'object'}, - 'description': {'key': 'description', 'type': 'str'}, - 'error': {'key': 'error', 'type': 'object'}, - } - - def __init__(self, **kwargs): - super(WorkflowOutputParameter, self).__init__(**kwargs) - self.error = None diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_output_parameter_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_output_parameter_py3.py deleted file mode 100644 index 3888935a41b6..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_output_parameter_py3.py +++ /dev/null @@ -1,48 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from .workflow_parameter_py3 import WorkflowParameter - - -class WorkflowOutputParameter(WorkflowParameter): - """The workflow output parameter. - - Variables are only populated by the server, and will be ignored when - sending a request. - - :param type: The type. Possible values include: 'NotSpecified', 'String', - 'SecureString', 'Int', 'Float', 'Bool', 'Array', 'Object', 'SecureObject' - :type type: str or ~azure.mgmt.logic.models.ParameterType - :param value: The value. - :type value: object - :param metadata: The metadata. - :type metadata: object - :param description: The description. - :type description: str - :ivar error: Gets the error. - :vartype error: object - """ - - _validation = { - 'error': {'readonly': True}, - } - - _attribute_map = { - 'type': {'key': 'type', 'type': 'str'}, - 'value': {'key': 'value', 'type': 'object'}, - 'metadata': {'key': 'metadata', 'type': 'object'}, - 'description': {'key': 'description', 'type': 'str'}, - 'error': {'key': 'error', 'type': 'object'}, - } - - def __init__(self, *, type=None, value=None, metadata=None, description: str=None, **kwargs) -> None: - super(WorkflowOutputParameter, self).__init__(type=type, value=value, metadata=metadata, description=description, **kwargs) - self.error = None diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_paged.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_paged.py deleted file mode 100644 index 8b19166fae8b..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_paged.py +++ /dev/null @@ -1,27 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.paging import Paged - - -class WorkflowPaged(Paged): - """ - A paging container for iterating over a list of :class:`Workflow ` object - """ - - _attribute_map = { - 'next_link': {'key': 'nextLink', 'type': 'str'}, - 'current_page': {'key': 'value', 'type': '[Workflow]'} - } - - def __init__(self, *args, **kwargs): - - super(WorkflowPaged, self).__init__(*args, **kwargs) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_parameter.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_parameter.py deleted file mode 100644 index a8324aa0e4cf..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_parameter.py +++ /dev/null @@ -1,41 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class WorkflowParameter(Model): - """The workflow parameters. - - :param type: The type. Possible values include: 'NotSpecified', 'String', - 'SecureString', 'Int', 'Float', 'Bool', 'Array', 'Object', 'SecureObject' - :type type: str or ~azure.mgmt.logic.models.ParameterType - :param value: The value. - :type value: object - :param metadata: The metadata. - :type metadata: object - :param description: The description. - :type description: str - """ - - _attribute_map = { - 'type': {'key': 'type', 'type': 'str'}, - 'value': {'key': 'value', 'type': 'object'}, - 'metadata': {'key': 'metadata', 'type': 'object'}, - 'description': {'key': 'description', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(WorkflowParameter, self).__init__(**kwargs) - self.type = kwargs.get('type', None) - self.value = kwargs.get('value', None) - self.metadata = kwargs.get('metadata', None) - self.description = kwargs.get('description', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_parameter_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_parameter_py3.py deleted file mode 100644 index 3520713bd806..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_parameter_py3.py +++ /dev/null @@ -1,41 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class WorkflowParameter(Model): - """The workflow parameters. - - :param type: The type. Possible values include: 'NotSpecified', 'String', - 'SecureString', 'Int', 'Float', 'Bool', 'Array', 'Object', 'SecureObject' - :type type: str or ~azure.mgmt.logic.models.ParameterType - :param value: The value. - :type value: object - :param metadata: The metadata. - :type metadata: object - :param description: The description. - :type description: str - """ - - _attribute_map = { - 'type': {'key': 'type', 'type': 'str'}, - 'value': {'key': 'value', 'type': 'object'}, - 'metadata': {'key': 'metadata', 'type': 'object'}, - 'description': {'key': 'description', 'type': 'str'}, - } - - def __init__(self, *, type=None, value=None, metadata=None, description: str=None, **kwargs) -> None: - super(WorkflowParameter, self).__init__(**kwargs) - self.type = type - self.value = value - self.metadata = metadata - self.description = description diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_py3.py deleted file mode 100644 index 426874912e25..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_py3.py +++ /dev/null @@ -1,99 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from .resource_py3 import Resource - - -class Workflow(Resource): - """The workflow type. - - Variables are only populated by the server, and will be ignored when - sending a request. - - :ivar id: The resource id. - :vartype id: str - :ivar name: Gets the resource name. - :vartype name: str - :ivar type: Gets the resource type. - :vartype type: str - :param location: The resource location. - :type location: str - :param tags: The resource tags. - :type tags: dict[str, str] - :ivar provisioning_state: Gets the provisioning state. Possible values - include: 'NotSpecified', 'Accepted', 'Running', 'Ready', 'Creating', - 'Created', 'Deleting', 'Deleted', 'Canceled', 'Failed', 'Succeeded', - 'Moving', 'Updating', 'Registering', 'Registered', 'Unregistering', - 'Unregistered', 'Completed' - :vartype provisioning_state: str or - ~azure.mgmt.logic.models.WorkflowProvisioningState - :ivar created_time: Gets the created time. - :vartype created_time: datetime - :ivar changed_time: Gets the changed time. - :vartype changed_time: datetime - :param state: The state. Possible values include: 'NotSpecified', - 'Completed', 'Enabled', 'Disabled', 'Deleted', 'Suspended' - :type state: str or ~azure.mgmt.logic.models.WorkflowState - :ivar version: Gets the version. - :vartype version: str - :ivar access_endpoint: Gets the access endpoint. - :vartype access_endpoint: str - :param sku: The sku. - :type sku: ~azure.mgmt.logic.models.Sku - :param integration_account: The integration account. - :type integration_account: ~azure.mgmt.logic.models.ResourceReference - :param definition: The definition. - :type definition: object - :param parameters: The parameters. - :type parameters: dict[str, ~azure.mgmt.logic.models.WorkflowParameter] - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'provisioning_state': {'readonly': True}, - 'created_time': {'readonly': True}, - 'changed_time': {'readonly': True}, - 'version': {'readonly': True}, - 'access_endpoint': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'location': {'key': 'location', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': '{str}'}, - 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, - 'created_time': {'key': 'properties.createdTime', 'type': 'iso-8601'}, - 'changed_time': {'key': 'properties.changedTime', 'type': 'iso-8601'}, - 'state': {'key': 'properties.state', 'type': 'str'}, - 'version': {'key': 'properties.version', 'type': 'str'}, - 'access_endpoint': {'key': 'properties.accessEndpoint', 'type': 'str'}, - 'sku': {'key': 'properties.sku', 'type': 'Sku'}, - 'integration_account': {'key': 'properties.integrationAccount', 'type': 'ResourceReference'}, - 'definition': {'key': 'properties.definition', 'type': 'object'}, - 'parameters': {'key': 'properties.parameters', 'type': '{WorkflowParameter}'}, - } - - def __init__(self, *, location: str=None, tags=None, state=None, sku=None, integration_account=None, definition=None, parameters=None, **kwargs) -> None: - super(Workflow, self).__init__(location=location, tags=tags, **kwargs) - self.provisioning_state = None - self.created_time = None - self.changed_time = None - self.state = state - self.version = None - self.access_endpoint = None - self.sku = sku - self.integration_account = integration_account - self.definition = definition - self.parameters = parameters diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_run.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_run.py deleted file mode 100644 index b50625d98578..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_run.py +++ /dev/null @@ -1,106 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from .sub_resource import SubResource - - -class WorkflowRun(SubResource): - """The workflow run. - - Variables are only populated by the server, and will be ignored when - sending a request. - - :ivar id: The resource id. - :vartype id: str - :ivar wait_end_time: Gets the wait end time. - :vartype wait_end_time: datetime - :ivar start_time: Gets the start time. - :vartype start_time: datetime - :ivar end_time: Gets the end time. - :vartype end_time: datetime - :ivar status: Gets the status. Possible values include: 'NotSpecified', - 'Paused', 'Running', 'Waiting', 'Succeeded', 'Skipped', 'Suspended', - 'Cancelled', 'Failed', 'Faulted', 'TimedOut', 'Aborted', 'Ignored' - :vartype status: str or ~azure.mgmt.logic.models.WorkflowStatus - :ivar code: Gets the code. - :vartype code: str - :ivar error: Gets the error. - :vartype error: object - :ivar correlation_id: Gets the correlation id. - :vartype correlation_id: str - :param correlation: The run correlation. - :type correlation: ~azure.mgmt.logic.models.Correlation - :ivar workflow: Gets the reference to workflow version. - :vartype workflow: ~azure.mgmt.logic.models.ResourceReference - :ivar trigger: Gets the fired trigger. - :vartype trigger: ~azure.mgmt.logic.models.WorkflowRunTrigger - :ivar outputs: Gets the outputs. - :vartype outputs: dict[str, - ~azure.mgmt.logic.models.WorkflowOutputParameter] - :ivar response: Gets the response of the flow run. - :vartype response: ~azure.mgmt.logic.models.WorkflowRunTrigger - :ivar name: Gets the workflow run name. - :vartype name: str - :ivar type: Gets the workflow run type. - :vartype type: str - """ - - _validation = { - 'id': {'readonly': True}, - 'wait_end_time': {'readonly': True}, - 'start_time': {'readonly': True}, - 'end_time': {'readonly': True}, - 'status': {'readonly': True}, - 'code': {'readonly': True}, - 'error': {'readonly': True}, - 'correlation_id': {'readonly': True}, - 'workflow': {'readonly': True}, - 'trigger': {'readonly': True}, - 'outputs': {'readonly': True}, - 'response': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'wait_end_time': {'key': 'properties.waitEndTime', 'type': 'iso-8601'}, - 'start_time': {'key': 'properties.startTime', 'type': 'iso-8601'}, - 'end_time': {'key': 'properties.endTime', 'type': 'iso-8601'}, - 'status': {'key': 'properties.status', 'type': 'str'}, - 'code': {'key': 'properties.code', 'type': 'str'}, - 'error': {'key': 'properties.error', 'type': 'object'}, - 'correlation_id': {'key': 'properties.correlationId', 'type': 'str'}, - 'correlation': {'key': 'properties.correlation', 'type': 'Correlation'}, - 'workflow': {'key': 'properties.workflow', 'type': 'ResourceReference'}, - 'trigger': {'key': 'properties.trigger', 'type': 'WorkflowRunTrigger'}, - 'outputs': {'key': 'properties.outputs', 'type': '{WorkflowOutputParameter}'}, - 'response': {'key': 'properties.response', 'type': 'WorkflowRunTrigger'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(WorkflowRun, self).__init__(**kwargs) - self.wait_end_time = None - self.start_time = None - self.end_time = None - self.status = None - self.code = None - self.error = None - self.correlation_id = None - self.correlation = kwargs.get('correlation', None) - self.workflow = None - self.trigger = None - self.outputs = None - self.response = None - self.name = None - self.type = None diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_run_action.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_run_action.py deleted file mode 100644 index da538a7febbc..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_run_action.py +++ /dev/null @@ -1,99 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from .sub_resource import SubResource - - -class WorkflowRunAction(SubResource): - """The workflow run action. - - Variables are only populated by the server, and will be ignored when - sending a request. - - :ivar id: The resource id. - :vartype id: str - :ivar start_time: Gets the start time. - :vartype start_time: datetime - :ivar end_time: Gets the end time. - :vartype end_time: datetime - :ivar status: Gets the status. Possible values include: 'NotSpecified', - 'Paused', 'Running', 'Waiting', 'Succeeded', 'Skipped', 'Suspended', - 'Cancelled', 'Failed', 'Faulted', 'TimedOut', 'Aborted', 'Ignored' - :vartype status: str or ~azure.mgmt.logic.models.WorkflowStatus - :ivar code: Gets the code. - :vartype code: str - :ivar error: Gets the error. - :vartype error: object - :ivar tracking_id: Gets the tracking id. - :vartype tracking_id: str - :param correlation: The correlation properties. - :type correlation: ~azure.mgmt.logic.models.Correlation - :ivar inputs_link: Gets the link to inputs. - :vartype inputs_link: ~azure.mgmt.logic.models.ContentLink - :ivar outputs_link: Gets the link to outputs. - :vartype outputs_link: ~azure.mgmt.logic.models.ContentLink - :ivar tracked_properties: Gets the tracked properties. - :vartype tracked_properties: object - :param retry_history: Gets the retry histories. - :type retry_history: list[~azure.mgmt.logic.models.RetryHistory] - :ivar name: Gets the workflow run action name. - :vartype name: str - :ivar type: Gets the workflow run action type. - :vartype type: str - """ - - _validation = { - 'id': {'readonly': True}, - 'start_time': {'readonly': True}, - 'end_time': {'readonly': True}, - 'status': {'readonly': True}, - 'code': {'readonly': True}, - 'error': {'readonly': True}, - 'tracking_id': {'readonly': True}, - 'inputs_link': {'readonly': True}, - 'outputs_link': {'readonly': True}, - 'tracked_properties': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'start_time': {'key': 'properties.startTime', 'type': 'iso-8601'}, - 'end_time': {'key': 'properties.endTime', 'type': 'iso-8601'}, - 'status': {'key': 'properties.status', 'type': 'str'}, - 'code': {'key': 'properties.code', 'type': 'str'}, - 'error': {'key': 'properties.error', 'type': 'object'}, - 'tracking_id': {'key': 'properties.trackingId', 'type': 'str'}, - 'correlation': {'key': 'properties.correlation', 'type': 'Correlation'}, - 'inputs_link': {'key': 'properties.inputsLink', 'type': 'ContentLink'}, - 'outputs_link': {'key': 'properties.outputsLink', 'type': 'ContentLink'}, - 'tracked_properties': {'key': 'properties.trackedProperties', 'type': 'object'}, - 'retry_history': {'key': 'properties.retryHistory', 'type': '[RetryHistory]'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(WorkflowRunAction, self).__init__(**kwargs) - self.start_time = None - self.end_time = None - self.status = None - self.code = None - self.error = None - self.tracking_id = None - self.correlation = kwargs.get('correlation', None) - self.inputs_link = None - self.outputs_link = None - self.tracked_properties = None - self.retry_history = kwargs.get('retry_history', None) - self.name = None - self.type = None diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_run_action_filter.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_run_action_filter.py deleted file mode 100644 index a8f4cb3b42a2..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_run_action_filter.py +++ /dev/null @@ -1,31 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class WorkflowRunActionFilter(Model): - """The workflow run action filter. - - :param status: The status of workflow run action. Possible values include: - 'NotSpecified', 'Paused', 'Running', 'Waiting', 'Succeeded', 'Skipped', - 'Suspended', 'Cancelled', 'Failed', 'Faulted', 'TimedOut', 'Aborted', - 'Ignored' - :type status: str or ~azure.mgmt.logic.models.WorkflowStatus - """ - - _attribute_map = { - 'status': {'key': 'status', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(WorkflowRunActionFilter, self).__init__(**kwargs) - self.status = kwargs.get('status', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_run_action_filter_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_run_action_filter_py3.py deleted file mode 100644 index 4be8cc72a7ae..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_run_action_filter_py3.py +++ /dev/null @@ -1,31 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class WorkflowRunActionFilter(Model): - """The workflow run action filter. - - :param status: The status of workflow run action. Possible values include: - 'NotSpecified', 'Paused', 'Running', 'Waiting', 'Succeeded', 'Skipped', - 'Suspended', 'Cancelled', 'Failed', 'Faulted', 'TimedOut', 'Aborted', - 'Ignored' - :type status: str or ~azure.mgmt.logic.models.WorkflowStatus - """ - - _attribute_map = { - 'status': {'key': 'status', 'type': 'str'}, - } - - def __init__(self, *, status=None, **kwargs) -> None: - super(WorkflowRunActionFilter, self).__init__(**kwargs) - self.status = status diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_run_action_paged.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_run_action_paged.py deleted file mode 100644 index 4f541f4f2d8e..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_run_action_paged.py +++ /dev/null @@ -1,27 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.paging import Paged - - -class WorkflowRunActionPaged(Paged): - """ - A paging container for iterating over a list of :class:`WorkflowRunAction ` object - """ - - _attribute_map = { - 'next_link': {'key': 'nextLink', 'type': 'str'}, - 'current_page': {'key': 'value', 'type': '[WorkflowRunAction]'} - } - - def __init__(self, *args, **kwargs): - - super(WorkflowRunActionPaged, self).__init__(*args, **kwargs) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_run_action_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_run_action_py3.py deleted file mode 100644 index 55f6f04efd36..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_run_action_py3.py +++ /dev/null @@ -1,99 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from .sub_resource_py3 import SubResource - - -class WorkflowRunAction(SubResource): - """The workflow run action. - - Variables are only populated by the server, and will be ignored when - sending a request. - - :ivar id: The resource id. - :vartype id: str - :ivar start_time: Gets the start time. - :vartype start_time: datetime - :ivar end_time: Gets the end time. - :vartype end_time: datetime - :ivar status: Gets the status. Possible values include: 'NotSpecified', - 'Paused', 'Running', 'Waiting', 'Succeeded', 'Skipped', 'Suspended', - 'Cancelled', 'Failed', 'Faulted', 'TimedOut', 'Aborted', 'Ignored' - :vartype status: str or ~azure.mgmt.logic.models.WorkflowStatus - :ivar code: Gets the code. - :vartype code: str - :ivar error: Gets the error. - :vartype error: object - :ivar tracking_id: Gets the tracking id. - :vartype tracking_id: str - :param correlation: The correlation properties. - :type correlation: ~azure.mgmt.logic.models.Correlation - :ivar inputs_link: Gets the link to inputs. - :vartype inputs_link: ~azure.mgmt.logic.models.ContentLink - :ivar outputs_link: Gets the link to outputs. - :vartype outputs_link: ~azure.mgmt.logic.models.ContentLink - :ivar tracked_properties: Gets the tracked properties. - :vartype tracked_properties: object - :param retry_history: Gets the retry histories. - :type retry_history: list[~azure.mgmt.logic.models.RetryHistory] - :ivar name: Gets the workflow run action name. - :vartype name: str - :ivar type: Gets the workflow run action type. - :vartype type: str - """ - - _validation = { - 'id': {'readonly': True}, - 'start_time': {'readonly': True}, - 'end_time': {'readonly': True}, - 'status': {'readonly': True}, - 'code': {'readonly': True}, - 'error': {'readonly': True}, - 'tracking_id': {'readonly': True}, - 'inputs_link': {'readonly': True}, - 'outputs_link': {'readonly': True}, - 'tracked_properties': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'start_time': {'key': 'properties.startTime', 'type': 'iso-8601'}, - 'end_time': {'key': 'properties.endTime', 'type': 'iso-8601'}, - 'status': {'key': 'properties.status', 'type': 'str'}, - 'code': {'key': 'properties.code', 'type': 'str'}, - 'error': {'key': 'properties.error', 'type': 'object'}, - 'tracking_id': {'key': 'properties.trackingId', 'type': 'str'}, - 'correlation': {'key': 'properties.correlation', 'type': 'Correlation'}, - 'inputs_link': {'key': 'properties.inputsLink', 'type': 'ContentLink'}, - 'outputs_link': {'key': 'properties.outputsLink', 'type': 'ContentLink'}, - 'tracked_properties': {'key': 'properties.trackedProperties', 'type': 'object'}, - 'retry_history': {'key': 'properties.retryHistory', 'type': '[RetryHistory]'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - } - - def __init__(self, *, correlation=None, retry_history=None, **kwargs) -> None: - super(WorkflowRunAction, self).__init__(**kwargs) - self.start_time = None - self.end_time = None - self.status = None - self.code = None - self.error = None - self.tracking_id = None - self.correlation = correlation - self.inputs_link = None - self.outputs_link = None - self.tracked_properties = None - self.retry_history = retry_history - self.name = None - self.type = None diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_run_action_repetition_definition.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_run_action_repetition_definition.py deleted file mode 100644 index 9641f4bf5efd..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_run_action_repetition_definition.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from .resource import Resource - - -class WorkflowRunActionRepetitionDefinition(Resource): - """The workflow run action repetition definition. - - Variables are only populated by the server, and will be ignored when - sending a request. - - :ivar id: The resource id. - :vartype id: str - :ivar name: Gets the resource name. - :vartype name: str - :ivar type: Gets the resource type. - :vartype type: str - :param location: The resource location. - :type location: str - :param tags: The resource tags. - :type tags: dict[str, str] - :param start_time: The start time of the workflow scope repetition. - :type start_time: datetime - :param end_time: The end time of the workflow scope repetition. - :type end_time: datetime - :param correlation: The correlation properties. - :type correlation: ~azure.mgmt.logic.models.RunActionCorrelation - :param status: The status of the workflow scope repetition. Possible - values include: 'NotSpecified', 'Paused', 'Running', 'Waiting', - 'Succeeded', 'Skipped', 'Suspended', 'Cancelled', 'Failed', 'Faulted', - 'TimedOut', 'Aborted', 'Ignored' - :type status: str or ~azure.mgmt.logic.models.WorkflowStatus - :param code: The workflow scope repetition code. - :type code: str - :param error: - :type error: object - :ivar tracking_id: Gets the tracking id. - :vartype tracking_id: str - :ivar inputs: Gets the inputs. - :vartype inputs: object - :ivar inputs_link: Gets the link to inputs. - :vartype inputs_link: ~azure.mgmt.logic.models.ContentLink - :ivar outputs: Gets the outputs. - :vartype outputs: object - :ivar outputs_link: Gets the link to outputs. - :vartype outputs_link: ~azure.mgmt.logic.models.ContentLink - :ivar tracked_properties: Gets the tracked properties. - :vartype tracked_properties: object - :param retry_history: Gets the retry histories. - :type retry_history: list[~azure.mgmt.logic.models.RetryHistory] - :param iteration_count: - :type iteration_count: int - :param repetition_indexes: The repetition indexes. - :type repetition_indexes: list[~azure.mgmt.logic.models.RepetitionIndex] - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'tracking_id': {'readonly': True}, - 'inputs': {'readonly': True}, - 'inputs_link': {'readonly': True}, - 'outputs': {'readonly': True}, - 'outputs_link': {'readonly': True}, - 'tracked_properties': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'location': {'key': 'location', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': '{str}'}, - 'start_time': {'key': 'properties.startTime', 'type': 'iso-8601'}, - 'end_time': {'key': 'properties.endTime', 'type': 'iso-8601'}, - 'correlation': {'key': 'properties.correlation', 'type': 'RunActionCorrelation'}, - 'status': {'key': 'properties.status', 'type': 'str'}, - 'code': {'key': 'properties.code', 'type': 'str'}, - 'error': {'key': 'properties.error', 'type': 'object'}, - 'tracking_id': {'key': 'properties.trackingId', 'type': 'str'}, - 'inputs': {'key': 'properties.inputs', 'type': 'object'}, - 'inputs_link': {'key': 'properties.inputsLink', 'type': 'ContentLink'}, - 'outputs': {'key': 'properties.outputs', 'type': 'object'}, - 'outputs_link': {'key': 'properties.outputsLink', 'type': 'ContentLink'}, - 'tracked_properties': {'key': 'properties.trackedProperties', 'type': 'object'}, - 'retry_history': {'key': 'properties.retryHistory', 'type': '[RetryHistory]'}, - 'iteration_count': {'key': 'properties.iterationCount', 'type': 'int'}, - 'repetition_indexes': {'key': 'properties.repetitionIndexes', 'type': '[RepetitionIndex]'}, - } - - def __init__(self, **kwargs): - super(WorkflowRunActionRepetitionDefinition, self).__init__(**kwargs) - self.start_time = kwargs.get('start_time', None) - self.end_time = kwargs.get('end_time', None) - self.correlation = kwargs.get('correlation', None) - self.status = kwargs.get('status', None) - self.code = kwargs.get('code', None) - self.error = kwargs.get('error', None) - self.tracking_id = None - self.inputs = None - self.inputs_link = None - self.outputs = None - self.outputs_link = None - self.tracked_properties = None - self.retry_history = kwargs.get('retry_history', None) - self.iteration_count = kwargs.get('iteration_count', None) - self.repetition_indexes = kwargs.get('repetition_indexes', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_run_action_repetition_definition_collection.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_run_action_repetition_definition_collection.py deleted file mode 100644 index 2579dd8d91d5..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_run_action_repetition_definition_collection.py +++ /dev/null @@ -1,29 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class WorkflowRunActionRepetitionDefinitionCollection(Model): - """A collection of workflow run action repetitions. - - :param value: - :type value: - list[~azure.mgmt.logic.models.WorkflowRunActionRepetitionDefinition] - """ - - _attribute_map = { - 'value': {'key': 'value', 'type': '[WorkflowRunActionRepetitionDefinition]'}, - } - - def __init__(self, **kwargs): - super(WorkflowRunActionRepetitionDefinitionCollection, self).__init__(**kwargs) - self.value = kwargs.get('value', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_run_action_repetition_definition_collection_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_run_action_repetition_definition_collection_py3.py deleted file mode 100644 index 8e91a4d9e493..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_run_action_repetition_definition_collection_py3.py +++ /dev/null @@ -1,29 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class WorkflowRunActionRepetitionDefinitionCollection(Model): - """A collection of workflow run action repetitions. - - :param value: - :type value: - list[~azure.mgmt.logic.models.WorkflowRunActionRepetitionDefinition] - """ - - _attribute_map = { - 'value': {'key': 'value', 'type': '[WorkflowRunActionRepetitionDefinition]'}, - } - - def __init__(self, *, value=None, **kwargs) -> None: - super(WorkflowRunActionRepetitionDefinitionCollection, self).__init__(**kwargs) - self.value = value diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_run_action_repetition_definition_paged.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_run_action_repetition_definition_paged.py deleted file mode 100644 index edb3bdb62a07..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_run_action_repetition_definition_paged.py +++ /dev/null @@ -1,27 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.paging import Paged - - -class WorkflowRunActionRepetitionDefinitionPaged(Paged): - """ - A paging container for iterating over a list of :class:`WorkflowRunActionRepetitionDefinition ` object - """ - - _attribute_map = { - 'next_link': {'key': 'nextLink', 'type': 'str'}, - 'current_page': {'key': 'value', 'type': '[WorkflowRunActionRepetitionDefinition]'} - } - - def __init__(self, *args, **kwargs): - - super(WorkflowRunActionRepetitionDefinitionPaged, self).__init__(*args, **kwargs) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_run_action_repetition_definition_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_run_action_repetition_definition_py3.py deleted file mode 100644 index 292223cb763a..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_run_action_repetition_definition_py3.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from .resource_py3 import Resource - - -class WorkflowRunActionRepetitionDefinition(Resource): - """The workflow run action repetition definition. - - Variables are only populated by the server, and will be ignored when - sending a request. - - :ivar id: The resource id. - :vartype id: str - :ivar name: Gets the resource name. - :vartype name: str - :ivar type: Gets the resource type. - :vartype type: str - :param location: The resource location. - :type location: str - :param tags: The resource tags. - :type tags: dict[str, str] - :param start_time: The start time of the workflow scope repetition. - :type start_time: datetime - :param end_time: The end time of the workflow scope repetition. - :type end_time: datetime - :param correlation: The correlation properties. - :type correlation: ~azure.mgmt.logic.models.RunActionCorrelation - :param status: The status of the workflow scope repetition. Possible - values include: 'NotSpecified', 'Paused', 'Running', 'Waiting', - 'Succeeded', 'Skipped', 'Suspended', 'Cancelled', 'Failed', 'Faulted', - 'TimedOut', 'Aborted', 'Ignored' - :type status: str or ~azure.mgmt.logic.models.WorkflowStatus - :param code: The workflow scope repetition code. - :type code: str - :param error: - :type error: object - :ivar tracking_id: Gets the tracking id. - :vartype tracking_id: str - :ivar inputs: Gets the inputs. - :vartype inputs: object - :ivar inputs_link: Gets the link to inputs. - :vartype inputs_link: ~azure.mgmt.logic.models.ContentLink - :ivar outputs: Gets the outputs. - :vartype outputs: object - :ivar outputs_link: Gets the link to outputs. - :vartype outputs_link: ~azure.mgmt.logic.models.ContentLink - :ivar tracked_properties: Gets the tracked properties. - :vartype tracked_properties: object - :param retry_history: Gets the retry histories. - :type retry_history: list[~azure.mgmt.logic.models.RetryHistory] - :param iteration_count: - :type iteration_count: int - :param repetition_indexes: The repetition indexes. - :type repetition_indexes: list[~azure.mgmt.logic.models.RepetitionIndex] - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'tracking_id': {'readonly': True}, - 'inputs': {'readonly': True}, - 'inputs_link': {'readonly': True}, - 'outputs': {'readonly': True}, - 'outputs_link': {'readonly': True}, - 'tracked_properties': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'location': {'key': 'location', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': '{str}'}, - 'start_time': {'key': 'properties.startTime', 'type': 'iso-8601'}, - 'end_time': {'key': 'properties.endTime', 'type': 'iso-8601'}, - 'correlation': {'key': 'properties.correlation', 'type': 'RunActionCorrelation'}, - 'status': {'key': 'properties.status', 'type': 'str'}, - 'code': {'key': 'properties.code', 'type': 'str'}, - 'error': {'key': 'properties.error', 'type': 'object'}, - 'tracking_id': {'key': 'properties.trackingId', 'type': 'str'}, - 'inputs': {'key': 'properties.inputs', 'type': 'object'}, - 'inputs_link': {'key': 'properties.inputsLink', 'type': 'ContentLink'}, - 'outputs': {'key': 'properties.outputs', 'type': 'object'}, - 'outputs_link': {'key': 'properties.outputsLink', 'type': 'ContentLink'}, - 'tracked_properties': {'key': 'properties.trackedProperties', 'type': 'object'}, - 'retry_history': {'key': 'properties.retryHistory', 'type': '[RetryHistory]'}, - 'iteration_count': {'key': 'properties.iterationCount', 'type': 'int'}, - 'repetition_indexes': {'key': 'properties.repetitionIndexes', 'type': '[RepetitionIndex]'}, - } - - def __init__(self, *, location: str=None, tags=None, start_time=None, end_time=None, correlation=None, status=None, code: str=None, error=None, retry_history=None, iteration_count: int=None, repetition_indexes=None, **kwargs) -> None: - super(WorkflowRunActionRepetitionDefinition, self).__init__(location=location, tags=tags, **kwargs) - self.start_time = start_time - self.end_time = end_time - self.correlation = correlation - self.status = status - self.code = code - self.error = error - self.tracking_id = None - self.inputs = None - self.inputs_link = None - self.outputs = None - self.outputs_link = None - self.tracked_properties = None - self.retry_history = retry_history - self.iteration_count = iteration_count - self.repetition_indexes = repetition_indexes diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_run_filter.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_run_filter.py deleted file mode 100644 index 0aef8eda5ff0..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_run_filter.py +++ /dev/null @@ -1,31 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class WorkflowRunFilter(Model): - """The workflow run filter. - - :param status: The status of workflow run. Possible values include: - 'NotSpecified', 'Paused', 'Running', 'Waiting', 'Succeeded', 'Skipped', - 'Suspended', 'Cancelled', 'Failed', 'Faulted', 'TimedOut', 'Aborted', - 'Ignored' - :type status: str or ~azure.mgmt.logic.models.WorkflowStatus - """ - - _attribute_map = { - 'status': {'key': 'status', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(WorkflowRunFilter, self).__init__(**kwargs) - self.status = kwargs.get('status', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_run_filter_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_run_filter_py3.py deleted file mode 100644 index b79a254ff7a8..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_run_filter_py3.py +++ /dev/null @@ -1,31 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class WorkflowRunFilter(Model): - """The workflow run filter. - - :param status: The status of workflow run. Possible values include: - 'NotSpecified', 'Paused', 'Running', 'Waiting', 'Succeeded', 'Skipped', - 'Suspended', 'Cancelled', 'Failed', 'Faulted', 'TimedOut', 'Aborted', - 'Ignored' - :type status: str or ~azure.mgmt.logic.models.WorkflowStatus - """ - - _attribute_map = { - 'status': {'key': 'status', 'type': 'str'}, - } - - def __init__(self, *, status=None, **kwargs) -> None: - super(WorkflowRunFilter, self).__init__(**kwargs) - self.status = status diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_run_paged.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_run_paged.py deleted file mode 100644 index 877053124bea..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_run_paged.py +++ /dev/null @@ -1,27 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.paging import Paged - - -class WorkflowRunPaged(Paged): - """ - A paging container for iterating over a list of :class:`WorkflowRun ` object - """ - - _attribute_map = { - 'next_link': {'key': 'nextLink', 'type': 'str'}, - 'current_page': {'key': 'value', 'type': '[WorkflowRun]'} - } - - def __init__(self, *args, **kwargs): - - super(WorkflowRunPaged, self).__init__(*args, **kwargs) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_run_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_run_py3.py deleted file mode 100644 index 25325bb406a0..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_run_py3.py +++ /dev/null @@ -1,106 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from .sub_resource_py3 import SubResource - - -class WorkflowRun(SubResource): - """The workflow run. - - Variables are only populated by the server, and will be ignored when - sending a request. - - :ivar id: The resource id. - :vartype id: str - :ivar wait_end_time: Gets the wait end time. - :vartype wait_end_time: datetime - :ivar start_time: Gets the start time. - :vartype start_time: datetime - :ivar end_time: Gets the end time. - :vartype end_time: datetime - :ivar status: Gets the status. Possible values include: 'NotSpecified', - 'Paused', 'Running', 'Waiting', 'Succeeded', 'Skipped', 'Suspended', - 'Cancelled', 'Failed', 'Faulted', 'TimedOut', 'Aborted', 'Ignored' - :vartype status: str or ~azure.mgmt.logic.models.WorkflowStatus - :ivar code: Gets the code. - :vartype code: str - :ivar error: Gets the error. - :vartype error: object - :ivar correlation_id: Gets the correlation id. - :vartype correlation_id: str - :param correlation: The run correlation. - :type correlation: ~azure.mgmt.logic.models.Correlation - :ivar workflow: Gets the reference to workflow version. - :vartype workflow: ~azure.mgmt.logic.models.ResourceReference - :ivar trigger: Gets the fired trigger. - :vartype trigger: ~azure.mgmt.logic.models.WorkflowRunTrigger - :ivar outputs: Gets the outputs. - :vartype outputs: dict[str, - ~azure.mgmt.logic.models.WorkflowOutputParameter] - :ivar response: Gets the response of the flow run. - :vartype response: ~azure.mgmt.logic.models.WorkflowRunTrigger - :ivar name: Gets the workflow run name. - :vartype name: str - :ivar type: Gets the workflow run type. - :vartype type: str - """ - - _validation = { - 'id': {'readonly': True}, - 'wait_end_time': {'readonly': True}, - 'start_time': {'readonly': True}, - 'end_time': {'readonly': True}, - 'status': {'readonly': True}, - 'code': {'readonly': True}, - 'error': {'readonly': True}, - 'correlation_id': {'readonly': True}, - 'workflow': {'readonly': True}, - 'trigger': {'readonly': True}, - 'outputs': {'readonly': True}, - 'response': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'wait_end_time': {'key': 'properties.waitEndTime', 'type': 'iso-8601'}, - 'start_time': {'key': 'properties.startTime', 'type': 'iso-8601'}, - 'end_time': {'key': 'properties.endTime', 'type': 'iso-8601'}, - 'status': {'key': 'properties.status', 'type': 'str'}, - 'code': {'key': 'properties.code', 'type': 'str'}, - 'error': {'key': 'properties.error', 'type': 'object'}, - 'correlation_id': {'key': 'properties.correlationId', 'type': 'str'}, - 'correlation': {'key': 'properties.correlation', 'type': 'Correlation'}, - 'workflow': {'key': 'properties.workflow', 'type': 'ResourceReference'}, - 'trigger': {'key': 'properties.trigger', 'type': 'WorkflowRunTrigger'}, - 'outputs': {'key': 'properties.outputs', 'type': '{WorkflowOutputParameter}'}, - 'response': {'key': 'properties.response', 'type': 'WorkflowRunTrigger'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - } - - def __init__(self, *, correlation=None, **kwargs) -> None: - super(WorkflowRun, self).__init__(**kwargs) - self.wait_end_time = None - self.start_time = None - self.end_time = None - self.status = None - self.code = None - self.error = None - self.correlation_id = None - self.correlation = correlation - self.workflow = None - self.trigger = None - self.outputs = None - self.response = None - self.name = None - self.type = None diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_run_trigger.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_run_trigger.py deleted file mode 100644 index 5d72f0d0377c..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_run_trigger.py +++ /dev/null @@ -1,101 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class WorkflowRunTrigger(Model): - """The workflow run trigger. - - Variables are only populated by the server, and will be ignored when - sending a request. - - :ivar name: Gets the name. - :vartype name: str - :ivar inputs: Gets the inputs. - :vartype inputs: object - :ivar inputs_link: Gets the link to inputs. - :vartype inputs_link: ~azure.mgmt.logic.models.ContentLink - :ivar outputs: Gets the outputs. - :vartype outputs: object - :ivar outputs_link: Gets the link to outputs. - :vartype outputs_link: ~azure.mgmt.logic.models.ContentLink - :ivar scheduled_time: Gets the scheduled time. - :vartype scheduled_time: datetime - :ivar start_time: Gets the start time. - :vartype start_time: datetime - :ivar end_time: Gets the end time. - :vartype end_time: datetime - :ivar tracking_id: Gets the tracking id. - :vartype tracking_id: str - :param correlation: The run correlation. - :type correlation: ~azure.mgmt.logic.models.Correlation - :ivar code: Gets the code. - :vartype code: str - :ivar status: Gets the status. Possible values include: 'NotSpecified', - 'Paused', 'Running', 'Waiting', 'Succeeded', 'Skipped', 'Suspended', - 'Cancelled', 'Failed', 'Faulted', 'TimedOut', 'Aborted', 'Ignored' - :vartype status: str or ~azure.mgmt.logic.models.WorkflowStatus - :ivar error: Gets the error. - :vartype error: object - :ivar tracked_properties: Gets the tracked properties. - :vartype tracked_properties: object - """ - - _validation = { - 'name': {'readonly': True}, - 'inputs': {'readonly': True}, - 'inputs_link': {'readonly': True}, - 'outputs': {'readonly': True}, - 'outputs_link': {'readonly': True}, - 'scheduled_time': {'readonly': True}, - 'start_time': {'readonly': True}, - 'end_time': {'readonly': True}, - 'tracking_id': {'readonly': True}, - 'code': {'readonly': True}, - 'status': {'readonly': True}, - 'error': {'readonly': True}, - 'tracked_properties': {'readonly': True}, - } - - _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - 'inputs': {'key': 'inputs', 'type': 'object'}, - 'inputs_link': {'key': 'inputsLink', 'type': 'ContentLink'}, - 'outputs': {'key': 'outputs', 'type': 'object'}, - 'outputs_link': {'key': 'outputsLink', 'type': 'ContentLink'}, - 'scheduled_time': {'key': 'scheduledTime', 'type': 'iso-8601'}, - 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, - 'end_time': {'key': 'endTime', 'type': 'iso-8601'}, - 'tracking_id': {'key': 'trackingId', 'type': 'str'}, - 'correlation': {'key': 'correlation', 'type': 'Correlation'}, - 'code': {'key': 'code', 'type': 'str'}, - 'status': {'key': 'status', 'type': 'str'}, - 'error': {'key': 'error', 'type': 'object'}, - 'tracked_properties': {'key': 'trackedProperties', 'type': 'object'}, - } - - def __init__(self, **kwargs): - super(WorkflowRunTrigger, self).__init__(**kwargs) - self.name = None - self.inputs = None - self.inputs_link = None - self.outputs = None - self.outputs_link = None - self.scheduled_time = None - self.start_time = None - self.end_time = None - self.tracking_id = None - self.correlation = kwargs.get('correlation', None) - self.code = None - self.status = None - self.error = None - self.tracked_properties = None diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_run_trigger_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_run_trigger_py3.py deleted file mode 100644 index 2e6c960a2317..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_run_trigger_py3.py +++ /dev/null @@ -1,101 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class WorkflowRunTrigger(Model): - """The workflow run trigger. - - Variables are only populated by the server, and will be ignored when - sending a request. - - :ivar name: Gets the name. - :vartype name: str - :ivar inputs: Gets the inputs. - :vartype inputs: object - :ivar inputs_link: Gets the link to inputs. - :vartype inputs_link: ~azure.mgmt.logic.models.ContentLink - :ivar outputs: Gets the outputs. - :vartype outputs: object - :ivar outputs_link: Gets the link to outputs. - :vartype outputs_link: ~azure.mgmt.logic.models.ContentLink - :ivar scheduled_time: Gets the scheduled time. - :vartype scheduled_time: datetime - :ivar start_time: Gets the start time. - :vartype start_time: datetime - :ivar end_time: Gets the end time. - :vartype end_time: datetime - :ivar tracking_id: Gets the tracking id. - :vartype tracking_id: str - :param correlation: The run correlation. - :type correlation: ~azure.mgmt.logic.models.Correlation - :ivar code: Gets the code. - :vartype code: str - :ivar status: Gets the status. Possible values include: 'NotSpecified', - 'Paused', 'Running', 'Waiting', 'Succeeded', 'Skipped', 'Suspended', - 'Cancelled', 'Failed', 'Faulted', 'TimedOut', 'Aborted', 'Ignored' - :vartype status: str or ~azure.mgmt.logic.models.WorkflowStatus - :ivar error: Gets the error. - :vartype error: object - :ivar tracked_properties: Gets the tracked properties. - :vartype tracked_properties: object - """ - - _validation = { - 'name': {'readonly': True}, - 'inputs': {'readonly': True}, - 'inputs_link': {'readonly': True}, - 'outputs': {'readonly': True}, - 'outputs_link': {'readonly': True}, - 'scheduled_time': {'readonly': True}, - 'start_time': {'readonly': True}, - 'end_time': {'readonly': True}, - 'tracking_id': {'readonly': True}, - 'code': {'readonly': True}, - 'status': {'readonly': True}, - 'error': {'readonly': True}, - 'tracked_properties': {'readonly': True}, - } - - _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - 'inputs': {'key': 'inputs', 'type': 'object'}, - 'inputs_link': {'key': 'inputsLink', 'type': 'ContentLink'}, - 'outputs': {'key': 'outputs', 'type': 'object'}, - 'outputs_link': {'key': 'outputsLink', 'type': 'ContentLink'}, - 'scheduled_time': {'key': 'scheduledTime', 'type': 'iso-8601'}, - 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, - 'end_time': {'key': 'endTime', 'type': 'iso-8601'}, - 'tracking_id': {'key': 'trackingId', 'type': 'str'}, - 'correlation': {'key': 'correlation', 'type': 'Correlation'}, - 'code': {'key': 'code', 'type': 'str'}, - 'status': {'key': 'status', 'type': 'str'}, - 'error': {'key': 'error', 'type': 'object'}, - 'tracked_properties': {'key': 'trackedProperties', 'type': 'object'}, - } - - def __init__(self, *, correlation=None, **kwargs) -> None: - super(WorkflowRunTrigger, self).__init__(**kwargs) - self.name = None - self.inputs = None - self.inputs_link = None - self.outputs = None - self.outputs_link = None - self.scheduled_time = None - self.start_time = None - self.end_time = None - self.tracking_id = None - self.correlation = correlation - self.code = None - self.status = None - self.error = None - self.tracked_properties = None diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_trigger.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_trigger.py deleted file mode 100644 index 830aac41563e..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_trigger.py +++ /dev/null @@ -1,97 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from .sub_resource import SubResource - - -class WorkflowTrigger(SubResource): - """The workflow trigger. - - Variables are only populated by the server, and will be ignored when - sending a request. - - :ivar id: The resource id. - :vartype id: str - :ivar provisioning_state: Gets the provisioning state. Possible values - include: 'NotSpecified', 'Accepted', 'Running', 'Ready', 'Creating', - 'Created', 'Deleting', 'Deleted', 'Canceled', 'Failed', 'Succeeded', - 'Moving', 'Updating', 'Registering', 'Registered', 'Unregistering', - 'Unregistered', 'Completed' - :vartype provisioning_state: str or - ~azure.mgmt.logic.models.WorkflowTriggerProvisioningState - :ivar created_time: Gets the created time. - :vartype created_time: datetime - :ivar changed_time: Gets the changed time. - :vartype changed_time: datetime - :ivar state: Gets the state. Possible values include: 'NotSpecified', - 'Completed', 'Enabled', 'Disabled', 'Deleted', 'Suspended' - :vartype state: str or ~azure.mgmt.logic.models.WorkflowState - :ivar status: Gets the status. Possible values include: 'NotSpecified', - 'Paused', 'Running', 'Waiting', 'Succeeded', 'Skipped', 'Suspended', - 'Cancelled', 'Failed', 'Faulted', 'TimedOut', 'Aborted', 'Ignored' - :vartype status: str or ~azure.mgmt.logic.models.WorkflowStatus - :ivar last_execution_time: Gets the last execution time. - :vartype last_execution_time: datetime - :ivar next_execution_time: Gets the next execution time. - :vartype next_execution_time: datetime - :ivar recurrence: Gets the workflow trigger recurrence. - :vartype recurrence: ~azure.mgmt.logic.models.WorkflowTriggerRecurrence - :ivar workflow: Gets the reference to workflow. - :vartype workflow: ~azure.mgmt.logic.models.ResourceReference - :ivar name: Gets the workflow trigger name. - :vartype name: str - :ivar type: Gets the workflow trigger type. - :vartype type: str - """ - - _validation = { - 'id': {'readonly': True}, - 'provisioning_state': {'readonly': True}, - 'created_time': {'readonly': True}, - 'changed_time': {'readonly': True}, - 'state': {'readonly': True}, - 'status': {'readonly': True}, - 'last_execution_time': {'readonly': True}, - 'next_execution_time': {'readonly': True}, - 'recurrence': {'readonly': True}, - 'workflow': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, - 'created_time': {'key': 'properties.createdTime', 'type': 'iso-8601'}, - 'changed_time': {'key': 'properties.changedTime', 'type': 'iso-8601'}, - 'state': {'key': 'properties.state', 'type': 'str'}, - 'status': {'key': 'properties.status', 'type': 'str'}, - 'last_execution_time': {'key': 'properties.lastExecutionTime', 'type': 'iso-8601'}, - 'next_execution_time': {'key': 'properties.nextExecutionTime', 'type': 'iso-8601'}, - 'recurrence': {'key': 'properties.recurrence', 'type': 'WorkflowTriggerRecurrence'}, - 'workflow': {'key': 'properties.workflow', 'type': 'ResourceReference'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(WorkflowTrigger, self).__init__(**kwargs) - self.provisioning_state = None - self.created_time = None - self.changed_time = None - self.state = None - self.status = None - self.last_execution_time = None - self.next_execution_time = None - self.recurrence = None - self.workflow = None - self.name = None - self.type = None diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_trigger_callback_url.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_trigger_callback_url.py deleted file mode 100644 index 77e7b4cdc13e..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_trigger_callback_url.py +++ /dev/null @@ -1,60 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class WorkflowTriggerCallbackUrl(Model): - """The workflow trigger callback URL. - - Variables are only populated by the server, and will be ignored when - sending a request. - - :ivar value: Gets the workflow trigger callback URL. - :vartype value: str - :ivar method: Gets the workflow trigger callback URL HTTP method. - :vartype method: str - :ivar base_path: Gets the workflow trigger callback URL base path. - :vartype base_path: str - :ivar relative_path: Gets the workflow trigger callback URL relative path. - :vartype relative_path: str - :param relative_path_parameters: Gets the workflow trigger callback URL - relative path parameters. - :type relative_path_parameters: list[str] - :param queries: Gets the workflow trigger callback URL query parameters. - :type queries: - ~azure.mgmt.logic.models.WorkflowTriggerListCallbackUrlQueries - """ - - _validation = { - 'value': {'readonly': True}, - 'method': {'readonly': True}, - 'base_path': {'readonly': True}, - 'relative_path': {'readonly': True}, - } - - _attribute_map = { - 'value': {'key': 'value', 'type': 'str'}, - 'method': {'key': 'method', 'type': 'str'}, - 'base_path': {'key': 'basePath', 'type': 'str'}, - 'relative_path': {'key': 'relativePath', 'type': 'str'}, - 'relative_path_parameters': {'key': 'relativePathParameters', 'type': '[str]'}, - 'queries': {'key': 'queries', 'type': 'WorkflowTriggerListCallbackUrlQueries'}, - } - - def __init__(self, **kwargs): - super(WorkflowTriggerCallbackUrl, self).__init__(**kwargs) - self.value = None - self.method = None - self.base_path = None - self.relative_path = None - self.relative_path_parameters = kwargs.get('relative_path_parameters', None) - self.queries = kwargs.get('queries', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_trigger_callback_url_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_trigger_callback_url_py3.py deleted file mode 100644 index 99f6c9c7f080..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_trigger_callback_url_py3.py +++ /dev/null @@ -1,60 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class WorkflowTriggerCallbackUrl(Model): - """The workflow trigger callback URL. - - Variables are only populated by the server, and will be ignored when - sending a request. - - :ivar value: Gets the workflow trigger callback URL. - :vartype value: str - :ivar method: Gets the workflow trigger callback URL HTTP method. - :vartype method: str - :ivar base_path: Gets the workflow trigger callback URL base path. - :vartype base_path: str - :ivar relative_path: Gets the workflow trigger callback URL relative path. - :vartype relative_path: str - :param relative_path_parameters: Gets the workflow trigger callback URL - relative path parameters. - :type relative_path_parameters: list[str] - :param queries: Gets the workflow trigger callback URL query parameters. - :type queries: - ~azure.mgmt.logic.models.WorkflowTriggerListCallbackUrlQueries - """ - - _validation = { - 'value': {'readonly': True}, - 'method': {'readonly': True}, - 'base_path': {'readonly': True}, - 'relative_path': {'readonly': True}, - } - - _attribute_map = { - 'value': {'key': 'value', 'type': 'str'}, - 'method': {'key': 'method', 'type': 'str'}, - 'base_path': {'key': 'basePath', 'type': 'str'}, - 'relative_path': {'key': 'relativePath', 'type': 'str'}, - 'relative_path_parameters': {'key': 'relativePathParameters', 'type': '[str]'}, - 'queries': {'key': 'queries', 'type': 'WorkflowTriggerListCallbackUrlQueries'}, - } - - def __init__(self, *, relative_path_parameters=None, queries=None, **kwargs) -> None: - super(WorkflowTriggerCallbackUrl, self).__init__(**kwargs) - self.value = None - self.method = None - self.base_path = None - self.relative_path = None - self.relative_path_parameters = relative_path_parameters - self.queries = queries diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_trigger_filter.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_trigger_filter.py deleted file mode 100644 index b0236b37e19b..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_trigger_filter.py +++ /dev/null @@ -1,29 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class WorkflowTriggerFilter(Model): - """The workflow trigger filter. - - :param state: The state of workflow trigger. Possible values include: - 'NotSpecified', 'Completed', 'Enabled', 'Disabled', 'Deleted', 'Suspended' - :type state: str or ~azure.mgmt.logic.models.WorkflowState - """ - - _attribute_map = { - 'state': {'key': 'state', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(WorkflowTriggerFilter, self).__init__(**kwargs) - self.state = kwargs.get('state', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_trigger_filter_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_trigger_filter_py3.py deleted file mode 100644 index 9948517c3183..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_trigger_filter_py3.py +++ /dev/null @@ -1,29 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class WorkflowTriggerFilter(Model): - """The workflow trigger filter. - - :param state: The state of workflow trigger. Possible values include: - 'NotSpecified', 'Completed', 'Enabled', 'Disabled', 'Deleted', 'Suspended' - :type state: str or ~azure.mgmt.logic.models.WorkflowState - """ - - _attribute_map = { - 'state': {'key': 'state', 'type': 'str'}, - } - - def __init__(self, *, state=None, **kwargs) -> None: - super(WorkflowTriggerFilter, self).__init__(**kwargs) - self.state = state diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_trigger_history.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_trigger_history.py deleted file mode 100644 index 5e69498a6711..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_trigger_history.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from .sub_resource import SubResource - - -class WorkflowTriggerHistory(SubResource): - """The workflow trigger history. - - Variables are only populated by the server, and will be ignored when - sending a request. - - :ivar id: The resource id. - :vartype id: str - :ivar start_time: Gets the start time. - :vartype start_time: datetime - :ivar end_time: Gets the end time. - :vartype end_time: datetime - :ivar status: Gets the status. Possible values include: 'NotSpecified', - 'Paused', 'Running', 'Waiting', 'Succeeded', 'Skipped', 'Suspended', - 'Cancelled', 'Failed', 'Faulted', 'TimedOut', 'Aborted', 'Ignored' - :vartype status: str or ~azure.mgmt.logic.models.WorkflowStatus - :ivar code: Gets the code. - :vartype code: str - :ivar error: Gets the error. - :vartype error: object - :ivar tracking_id: Gets the tracking id. - :vartype tracking_id: str - :param correlation: The run correlation. - :type correlation: ~azure.mgmt.logic.models.Correlation - :ivar inputs_link: Gets the link to input parameters. - :vartype inputs_link: ~azure.mgmt.logic.models.ContentLink - :ivar outputs_link: Gets the link to output parameters. - :vartype outputs_link: ~azure.mgmt.logic.models.ContentLink - :ivar fired: Gets a value indicating whether trigger was fired. - :vartype fired: bool - :ivar run: Gets the reference to workflow run. - :vartype run: ~azure.mgmt.logic.models.ResourceReference - :ivar name: Gets the workflow trigger history name. - :vartype name: str - :ivar type: Gets the workflow trigger history type. - :vartype type: str - """ - - _validation = { - 'id': {'readonly': True}, - 'start_time': {'readonly': True}, - 'end_time': {'readonly': True}, - 'status': {'readonly': True}, - 'code': {'readonly': True}, - 'error': {'readonly': True}, - 'tracking_id': {'readonly': True}, - 'inputs_link': {'readonly': True}, - 'outputs_link': {'readonly': True}, - 'fired': {'readonly': True}, - 'run': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'start_time': {'key': 'properties.startTime', 'type': 'iso-8601'}, - 'end_time': {'key': 'properties.endTime', 'type': 'iso-8601'}, - 'status': {'key': 'properties.status', 'type': 'str'}, - 'code': {'key': 'properties.code', 'type': 'str'}, - 'error': {'key': 'properties.error', 'type': 'object'}, - 'tracking_id': {'key': 'properties.trackingId', 'type': 'str'}, - 'correlation': {'key': 'properties.correlation', 'type': 'Correlation'}, - 'inputs_link': {'key': 'properties.inputsLink', 'type': 'ContentLink'}, - 'outputs_link': {'key': 'properties.outputsLink', 'type': 'ContentLink'}, - 'fired': {'key': 'properties.fired', 'type': 'bool'}, - 'run': {'key': 'properties.run', 'type': 'ResourceReference'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(WorkflowTriggerHistory, self).__init__(**kwargs) - self.start_time = None - self.end_time = None - self.status = None - self.code = None - self.error = None - self.tracking_id = None - self.correlation = kwargs.get('correlation', None) - self.inputs_link = None - self.outputs_link = None - self.fired = None - self.run = None - self.name = None - self.type = None diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_trigger_history_filter.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_trigger_history_filter.py deleted file mode 100644 index 0445f68dd948..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_trigger_history_filter.py +++ /dev/null @@ -1,31 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class WorkflowTriggerHistoryFilter(Model): - """The workflow trigger history filter. - - :param status: The status of workflow trigger history. Possible values - include: 'NotSpecified', 'Paused', 'Running', 'Waiting', 'Succeeded', - 'Skipped', 'Suspended', 'Cancelled', 'Failed', 'Faulted', 'TimedOut', - 'Aborted', 'Ignored' - :type status: str or ~azure.mgmt.logic.models.WorkflowStatus - """ - - _attribute_map = { - 'status': {'key': 'status', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(WorkflowTriggerHistoryFilter, self).__init__(**kwargs) - self.status = kwargs.get('status', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_trigger_history_filter_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_trigger_history_filter_py3.py deleted file mode 100644 index 1159f3f1d618..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_trigger_history_filter_py3.py +++ /dev/null @@ -1,31 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class WorkflowTriggerHistoryFilter(Model): - """The workflow trigger history filter. - - :param status: The status of workflow trigger history. Possible values - include: 'NotSpecified', 'Paused', 'Running', 'Waiting', 'Succeeded', - 'Skipped', 'Suspended', 'Cancelled', 'Failed', 'Faulted', 'TimedOut', - 'Aborted', 'Ignored' - :type status: str or ~azure.mgmt.logic.models.WorkflowStatus - """ - - _attribute_map = { - 'status': {'key': 'status', 'type': 'str'}, - } - - def __init__(self, *, status=None, **kwargs) -> None: - super(WorkflowTriggerHistoryFilter, self).__init__(**kwargs) - self.status = status diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_trigger_history_paged.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_trigger_history_paged.py deleted file mode 100644 index 87124d3bd7f6..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_trigger_history_paged.py +++ /dev/null @@ -1,27 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.paging import Paged - - -class WorkflowTriggerHistoryPaged(Paged): - """ - A paging container for iterating over a list of :class:`WorkflowTriggerHistory ` object - """ - - _attribute_map = { - 'next_link': {'key': 'nextLink', 'type': 'str'}, - 'current_page': {'key': 'value', 'type': '[WorkflowTriggerHistory]'} - } - - def __init__(self, *args, **kwargs): - - super(WorkflowTriggerHistoryPaged, self).__init__(*args, **kwargs) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_trigger_history_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_trigger_history_py3.py deleted file mode 100644 index 60b7bc386d0a..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_trigger_history_py3.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from .sub_resource_py3 import SubResource - - -class WorkflowTriggerHistory(SubResource): - """The workflow trigger history. - - Variables are only populated by the server, and will be ignored when - sending a request. - - :ivar id: The resource id. - :vartype id: str - :ivar start_time: Gets the start time. - :vartype start_time: datetime - :ivar end_time: Gets the end time. - :vartype end_time: datetime - :ivar status: Gets the status. Possible values include: 'NotSpecified', - 'Paused', 'Running', 'Waiting', 'Succeeded', 'Skipped', 'Suspended', - 'Cancelled', 'Failed', 'Faulted', 'TimedOut', 'Aborted', 'Ignored' - :vartype status: str or ~azure.mgmt.logic.models.WorkflowStatus - :ivar code: Gets the code. - :vartype code: str - :ivar error: Gets the error. - :vartype error: object - :ivar tracking_id: Gets the tracking id. - :vartype tracking_id: str - :param correlation: The run correlation. - :type correlation: ~azure.mgmt.logic.models.Correlation - :ivar inputs_link: Gets the link to input parameters. - :vartype inputs_link: ~azure.mgmt.logic.models.ContentLink - :ivar outputs_link: Gets the link to output parameters. - :vartype outputs_link: ~azure.mgmt.logic.models.ContentLink - :ivar fired: Gets a value indicating whether trigger was fired. - :vartype fired: bool - :ivar run: Gets the reference to workflow run. - :vartype run: ~azure.mgmt.logic.models.ResourceReference - :ivar name: Gets the workflow trigger history name. - :vartype name: str - :ivar type: Gets the workflow trigger history type. - :vartype type: str - """ - - _validation = { - 'id': {'readonly': True}, - 'start_time': {'readonly': True}, - 'end_time': {'readonly': True}, - 'status': {'readonly': True}, - 'code': {'readonly': True}, - 'error': {'readonly': True}, - 'tracking_id': {'readonly': True}, - 'inputs_link': {'readonly': True}, - 'outputs_link': {'readonly': True}, - 'fired': {'readonly': True}, - 'run': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'start_time': {'key': 'properties.startTime', 'type': 'iso-8601'}, - 'end_time': {'key': 'properties.endTime', 'type': 'iso-8601'}, - 'status': {'key': 'properties.status', 'type': 'str'}, - 'code': {'key': 'properties.code', 'type': 'str'}, - 'error': {'key': 'properties.error', 'type': 'object'}, - 'tracking_id': {'key': 'properties.trackingId', 'type': 'str'}, - 'correlation': {'key': 'properties.correlation', 'type': 'Correlation'}, - 'inputs_link': {'key': 'properties.inputsLink', 'type': 'ContentLink'}, - 'outputs_link': {'key': 'properties.outputsLink', 'type': 'ContentLink'}, - 'fired': {'key': 'properties.fired', 'type': 'bool'}, - 'run': {'key': 'properties.run', 'type': 'ResourceReference'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - } - - def __init__(self, *, correlation=None, **kwargs) -> None: - super(WorkflowTriggerHistory, self).__init__(**kwargs) - self.start_time = None - self.end_time = None - self.status = None - self.code = None - self.error = None - self.tracking_id = None - self.correlation = correlation - self.inputs_link = None - self.outputs_link = None - self.fired = None - self.run = None - self.name = None - self.type = None diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_trigger_list_callback_url_queries.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_trigger_list_callback_url_queries.py deleted file mode 100644 index 99ed8eac51b9..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_trigger_list_callback_url_queries.py +++ /dev/null @@ -1,44 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class WorkflowTriggerListCallbackUrlQueries(Model): - """Gets the workflow trigger callback URL query parameters. - - :param api_version: The api version. - :type api_version: str - :param sp: The SAS permissions. - :type sp: str - :param sv: The SAS version. - :type sv: str - :param sig: The SAS signature. - :type sig: str - :param se: The SAS timestamp. - :type se: str - """ - - _attribute_map = { - 'api_version': {'key': 'api-version', 'type': 'str'}, - 'sp': {'key': 'sp', 'type': 'str'}, - 'sv': {'key': 'sv', 'type': 'str'}, - 'sig': {'key': 'sig', 'type': 'str'}, - 'se': {'key': 'se', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(WorkflowTriggerListCallbackUrlQueries, self).__init__(**kwargs) - self.api_version = kwargs.get('api_version', None) - self.sp = kwargs.get('sp', None) - self.sv = kwargs.get('sv', None) - self.sig = kwargs.get('sig', None) - self.se = kwargs.get('se', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_trigger_list_callback_url_queries_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_trigger_list_callback_url_queries_py3.py deleted file mode 100644 index e87101e2da19..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_trigger_list_callback_url_queries_py3.py +++ /dev/null @@ -1,44 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class WorkflowTriggerListCallbackUrlQueries(Model): - """Gets the workflow trigger callback URL query parameters. - - :param api_version: The api version. - :type api_version: str - :param sp: The SAS permissions. - :type sp: str - :param sv: The SAS version. - :type sv: str - :param sig: The SAS signature. - :type sig: str - :param se: The SAS timestamp. - :type se: str - """ - - _attribute_map = { - 'api_version': {'key': 'api-version', 'type': 'str'}, - 'sp': {'key': 'sp', 'type': 'str'}, - 'sv': {'key': 'sv', 'type': 'str'}, - 'sig': {'key': 'sig', 'type': 'str'}, - 'se': {'key': 'se', 'type': 'str'}, - } - - def __init__(self, *, api_version: str=None, sp: str=None, sv: str=None, sig: str=None, se: str=None, **kwargs) -> None: - super(WorkflowTriggerListCallbackUrlQueries, self).__init__(**kwargs) - self.api_version = api_version - self.sp = sp - self.sv = sv - self.sig = sig - self.se = se diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_trigger_paged.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_trigger_paged.py deleted file mode 100644 index b433baa67e6e..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_trigger_paged.py +++ /dev/null @@ -1,27 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.paging import Paged - - -class WorkflowTriggerPaged(Paged): - """ - A paging container for iterating over a list of :class:`WorkflowTrigger ` object - """ - - _attribute_map = { - 'next_link': {'key': 'nextLink', 'type': 'str'}, - 'current_page': {'key': 'value', 'type': '[WorkflowTrigger]'} - } - - def __init__(self, *args, **kwargs): - - super(WorkflowTriggerPaged, self).__init__(*args, **kwargs) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_trigger_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_trigger_py3.py deleted file mode 100644 index ee0caecb66a2..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_trigger_py3.py +++ /dev/null @@ -1,97 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from .sub_resource_py3 import SubResource - - -class WorkflowTrigger(SubResource): - """The workflow trigger. - - Variables are only populated by the server, and will be ignored when - sending a request. - - :ivar id: The resource id. - :vartype id: str - :ivar provisioning_state: Gets the provisioning state. Possible values - include: 'NotSpecified', 'Accepted', 'Running', 'Ready', 'Creating', - 'Created', 'Deleting', 'Deleted', 'Canceled', 'Failed', 'Succeeded', - 'Moving', 'Updating', 'Registering', 'Registered', 'Unregistering', - 'Unregistered', 'Completed' - :vartype provisioning_state: str or - ~azure.mgmt.logic.models.WorkflowTriggerProvisioningState - :ivar created_time: Gets the created time. - :vartype created_time: datetime - :ivar changed_time: Gets the changed time. - :vartype changed_time: datetime - :ivar state: Gets the state. Possible values include: 'NotSpecified', - 'Completed', 'Enabled', 'Disabled', 'Deleted', 'Suspended' - :vartype state: str or ~azure.mgmt.logic.models.WorkflowState - :ivar status: Gets the status. Possible values include: 'NotSpecified', - 'Paused', 'Running', 'Waiting', 'Succeeded', 'Skipped', 'Suspended', - 'Cancelled', 'Failed', 'Faulted', 'TimedOut', 'Aborted', 'Ignored' - :vartype status: str or ~azure.mgmt.logic.models.WorkflowStatus - :ivar last_execution_time: Gets the last execution time. - :vartype last_execution_time: datetime - :ivar next_execution_time: Gets the next execution time. - :vartype next_execution_time: datetime - :ivar recurrence: Gets the workflow trigger recurrence. - :vartype recurrence: ~azure.mgmt.logic.models.WorkflowTriggerRecurrence - :ivar workflow: Gets the reference to workflow. - :vartype workflow: ~azure.mgmt.logic.models.ResourceReference - :ivar name: Gets the workflow trigger name. - :vartype name: str - :ivar type: Gets the workflow trigger type. - :vartype type: str - """ - - _validation = { - 'id': {'readonly': True}, - 'provisioning_state': {'readonly': True}, - 'created_time': {'readonly': True}, - 'changed_time': {'readonly': True}, - 'state': {'readonly': True}, - 'status': {'readonly': True}, - 'last_execution_time': {'readonly': True}, - 'next_execution_time': {'readonly': True}, - 'recurrence': {'readonly': True}, - 'workflow': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, - 'created_time': {'key': 'properties.createdTime', 'type': 'iso-8601'}, - 'changed_time': {'key': 'properties.changedTime', 'type': 'iso-8601'}, - 'state': {'key': 'properties.state', 'type': 'str'}, - 'status': {'key': 'properties.status', 'type': 'str'}, - 'last_execution_time': {'key': 'properties.lastExecutionTime', 'type': 'iso-8601'}, - 'next_execution_time': {'key': 'properties.nextExecutionTime', 'type': 'iso-8601'}, - 'recurrence': {'key': 'properties.recurrence', 'type': 'WorkflowTriggerRecurrence'}, - 'workflow': {'key': 'properties.workflow', 'type': 'ResourceReference'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - } - - def __init__(self, **kwargs) -> None: - super(WorkflowTrigger, self).__init__(**kwargs) - self.provisioning_state = None - self.created_time = None - self.changed_time = None - self.state = None - self.status = None - self.last_execution_time = None - self.next_execution_time = None - self.recurrence = None - self.workflow = None - self.name = None - self.type = None diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_trigger_recurrence.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_trigger_recurrence.py deleted file mode 100644 index cb1b56e5f228..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_trigger_recurrence.py +++ /dev/null @@ -1,49 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class WorkflowTriggerRecurrence(Model): - """The workflow trigger recurrence. - - :param frequency: The frequency. Possible values include: 'NotSpecified', - 'Second', 'Minute', 'Hour', 'Day', 'Week', 'Month', 'Year' - :type frequency: str or ~azure.mgmt.logic.models.RecurrenceFrequency - :param interval: The interval. - :type interval: int - :param start_time: The start time. - :type start_time: str - :param end_time: The end time. - :type end_time: str - :param time_zone: The time zone. - :type time_zone: str - :param schedule: The recurrence schedule. - :type schedule: ~azure.mgmt.logic.models.RecurrenceSchedule - """ - - _attribute_map = { - 'frequency': {'key': 'frequency', 'type': 'str'}, - 'interval': {'key': 'interval', 'type': 'int'}, - 'start_time': {'key': 'startTime', 'type': 'str'}, - 'end_time': {'key': 'endTime', 'type': 'str'}, - 'time_zone': {'key': 'timeZone', 'type': 'str'}, - 'schedule': {'key': 'schedule', 'type': 'RecurrenceSchedule'}, - } - - def __init__(self, **kwargs): - super(WorkflowTriggerRecurrence, self).__init__(**kwargs) - self.frequency = kwargs.get('frequency', None) - self.interval = kwargs.get('interval', None) - self.start_time = kwargs.get('start_time', None) - self.end_time = kwargs.get('end_time', None) - self.time_zone = kwargs.get('time_zone', None) - self.schedule = kwargs.get('schedule', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_trigger_recurrence_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_trigger_recurrence_py3.py deleted file mode 100644 index e50675b5db36..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_trigger_recurrence_py3.py +++ /dev/null @@ -1,49 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class WorkflowTriggerRecurrence(Model): - """The workflow trigger recurrence. - - :param frequency: The frequency. Possible values include: 'NotSpecified', - 'Second', 'Minute', 'Hour', 'Day', 'Week', 'Month', 'Year' - :type frequency: str or ~azure.mgmt.logic.models.RecurrenceFrequency - :param interval: The interval. - :type interval: int - :param start_time: The start time. - :type start_time: str - :param end_time: The end time. - :type end_time: str - :param time_zone: The time zone. - :type time_zone: str - :param schedule: The recurrence schedule. - :type schedule: ~azure.mgmt.logic.models.RecurrenceSchedule - """ - - _attribute_map = { - 'frequency': {'key': 'frequency', 'type': 'str'}, - 'interval': {'key': 'interval', 'type': 'int'}, - 'start_time': {'key': 'startTime', 'type': 'str'}, - 'end_time': {'key': 'endTime', 'type': 'str'}, - 'time_zone': {'key': 'timeZone', 'type': 'str'}, - 'schedule': {'key': 'schedule', 'type': 'RecurrenceSchedule'}, - } - - def __init__(self, *, frequency=None, interval: int=None, start_time: str=None, end_time: str=None, time_zone: str=None, schedule=None, **kwargs) -> None: - super(WorkflowTriggerRecurrence, self).__init__(**kwargs) - self.frequency = frequency - self.interval = interval - self.start_time = start_time - self.end_time = end_time - self.time_zone = time_zone - self.schedule = schedule diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_version.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_version.py deleted file mode 100644 index ada5d76501f0..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_version.py +++ /dev/null @@ -1,89 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from .resource import Resource - - -class WorkflowVersion(Resource): - """The workflow version. - - Variables are only populated by the server, and will be ignored when - sending a request. - - :ivar id: The resource id. - :vartype id: str - :ivar name: Gets the resource name. - :vartype name: str - :ivar type: Gets the resource type. - :vartype type: str - :param location: The resource location. - :type location: str - :param tags: The resource tags. - :type tags: dict[str, str] - :ivar created_time: Gets the created time. - :vartype created_time: datetime - :ivar changed_time: Gets the changed time. - :vartype changed_time: datetime - :param state: The state. Possible values include: 'NotSpecified', - 'Completed', 'Enabled', 'Disabled', 'Deleted', 'Suspended' - :type state: str or ~azure.mgmt.logic.models.WorkflowState - :ivar version: Gets the version. - :vartype version: str - :ivar access_endpoint: Gets the access endpoint. - :vartype access_endpoint: str - :param sku: The sku. - :type sku: ~azure.mgmt.logic.models.Sku - :param integration_account: The integration account. - :type integration_account: ~azure.mgmt.logic.models.ResourceReference - :param definition: The definition. - :type definition: object - :param parameters: The parameters. - :type parameters: dict[str, ~azure.mgmt.logic.models.WorkflowParameter] - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'created_time': {'readonly': True}, - 'changed_time': {'readonly': True}, - 'version': {'readonly': True}, - 'access_endpoint': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'location': {'key': 'location', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': '{str}'}, - 'created_time': {'key': 'properties.createdTime', 'type': 'iso-8601'}, - 'changed_time': {'key': 'properties.changedTime', 'type': 'iso-8601'}, - 'state': {'key': 'properties.state', 'type': 'str'}, - 'version': {'key': 'properties.version', 'type': 'str'}, - 'access_endpoint': {'key': 'properties.accessEndpoint', 'type': 'str'}, - 'sku': {'key': 'properties.sku', 'type': 'Sku'}, - 'integration_account': {'key': 'properties.integrationAccount', 'type': 'ResourceReference'}, - 'definition': {'key': 'properties.definition', 'type': 'object'}, - 'parameters': {'key': 'properties.parameters', 'type': '{WorkflowParameter}'}, - } - - def __init__(self, **kwargs): - super(WorkflowVersion, self).__init__(**kwargs) - self.created_time = None - self.changed_time = None - self.state = kwargs.get('state', None) - self.version = None - self.access_endpoint = None - self.sku = kwargs.get('sku', None) - self.integration_account = kwargs.get('integration_account', None) - self.definition = kwargs.get('definition', None) - self.parameters = kwargs.get('parameters', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_version_paged.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_version_paged.py deleted file mode 100644 index 10cc6a74589d..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_version_paged.py +++ /dev/null @@ -1,27 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.paging import Paged - - -class WorkflowVersionPaged(Paged): - """ - A paging container for iterating over a list of :class:`WorkflowVersion ` object - """ - - _attribute_map = { - 'next_link': {'key': 'nextLink', 'type': 'str'}, - 'current_page': {'key': 'value', 'type': '[WorkflowVersion]'} - } - - def __init__(self, *args, **kwargs): - - super(WorkflowVersionPaged, self).__init__(*args, **kwargs) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_version_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_version_py3.py deleted file mode 100644 index 26bf2042e5b8..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/workflow_version_py3.py +++ /dev/null @@ -1,89 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from .resource_py3 import Resource - - -class WorkflowVersion(Resource): - """The workflow version. - - Variables are only populated by the server, and will be ignored when - sending a request. - - :ivar id: The resource id. - :vartype id: str - :ivar name: Gets the resource name. - :vartype name: str - :ivar type: Gets the resource type. - :vartype type: str - :param location: The resource location. - :type location: str - :param tags: The resource tags. - :type tags: dict[str, str] - :ivar created_time: Gets the created time. - :vartype created_time: datetime - :ivar changed_time: Gets the changed time. - :vartype changed_time: datetime - :param state: The state. Possible values include: 'NotSpecified', - 'Completed', 'Enabled', 'Disabled', 'Deleted', 'Suspended' - :type state: str or ~azure.mgmt.logic.models.WorkflowState - :ivar version: Gets the version. - :vartype version: str - :ivar access_endpoint: Gets the access endpoint. - :vartype access_endpoint: str - :param sku: The sku. - :type sku: ~azure.mgmt.logic.models.Sku - :param integration_account: The integration account. - :type integration_account: ~azure.mgmt.logic.models.ResourceReference - :param definition: The definition. - :type definition: object - :param parameters: The parameters. - :type parameters: dict[str, ~azure.mgmt.logic.models.WorkflowParameter] - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'created_time': {'readonly': True}, - 'changed_time': {'readonly': True}, - 'version': {'readonly': True}, - 'access_endpoint': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'location': {'key': 'location', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': '{str}'}, - 'created_time': {'key': 'properties.createdTime', 'type': 'iso-8601'}, - 'changed_time': {'key': 'properties.changedTime', 'type': 'iso-8601'}, - 'state': {'key': 'properties.state', 'type': 'str'}, - 'version': {'key': 'properties.version', 'type': 'str'}, - 'access_endpoint': {'key': 'properties.accessEndpoint', 'type': 'str'}, - 'sku': {'key': 'properties.sku', 'type': 'Sku'}, - 'integration_account': {'key': 'properties.integrationAccount', 'type': 'ResourceReference'}, - 'definition': {'key': 'properties.definition', 'type': 'object'}, - 'parameters': {'key': 'properties.parameters', 'type': '{WorkflowParameter}'}, - } - - def __init__(self, *, location: str=None, tags=None, state=None, sku=None, integration_account=None, definition=None, parameters=None, **kwargs) -> None: - super(WorkflowVersion, self).__init__(location=location, tags=tags, **kwargs) - self.created_time = None - self.changed_time = None - self.state = state - self.version = None - self.access_endpoint = None - self.sku = sku - self.integration_account = integration_account - self.definition = definition - self.parameters = parameters diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_acknowledgement_settings.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_acknowledgement_settings.py deleted file mode 100644 index f3dd83d1ac68..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_acknowledgement_settings.py +++ /dev/null @@ -1,115 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class X12AcknowledgementSettings(Model): - """The X12 agreement acknowledgement settings. - - All required parameters must be populated in order to send to Azure. - - :param need_technical_acknowledgement: Required. The value indicating - whether technical acknowledgement is needed. - :type need_technical_acknowledgement: bool - :param batch_technical_acknowledgements: Required. The value indicating - whether to batch the technical acknowledgements. - :type batch_technical_acknowledgements: bool - :param need_functional_acknowledgement: Required. The value indicating - whether functional acknowledgement is needed. - :type need_functional_acknowledgement: bool - :param functional_acknowledgement_version: The functional acknowledgement - version. - :type functional_acknowledgement_version: str - :param batch_functional_acknowledgements: Required. The value indicating - whether to batch functional acknowledgements. - :type batch_functional_acknowledgements: bool - :param need_implementation_acknowledgement: Required. The value indicating - whether implementation acknowledgement is needed. - :type need_implementation_acknowledgement: bool - :param implementation_acknowledgement_version: The implementation - acknowledgement version. - :type implementation_acknowledgement_version: str - :param batch_implementation_acknowledgements: Required. The value - indicating whether to batch implementation acknowledgements. - :type batch_implementation_acknowledgements: bool - :param need_loop_for_valid_messages: Required. The value indicating - whether a loop is needed for valid messages. - :type need_loop_for_valid_messages: bool - :param send_synchronous_acknowledgement: Required. The value indicating - whether to send synchronous acknowledgement. - :type send_synchronous_acknowledgement: bool - :param acknowledgement_control_number_prefix: The acknowledgement control - number prefix. - :type acknowledgement_control_number_prefix: str - :param acknowledgement_control_number_suffix: The acknowledgement control - number suffix. - :type acknowledgement_control_number_suffix: str - :param acknowledgement_control_number_lower_bound: Required. The - acknowledgement control number lower bound. - :type acknowledgement_control_number_lower_bound: int - :param acknowledgement_control_number_upper_bound: Required. The - acknowledgement control number upper bound. - :type acknowledgement_control_number_upper_bound: int - :param rollover_acknowledgement_control_number: Required. The value - indicating whether to rollover acknowledgement control number. - :type rollover_acknowledgement_control_number: bool - """ - - _validation = { - 'need_technical_acknowledgement': {'required': True}, - 'batch_technical_acknowledgements': {'required': True}, - 'need_functional_acknowledgement': {'required': True}, - 'batch_functional_acknowledgements': {'required': True}, - 'need_implementation_acknowledgement': {'required': True}, - 'batch_implementation_acknowledgements': {'required': True}, - 'need_loop_for_valid_messages': {'required': True}, - 'send_synchronous_acknowledgement': {'required': True}, - 'acknowledgement_control_number_lower_bound': {'required': True}, - 'acknowledgement_control_number_upper_bound': {'required': True}, - 'rollover_acknowledgement_control_number': {'required': True}, - } - - _attribute_map = { - 'need_technical_acknowledgement': {'key': 'needTechnicalAcknowledgement', 'type': 'bool'}, - 'batch_technical_acknowledgements': {'key': 'batchTechnicalAcknowledgements', 'type': 'bool'}, - 'need_functional_acknowledgement': {'key': 'needFunctionalAcknowledgement', 'type': 'bool'}, - 'functional_acknowledgement_version': {'key': 'functionalAcknowledgementVersion', 'type': 'str'}, - 'batch_functional_acknowledgements': {'key': 'batchFunctionalAcknowledgements', 'type': 'bool'}, - 'need_implementation_acknowledgement': {'key': 'needImplementationAcknowledgement', 'type': 'bool'}, - 'implementation_acknowledgement_version': {'key': 'implementationAcknowledgementVersion', 'type': 'str'}, - 'batch_implementation_acknowledgements': {'key': 'batchImplementationAcknowledgements', 'type': 'bool'}, - 'need_loop_for_valid_messages': {'key': 'needLoopForValidMessages', 'type': 'bool'}, - 'send_synchronous_acknowledgement': {'key': 'sendSynchronousAcknowledgement', 'type': 'bool'}, - 'acknowledgement_control_number_prefix': {'key': 'acknowledgementControlNumberPrefix', 'type': 'str'}, - 'acknowledgement_control_number_suffix': {'key': 'acknowledgementControlNumberSuffix', 'type': 'str'}, - 'acknowledgement_control_number_lower_bound': {'key': 'acknowledgementControlNumberLowerBound', 'type': 'int'}, - 'acknowledgement_control_number_upper_bound': {'key': 'acknowledgementControlNumberUpperBound', 'type': 'int'}, - 'rollover_acknowledgement_control_number': {'key': 'rolloverAcknowledgementControlNumber', 'type': 'bool'}, - } - - def __init__(self, **kwargs): - super(X12AcknowledgementSettings, self).__init__(**kwargs) - self.need_technical_acknowledgement = kwargs.get('need_technical_acknowledgement', None) - self.batch_technical_acknowledgements = kwargs.get('batch_technical_acknowledgements', None) - self.need_functional_acknowledgement = kwargs.get('need_functional_acknowledgement', None) - self.functional_acknowledgement_version = kwargs.get('functional_acknowledgement_version', None) - self.batch_functional_acknowledgements = kwargs.get('batch_functional_acknowledgements', None) - self.need_implementation_acknowledgement = kwargs.get('need_implementation_acknowledgement', None) - self.implementation_acknowledgement_version = kwargs.get('implementation_acknowledgement_version', None) - self.batch_implementation_acknowledgements = kwargs.get('batch_implementation_acknowledgements', None) - self.need_loop_for_valid_messages = kwargs.get('need_loop_for_valid_messages', None) - self.send_synchronous_acknowledgement = kwargs.get('send_synchronous_acknowledgement', None) - self.acknowledgement_control_number_prefix = kwargs.get('acknowledgement_control_number_prefix', None) - self.acknowledgement_control_number_suffix = kwargs.get('acknowledgement_control_number_suffix', None) - self.acknowledgement_control_number_lower_bound = kwargs.get('acknowledgement_control_number_lower_bound', None) - self.acknowledgement_control_number_upper_bound = kwargs.get('acknowledgement_control_number_upper_bound', None) - self.rollover_acknowledgement_control_number = kwargs.get('rollover_acknowledgement_control_number', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_acknowledgement_settings_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_acknowledgement_settings_py3.py deleted file mode 100644 index 6e81eb7728e1..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_acknowledgement_settings_py3.py +++ /dev/null @@ -1,115 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class X12AcknowledgementSettings(Model): - """The X12 agreement acknowledgement settings. - - All required parameters must be populated in order to send to Azure. - - :param need_technical_acknowledgement: Required. The value indicating - whether technical acknowledgement is needed. - :type need_technical_acknowledgement: bool - :param batch_technical_acknowledgements: Required. The value indicating - whether to batch the technical acknowledgements. - :type batch_technical_acknowledgements: bool - :param need_functional_acknowledgement: Required. The value indicating - whether functional acknowledgement is needed. - :type need_functional_acknowledgement: bool - :param functional_acknowledgement_version: The functional acknowledgement - version. - :type functional_acknowledgement_version: str - :param batch_functional_acknowledgements: Required. The value indicating - whether to batch functional acknowledgements. - :type batch_functional_acknowledgements: bool - :param need_implementation_acknowledgement: Required. The value indicating - whether implementation acknowledgement is needed. - :type need_implementation_acknowledgement: bool - :param implementation_acknowledgement_version: The implementation - acknowledgement version. - :type implementation_acknowledgement_version: str - :param batch_implementation_acknowledgements: Required. The value - indicating whether to batch implementation acknowledgements. - :type batch_implementation_acknowledgements: bool - :param need_loop_for_valid_messages: Required. The value indicating - whether a loop is needed for valid messages. - :type need_loop_for_valid_messages: bool - :param send_synchronous_acknowledgement: Required. The value indicating - whether to send synchronous acknowledgement. - :type send_synchronous_acknowledgement: bool - :param acknowledgement_control_number_prefix: The acknowledgement control - number prefix. - :type acknowledgement_control_number_prefix: str - :param acknowledgement_control_number_suffix: The acknowledgement control - number suffix. - :type acknowledgement_control_number_suffix: str - :param acknowledgement_control_number_lower_bound: Required. The - acknowledgement control number lower bound. - :type acknowledgement_control_number_lower_bound: int - :param acknowledgement_control_number_upper_bound: Required. The - acknowledgement control number upper bound. - :type acknowledgement_control_number_upper_bound: int - :param rollover_acknowledgement_control_number: Required. The value - indicating whether to rollover acknowledgement control number. - :type rollover_acknowledgement_control_number: bool - """ - - _validation = { - 'need_technical_acknowledgement': {'required': True}, - 'batch_technical_acknowledgements': {'required': True}, - 'need_functional_acknowledgement': {'required': True}, - 'batch_functional_acknowledgements': {'required': True}, - 'need_implementation_acknowledgement': {'required': True}, - 'batch_implementation_acknowledgements': {'required': True}, - 'need_loop_for_valid_messages': {'required': True}, - 'send_synchronous_acknowledgement': {'required': True}, - 'acknowledgement_control_number_lower_bound': {'required': True}, - 'acknowledgement_control_number_upper_bound': {'required': True}, - 'rollover_acknowledgement_control_number': {'required': True}, - } - - _attribute_map = { - 'need_technical_acknowledgement': {'key': 'needTechnicalAcknowledgement', 'type': 'bool'}, - 'batch_technical_acknowledgements': {'key': 'batchTechnicalAcknowledgements', 'type': 'bool'}, - 'need_functional_acknowledgement': {'key': 'needFunctionalAcknowledgement', 'type': 'bool'}, - 'functional_acknowledgement_version': {'key': 'functionalAcknowledgementVersion', 'type': 'str'}, - 'batch_functional_acknowledgements': {'key': 'batchFunctionalAcknowledgements', 'type': 'bool'}, - 'need_implementation_acknowledgement': {'key': 'needImplementationAcknowledgement', 'type': 'bool'}, - 'implementation_acknowledgement_version': {'key': 'implementationAcknowledgementVersion', 'type': 'str'}, - 'batch_implementation_acknowledgements': {'key': 'batchImplementationAcknowledgements', 'type': 'bool'}, - 'need_loop_for_valid_messages': {'key': 'needLoopForValidMessages', 'type': 'bool'}, - 'send_synchronous_acknowledgement': {'key': 'sendSynchronousAcknowledgement', 'type': 'bool'}, - 'acknowledgement_control_number_prefix': {'key': 'acknowledgementControlNumberPrefix', 'type': 'str'}, - 'acknowledgement_control_number_suffix': {'key': 'acknowledgementControlNumberSuffix', 'type': 'str'}, - 'acknowledgement_control_number_lower_bound': {'key': 'acknowledgementControlNumberLowerBound', 'type': 'int'}, - 'acknowledgement_control_number_upper_bound': {'key': 'acknowledgementControlNumberUpperBound', 'type': 'int'}, - 'rollover_acknowledgement_control_number': {'key': 'rolloverAcknowledgementControlNumber', 'type': 'bool'}, - } - - def __init__(self, *, need_technical_acknowledgement: bool, batch_technical_acknowledgements: bool, need_functional_acknowledgement: bool, batch_functional_acknowledgements: bool, need_implementation_acknowledgement: bool, batch_implementation_acknowledgements: bool, need_loop_for_valid_messages: bool, send_synchronous_acknowledgement: bool, acknowledgement_control_number_lower_bound: int, acknowledgement_control_number_upper_bound: int, rollover_acknowledgement_control_number: bool, functional_acknowledgement_version: str=None, implementation_acknowledgement_version: str=None, acknowledgement_control_number_prefix: str=None, acknowledgement_control_number_suffix: str=None, **kwargs) -> None: - super(X12AcknowledgementSettings, self).__init__(**kwargs) - self.need_technical_acknowledgement = need_technical_acknowledgement - self.batch_technical_acknowledgements = batch_technical_acknowledgements - self.need_functional_acknowledgement = need_functional_acknowledgement - self.functional_acknowledgement_version = functional_acknowledgement_version - self.batch_functional_acknowledgements = batch_functional_acknowledgements - self.need_implementation_acknowledgement = need_implementation_acknowledgement - self.implementation_acknowledgement_version = implementation_acknowledgement_version - self.batch_implementation_acknowledgements = batch_implementation_acknowledgements - self.need_loop_for_valid_messages = need_loop_for_valid_messages - self.send_synchronous_acknowledgement = send_synchronous_acknowledgement - self.acknowledgement_control_number_prefix = acknowledgement_control_number_prefix - self.acknowledgement_control_number_suffix = acknowledgement_control_number_suffix - self.acknowledgement_control_number_lower_bound = acknowledgement_control_number_lower_bound - self.acknowledgement_control_number_upper_bound = acknowledgement_control_number_upper_bound - self.rollover_acknowledgement_control_number = rollover_acknowledgement_control_number diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_agreement_content.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_agreement_content.py deleted file mode 100644 index 0daa2f398e66..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_agreement_content.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class X12AgreementContent(Model): - """The X12 agreement content. - - All required parameters must be populated in order to send to Azure. - - :param receive_agreement: Required. The X12 one-way receive agreement. - :type receive_agreement: ~azure.mgmt.logic.models.X12OneWayAgreement - :param send_agreement: Required. The X12 one-way send agreement. - :type send_agreement: ~azure.mgmt.logic.models.X12OneWayAgreement - """ - - _validation = { - 'receive_agreement': {'required': True}, - 'send_agreement': {'required': True}, - } - - _attribute_map = { - 'receive_agreement': {'key': 'receiveAgreement', 'type': 'X12OneWayAgreement'}, - 'send_agreement': {'key': 'sendAgreement', 'type': 'X12OneWayAgreement'}, - } - - def __init__(self, **kwargs): - super(X12AgreementContent, self).__init__(**kwargs) - self.receive_agreement = kwargs.get('receive_agreement', None) - self.send_agreement = kwargs.get('send_agreement', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_agreement_content_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_agreement_content_py3.py deleted file mode 100644 index 7ddf670913ea..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_agreement_content_py3.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class X12AgreementContent(Model): - """The X12 agreement content. - - All required parameters must be populated in order to send to Azure. - - :param receive_agreement: Required. The X12 one-way receive agreement. - :type receive_agreement: ~azure.mgmt.logic.models.X12OneWayAgreement - :param send_agreement: Required. The X12 one-way send agreement. - :type send_agreement: ~azure.mgmt.logic.models.X12OneWayAgreement - """ - - _validation = { - 'receive_agreement': {'required': True}, - 'send_agreement': {'required': True}, - } - - _attribute_map = { - 'receive_agreement': {'key': 'receiveAgreement', 'type': 'X12OneWayAgreement'}, - 'send_agreement': {'key': 'sendAgreement', 'type': 'X12OneWayAgreement'}, - } - - def __init__(self, *, receive_agreement, send_agreement, **kwargs) -> None: - super(X12AgreementContent, self).__init__(**kwargs) - self.receive_agreement = receive_agreement - self.send_agreement = send_agreement diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_delimiter_overrides.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_delimiter_overrides.py deleted file mode 100644 index ee545215c677..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_delimiter_overrides.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class X12DelimiterOverrides(Model): - """The X12 delimiter override settings. - - All required parameters must be populated in order to send to Azure. - - :param protocol_version: The protocol version. - :type protocol_version: str - :param message_id: The message id. - :type message_id: str - :param data_element_separator: Required. The data element separator. - :type data_element_separator: int - :param component_separator: Required. The component separator. - :type component_separator: int - :param segment_terminator: Required. The segment terminator. - :type segment_terminator: int - :param segment_terminator_suffix: Required. The segment terminator suffix. - Possible values include: 'NotSpecified', 'None', 'CR', 'LF', 'CRLF' - :type segment_terminator_suffix: str or - ~azure.mgmt.logic.models.SegmentTerminatorSuffix - :param replace_character: Required. The replacement character. - :type replace_character: int - :param replace_separators_in_payload: Required. The value indicating - whether to replace separators in payload. - :type replace_separators_in_payload: bool - :param target_namespace: The target namespace on which this delimiter - settings has to be applied. - :type target_namespace: str - """ - - _validation = { - 'data_element_separator': {'required': True}, - 'component_separator': {'required': True}, - 'segment_terminator': {'required': True}, - 'segment_terminator_suffix': {'required': True}, - 'replace_character': {'required': True}, - 'replace_separators_in_payload': {'required': True}, - } - - _attribute_map = { - 'protocol_version': {'key': 'protocolVersion', 'type': 'str'}, - 'message_id': {'key': 'messageId', 'type': 'str'}, - 'data_element_separator': {'key': 'dataElementSeparator', 'type': 'int'}, - 'component_separator': {'key': 'componentSeparator', 'type': 'int'}, - 'segment_terminator': {'key': 'segmentTerminator', 'type': 'int'}, - 'segment_terminator_suffix': {'key': 'segmentTerminatorSuffix', 'type': 'SegmentTerminatorSuffix'}, - 'replace_character': {'key': 'replaceCharacter', 'type': 'int'}, - 'replace_separators_in_payload': {'key': 'replaceSeparatorsInPayload', 'type': 'bool'}, - 'target_namespace': {'key': 'targetNamespace', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(X12DelimiterOverrides, self).__init__(**kwargs) - self.protocol_version = kwargs.get('protocol_version', None) - self.message_id = kwargs.get('message_id', None) - self.data_element_separator = kwargs.get('data_element_separator', None) - self.component_separator = kwargs.get('component_separator', None) - self.segment_terminator = kwargs.get('segment_terminator', None) - self.segment_terminator_suffix = kwargs.get('segment_terminator_suffix', None) - self.replace_character = kwargs.get('replace_character', None) - self.replace_separators_in_payload = kwargs.get('replace_separators_in_payload', None) - self.target_namespace = kwargs.get('target_namespace', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_delimiter_overrides_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_delimiter_overrides_py3.py deleted file mode 100644 index c2333de8a794..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_delimiter_overrides_py3.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class X12DelimiterOverrides(Model): - """The X12 delimiter override settings. - - All required parameters must be populated in order to send to Azure. - - :param protocol_version: The protocol version. - :type protocol_version: str - :param message_id: The message id. - :type message_id: str - :param data_element_separator: Required. The data element separator. - :type data_element_separator: int - :param component_separator: Required. The component separator. - :type component_separator: int - :param segment_terminator: Required. The segment terminator. - :type segment_terminator: int - :param segment_terminator_suffix: Required. The segment terminator suffix. - Possible values include: 'NotSpecified', 'None', 'CR', 'LF', 'CRLF' - :type segment_terminator_suffix: str or - ~azure.mgmt.logic.models.SegmentTerminatorSuffix - :param replace_character: Required. The replacement character. - :type replace_character: int - :param replace_separators_in_payload: Required. The value indicating - whether to replace separators in payload. - :type replace_separators_in_payload: bool - :param target_namespace: The target namespace on which this delimiter - settings has to be applied. - :type target_namespace: str - """ - - _validation = { - 'data_element_separator': {'required': True}, - 'component_separator': {'required': True}, - 'segment_terminator': {'required': True}, - 'segment_terminator_suffix': {'required': True}, - 'replace_character': {'required': True}, - 'replace_separators_in_payload': {'required': True}, - } - - _attribute_map = { - 'protocol_version': {'key': 'protocolVersion', 'type': 'str'}, - 'message_id': {'key': 'messageId', 'type': 'str'}, - 'data_element_separator': {'key': 'dataElementSeparator', 'type': 'int'}, - 'component_separator': {'key': 'componentSeparator', 'type': 'int'}, - 'segment_terminator': {'key': 'segmentTerminator', 'type': 'int'}, - 'segment_terminator_suffix': {'key': 'segmentTerminatorSuffix', 'type': 'SegmentTerminatorSuffix'}, - 'replace_character': {'key': 'replaceCharacter', 'type': 'int'}, - 'replace_separators_in_payload': {'key': 'replaceSeparatorsInPayload', 'type': 'bool'}, - 'target_namespace': {'key': 'targetNamespace', 'type': 'str'}, - } - - def __init__(self, *, data_element_separator: int, component_separator: int, segment_terminator: int, segment_terminator_suffix, replace_character: int, replace_separators_in_payload: bool, protocol_version: str=None, message_id: str=None, target_namespace: str=None, **kwargs) -> None: - super(X12DelimiterOverrides, self).__init__(**kwargs) - self.protocol_version = protocol_version - self.message_id = message_id - self.data_element_separator = data_element_separator - self.component_separator = component_separator - self.segment_terminator = segment_terminator - self.segment_terminator_suffix = segment_terminator_suffix - self.replace_character = replace_character - self.replace_separators_in_payload = replace_separators_in_payload - self.target_namespace = target_namespace diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_envelope_override.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_envelope_override.py deleted file mode 100644 index 93f12406b522..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_envelope_override.py +++ /dev/null @@ -1,83 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class X12EnvelopeOverride(Model): - """The X12 envelope override settings. - - All required parameters must be populated in order to send to Azure. - - :param target_namespace: Required. The target namespace on which this - envelope settings has to be applied. - :type target_namespace: str - :param protocol_version: Required. The protocol version on which this - envelope settings has to be applied. - :type protocol_version: str - :param message_id: Required. The message id on which this envelope - settings has to be applied. - :type message_id: str - :param responsible_agency_code: Required. The responsible agency code. - :type responsible_agency_code: str - :param header_version: Required. The header version. - :type header_version: str - :param sender_application_id: Required. The sender application id. - :type sender_application_id: str - :param receiver_application_id: Required. The receiver application id. - :type receiver_application_id: str - :param functional_identifier_code: The functional identifier code. - :type functional_identifier_code: str - :param date_format: Required. The date format. Possible values include: - 'NotSpecified', 'CCYYMMDD', 'YYMMDD' - :type date_format: str or ~azure.mgmt.logic.models.X12DateFormat - :param time_format: Required. The time format. Possible values include: - 'NotSpecified', 'HHMM', 'HHMMSS', 'HHMMSSdd', 'HHMMSSd' - :type time_format: str or ~azure.mgmt.logic.models.X12TimeFormat - """ - - _validation = { - 'target_namespace': {'required': True}, - 'protocol_version': {'required': True}, - 'message_id': {'required': True}, - 'responsible_agency_code': {'required': True}, - 'header_version': {'required': True}, - 'sender_application_id': {'required': True}, - 'receiver_application_id': {'required': True}, - 'date_format': {'required': True}, - 'time_format': {'required': True}, - } - - _attribute_map = { - 'target_namespace': {'key': 'targetNamespace', 'type': 'str'}, - 'protocol_version': {'key': 'protocolVersion', 'type': 'str'}, - 'message_id': {'key': 'messageId', 'type': 'str'}, - 'responsible_agency_code': {'key': 'responsibleAgencyCode', 'type': 'str'}, - 'header_version': {'key': 'headerVersion', 'type': 'str'}, - 'sender_application_id': {'key': 'senderApplicationId', 'type': 'str'}, - 'receiver_application_id': {'key': 'receiverApplicationId', 'type': 'str'}, - 'functional_identifier_code': {'key': 'functionalIdentifierCode', 'type': 'str'}, - 'date_format': {'key': 'dateFormat', 'type': 'str'}, - 'time_format': {'key': 'timeFormat', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(X12EnvelopeOverride, self).__init__(**kwargs) - self.target_namespace = kwargs.get('target_namespace', None) - self.protocol_version = kwargs.get('protocol_version', None) - self.message_id = kwargs.get('message_id', None) - self.responsible_agency_code = kwargs.get('responsible_agency_code', None) - self.header_version = kwargs.get('header_version', None) - self.sender_application_id = kwargs.get('sender_application_id', None) - self.receiver_application_id = kwargs.get('receiver_application_id', None) - self.functional_identifier_code = kwargs.get('functional_identifier_code', None) - self.date_format = kwargs.get('date_format', None) - self.time_format = kwargs.get('time_format', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_envelope_override_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_envelope_override_py3.py deleted file mode 100644 index a948c9bdc3cf..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_envelope_override_py3.py +++ /dev/null @@ -1,83 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class X12EnvelopeOverride(Model): - """The X12 envelope override settings. - - All required parameters must be populated in order to send to Azure. - - :param target_namespace: Required. The target namespace on which this - envelope settings has to be applied. - :type target_namespace: str - :param protocol_version: Required. The protocol version on which this - envelope settings has to be applied. - :type protocol_version: str - :param message_id: Required. The message id on which this envelope - settings has to be applied. - :type message_id: str - :param responsible_agency_code: Required. The responsible agency code. - :type responsible_agency_code: str - :param header_version: Required. The header version. - :type header_version: str - :param sender_application_id: Required. The sender application id. - :type sender_application_id: str - :param receiver_application_id: Required. The receiver application id. - :type receiver_application_id: str - :param functional_identifier_code: The functional identifier code. - :type functional_identifier_code: str - :param date_format: Required. The date format. Possible values include: - 'NotSpecified', 'CCYYMMDD', 'YYMMDD' - :type date_format: str or ~azure.mgmt.logic.models.X12DateFormat - :param time_format: Required. The time format. Possible values include: - 'NotSpecified', 'HHMM', 'HHMMSS', 'HHMMSSdd', 'HHMMSSd' - :type time_format: str or ~azure.mgmt.logic.models.X12TimeFormat - """ - - _validation = { - 'target_namespace': {'required': True}, - 'protocol_version': {'required': True}, - 'message_id': {'required': True}, - 'responsible_agency_code': {'required': True}, - 'header_version': {'required': True}, - 'sender_application_id': {'required': True}, - 'receiver_application_id': {'required': True}, - 'date_format': {'required': True}, - 'time_format': {'required': True}, - } - - _attribute_map = { - 'target_namespace': {'key': 'targetNamespace', 'type': 'str'}, - 'protocol_version': {'key': 'protocolVersion', 'type': 'str'}, - 'message_id': {'key': 'messageId', 'type': 'str'}, - 'responsible_agency_code': {'key': 'responsibleAgencyCode', 'type': 'str'}, - 'header_version': {'key': 'headerVersion', 'type': 'str'}, - 'sender_application_id': {'key': 'senderApplicationId', 'type': 'str'}, - 'receiver_application_id': {'key': 'receiverApplicationId', 'type': 'str'}, - 'functional_identifier_code': {'key': 'functionalIdentifierCode', 'type': 'str'}, - 'date_format': {'key': 'dateFormat', 'type': 'str'}, - 'time_format': {'key': 'timeFormat', 'type': 'str'}, - } - - def __init__(self, *, target_namespace: str, protocol_version: str, message_id: str, responsible_agency_code: str, header_version: str, sender_application_id: str, receiver_application_id: str, date_format, time_format, functional_identifier_code: str=None, **kwargs) -> None: - super(X12EnvelopeOverride, self).__init__(**kwargs) - self.target_namespace = target_namespace - self.protocol_version = protocol_version - self.message_id = message_id - self.responsible_agency_code = responsible_agency_code - self.header_version = header_version - self.sender_application_id = sender_application_id - self.receiver_application_id = receiver_application_id - self.functional_identifier_code = functional_identifier_code - self.date_format = date_format - self.time_format = time_format diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_envelope_settings.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_envelope_settings.py deleted file mode 100644 index 65c4418b9822..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_envelope_settings.py +++ /dev/null @@ -1,168 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class X12EnvelopeSettings(Model): - """The X12 agreement envelope settings. - - All required parameters must be populated in order to send to Azure. - - :param control_standards_id: Required. The controls standards id. - :type control_standards_id: int - :param use_control_standards_id_as_repetition_character: Required. The - value indicating whether to use control standards id as repetition - character. - :type use_control_standards_id_as_repetition_character: bool - :param sender_application_id: Required. The sender application id. - :type sender_application_id: str - :param receiver_application_id: Required. The receiver application id. - :type receiver_application_id: str - :param control_version_number: Required. The control version number. - :type control_version_number: str - :param interchange_control_number_lower_bound: Required. The interchange - control number lower bound. - :type interchange_control_number_lower_bound: int - :param interchange_control_number_upper_bound: Required. The interchange - control number upper bound. - :type interchange_control_number_upper_bound: int - :param rollover_interchange_control_number: Required. The value indicating - whether to rollover interchange control number. - :type rollover_interchange_control_number: bool - :param enable_default_group_headers: Required. The value indicating - whether to enable default group headers. - :type enable_default_group_headers: bool - :param functional_group_id: The functional group id. - :type functional_group_id: str - :param group_control_number_lower_bound: Required. The group control - number lower bound. - :type group_control_number_lower_bound: int - :param group_control_number_upper_bound: Required. The group control - number upper bound. - :type group_control_number_upper_bound: int - :param rollover_group_control_number: Required. The value indicating - whether to rollover group control number. - :type rollover_group_control_number: bool - :param group_header_agency_code: Required. The group header agency code. - :type group_header_agency_code: str - :param group_header_version: Required. The group header version. - :type group_header_version: str - :param transaction_set_control_number_lower_bound: Required. The - transaction set control number lower bound. - :type transaction_set_control_number_lower_bound: int - :param transaction_set_control_number_upper_bound: Required. The - transaction set control number upper bound. - :type transaction_set_control_number_upper_bound: int - :param rollover_transaction_set_control_number: Required. The value - indicating whether to rollover transaction set control number. - :type rollover_transaction_set_control_number: bool - :param transaction_set_control_number_prefix: The transaction set control - number prefix. - :type transaction_set_control_number_prefix: str - :param transaction_set_control_number_suffix: The transaction set control - number suffix. - :type transaction_set_control_number_suffix: str - :param overwrite_existing_transaction_set_control_number: Required. The - value indicating whether to overwrite existing transaction set control - number. - :type overwrite_existing_transaction_set_control_number: bool - :param group_header_date_format: Required. The group header date format. - Possible values include: 'NotSpecified', 'CCYYMMDD', 'YYMMDD' - :type group_header_date_format: str or - ~azure.mgmt.logic.models.X12DateFormat - :param group_header_time_format: Required. The group header time format. - Possible values include: 'NotSpecified', 'HHMM', 'HHMMSS', 'HHMMSSdd', - 'HHMMSSd' - :type group_header_time_format: str or - ~azure.mgmt.logic.models.X12TimeFormat - :param usage_indicator: Required. The usage indicator. Possible values - include: 'NotSpecified', 'Test', 'Information', 'Production' - :type usage_indicator: str or ~azure.mgmt.logic.models.UsageIndicator - """ - - _validation = { - 'control_standards_id': {'required': True}, - 'use_control_standards_id_as_repetition_character': {'required': True}, - 'sender_application_id': {'required': True}, - 'receiver_application_id': {'required': True}, - 'control_version_number': {'required': True}, - 'interchange_control_number_lower_bound': {'required': True}, - 'interchange_control_number_upper_bound': {'required': True}, - 'rollover_interchange_control_number': {'required': True}, - 'enable_default_group_headers': {'required': True}, - 'group_control_number_lower_bound': {'required': True}, - 'group_control_number_upper_bound': {'required': True}, - 'rollover_group_control_number': {'required': True}, - 'group_header_agency_code': {'required': True}, - 'group_header_version': {'required': True}, - 'transaction_set_control_number_lower_bound': {'required': True}, - 'transaction_set_control_number_upper_bound': {'required': True}, - 'rollover_transaction_set_control_number': {'required': True}, - 'overwrite_existing_transaction_set_control_number': {'required': True}, - 'group_header_date_format': {'required': True}, - 'group_header_time_format': {'required': True}, - 'usage_indicator': {'required': True}, - } - - _attribute_map = { - 'control_standards_id': {'key': 'controlStandardsId', 'type': 'int'}, - 'use_control_standards_id_as_repetition_character': {'key': 'useControlStandardsIdAsRepetitionCharacter', 'type': 'bool'}, - 'sender_application_id': {'key': 'senderApplicationId', 'type': 'str'}, - 'receiver_application_id': {'key': 'receiverApplicationId', 'type': 'str'}, - 'control_version_number': {'key': 'controlVersionNumber', 'type': 'str'}, - 'interchange_control_number_lower_bound': {'key': 'interchangeControlNumberLowerBound', 'type': 'int'}, - 'interchange_control_number_upper_bound': {'key': 'interchangeControlNumberUpperBound', 'type': 'int'}, - 'rollover_interchange_control_number': {'key': 'rolloverInterchangeControlNumber', 'type': 'bool'}, - 'enable_default_group_headers': {'key': 'enableDefaultGroupHeaders', 'type': 'bool'}, - 'functional_group_id': {'key': 'functionalGroupId', 'type': 'str'}, - 'group_control_number_lower_bound': {'key': 'groupControlNumberLowerBound', 'type': 'int'}, - 'group_control_number_upper_bound': {'key': 'groupControlNumberUpperBound', 'type': 'int'}, - 'rollover_group_control_number': {'key': 'rolloverGroupControlNumber', 'type': 'bool'}, - 'group_header_agency_code': {'key': 'groupHeaderAgencyCode', 'type': 'str'}, - 'group_header_version': {'key': 'groupHeaderVersion', 'type': 'str'}, - 'transaction_set_control_number_lower_bound': {'key': 'transactionSetControlNumberLowerBound', 'type': 'int'}, - 'transaction_set_control_number_upper_bound': {'key': 'transactionSetControlNumberUpperBound', 'type': 'int'}, - 'rollover_transaction_set_control_number': {'key': 'rolloverTransactionSetControlNumber', 'type': 'bool'}, - 'transaction_set_control_number_prefix': {'key': 'transactionSetControlNumberPrefix', 'type': 'str'}, - 'transaction_set_control_number_suffix': {'key': 'transactionSetControlNumberSuffix', 'type': 'str'}, - 'overwrite_existing_transaction_set_control_number': {'key': 'overwriteExistingTransactionSetControlNumber', 'type': 'bool'}, - 'group_header_date_format': {'key': 'groupHeaderDateFormat', 'type': 'str'}, - 'group_header_time_format': {'key': 'groupHeaderTimeFormat', 'type': 'str'}, - 'usage_indicator': {'key': 'usageIndicator', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(X12EnvelopeSettings, self).__init__(**kwargs) - self.control_standards_id = kwargs.get('control_standards_id', None) - self.use_control_standards_id_as_repetition_character = kwargs.get('use_control_standards_id_as_repetition_character', None) - self.sender_application_id = kwargs.get('sender_application_id', None) - self.receiver_application_id = kwargs.get('receiver_application_id', None) - self.control_version_number = kwargs.get('control_version_number', None) - self.interchange_control_number_lower_bound = kwargs.get('interchange_control_number_lower_bound', None) - self.interchange_control_number_upper_bound = kwargs.get('interchange_control_number_upper_bound', None) - self.rollover_interchange_control_number = kwargs.get('rollover_interchange_control_number', None) - self.enable_default_group_headers = kwargs.get('enable_default_group_headers', None) - self.functional_group_id = kwargs.get('functional_group_id', None) - self.group_control_number_lower_bound = kwargs.get('group_control_number_lower_bound', None) - self.group_control_number_upper_bound = kwargs.get('group_control_number_upper_bound', None) - self.rollover_group_control_number = kwargs.get('rollover_group_control_number', None) - self.group_header_agency_code = kwargs.get('group_header_agency_code', None) - self.group_header_version = kwargs.get('group_header_version', None) - self.transaction_set_control_number_lower_bound = kwargs.get('transaction_set_control_number_lower_bound', None) - self.transaction_set_control_number_upper_bound = kwargs.get('transaction_set_control_number_upper_bound', None) - self.rollover_transaction_set_control_number = kwargs.get('rollover_transaction_set_control_number', None) - self.transaction_set_control_number_prefix = kwargs.get('transaction_set_control_number_prefix', None) - self.transaction_set_control_number_suffix = kwargs.get('transaction_set_control_number_suffix', None) - self.overwrite_existing_transaction_set_control_number = kwargs.get('overwrite_existing_transaction_set_control_number', None) - self.group_header_date_format = kwargs.get('group_header_date_format', None) - self.group_header_time_format = kwargs.get('group_header_time_format', None) - self.usage_indicator = kwargs.get('usage_indicator', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_envelope_settings_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_envelope_settings_py3.py deleted file mode 100644 index a46cc19a7b48..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_envelope_settings_py3.py +++ /dev/null @@ -1,168 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class X12EnvelopeSettings(Model): - """The X12 agreement envelope settings. - - All required parameters must be populated in order to send to Azure. - - :param control_standards_id: Required. The controls standards id. - :type control_standards_id: int - :param use_control_standards_id_as_repetition_character: Required. The - value indicating whether to use control standards id as repetition - character. - :type use_control_standards_id_as_repetition_character: bool - :param sender_application_id: Required. The sender application id. - :type sender_application_id: str - :param receiver_application_id: Required. The receiver application id. - :type receiver_application_id: str - :param control_version_number: Required. The control version number. - :type control_version_number: str - :param interchange_control_number_lower_bound: Required. The interchange - control number lower bound. - :type interchange_control_number_lower_bound: int - :param interchange_control_number_upper_bound: Required. The interchange - control number upper bound. - :type interchange_control_number_upper_bound: int - :param rollover_interchange_control_number: Required. The value indicating - whether to rollover interchange control number. - :type rollover_interchange_control_number: bool - :param enable_default_group_headers: Required. The value indicating - whether to enable default group headers. - :type enable_default_group_headers: bool - :param functional_group_id: The functional group id. - :type functional_group_id: str - :param group_control_number_lower_bound: Required. The group control - number lower bound. - :type group_control_number_lower_bound: int - :param group_control_number_upper_bound: Required. The group control - number upper bound. - :type group_control_number_upper_bound: int - :param rollover_group_control_number: Required. The value indicating - whether to rollover group control number. - :type rollover_group_control_number: bool - :param group_header_agency_code: Required. The group header agency code. - :type group_header_agency_code: str - :param group_header_version: Required. The group header version. - :type group_header_version: str - :param transaction_set_control_number_lower_bound: Required. The - transaction set control number lower bound. - :type transaction_set_control_number_lower_bound: int - :param transaction_set_control_number_upper_bound: Required. The - transaction set control number upper bound. - :type transaction_set_control_number_upper_bound: int - :param rollover_transaction_set_control_number: Required. The value - indicating whether to rollover transaction set control number. - :type rollover_transaction_set_control_number: bool - :param transaction_set_control_number_prefix: The transaction set control - number prefix. - :type transaction_set_control_number_prefix: str - :param transaction_set_control_number_suffix: The transaction set control - number suffix. - :type transaction_set_control_number_suffix: str - :param overwrite_existing_transaction_set_control_number: Required. The - value indicating whether to overwrite existing transaction set control - number. - :type overwrite_existing_transaction_set_control_number: bool - :param group_header_date_format: Required. The group header date format. - Possible values include: 'NotSpecified', 'CCYYMMDD', 'YYMMDD' - :type group_header_date_format: str or - ~azure.mgmt.logic.models.X12DateFormat - :param group_header_time_format: Required. The group header time format. - Possible values include: 'NotSpecified', 'HHMM', 'HHMMSS', 'HHMMSSdd', - 'HHMMSSd' - :type group_header_time_format: str or - ~azure.mgmt.logic.models.X12TimeFormat - :param usage_indicator: Required. The usage indicator. Possible values - include: 'NotSpecified', 'Test', 'Information', 'Production' - :type usage_indicator: str or ~azure.mgmt.logic.models.UsageIndicator - """ - - _validation = { - 'control_standards_id': {'required': True}, - 'use_control_standards_id_as_repetition_character': {'required': True}, - 'sender_application_id': {'required': True}, - 'receiver_application_id': {'required': True}, - 'control_version_number': {'required': True}, - 'interchange_control_number_lower_bound': {'required': True}, - 'interchange_control_number_upper_bound': {'required': True}, - 'rollover_interchange_control_number': {'required': True}, - 'enable_default_group_headers': {'required': True}, - 'group_control_number_lower_bound': {'required': True}, - 'group_control_number_upper_bound': {'required': True}, - 'rollover_group_control_number': {'required': True}, - 'group_header_agency_code': {'required': True}, - 'group_header_version': {'required': True}, - 'transaction_set_control_number_lower_bound': {'required': True}, - 'transaction_set_control_number_upper_bound': {'required': True}, - 'rollover_transaction_set_control_number': {'required': True}, - 'overwrite_existing_transaction_set_control_number': {'required': True}, - 'group_header_date_format': {'required': True}, - 'group_header_time_format': {'required': True}, - 'usage_indicator': {'required': True}, - } - - _attribute_map = { - 'control_standards_id': {'key': 'controlStandardsId', 'type': 'int'}, - 'use_control_standards_id_as_repetition_character': {'key': 'useControlStandardsIdAsRepetitionCharacter', 'type': 'bool'}, - 'sender_application_id': {'key': 'senderApplicationId', 'type': 'str'}, - 'receiver_application_id': {'key': 'receiverApplicationId', 'type': 'str'}, - 'control_version_number': {'key': 'controlVersionNumber', 'type': 'str'}, - 'interchange_control_number_lower_bound': {'key': 'interchangeControlNumberLowerBound', 'type': 'int'}, - 'interchange_control_number_upper_bound': {'key': 'interchangeControlNumberUpperBound', 'type': 'int'}, - 'rollover_interchange_control_number': {'key': 'rolloverInterchangeControlNumber', 'type': 'bool'}, - 'enable_default_group_headers': {'key': 'enableDefaultGroupHeaders', 'type': 'bool'}, - 'functional_group_id': {'key': 'functionalGroupId', 'type': 'str'}, - 'group_control_number_lower_bound': {'key': 'groupControlNumberLowerBound', 'type': 'int'}, - 'group_control_number_upper_bound': {'key': 'groupControlNumberUpperBound', 'type': 'int'}, - 'rollover_group_control_number': {'key': 'rolloverGroupControlNumber', 'type': 'bool'}, - 'group_header_agency_code': {'key': 'groupHeaderAgencyCode', 'type': 'str'}, - 'group_header_version': {'key': 'groupHeaderVersion', 'type': 'str'}, - 'transaction_set_control_number_lower_bound': {'key': 'transactionSetControlNumberLowerBound', 'type': 'int'}, - 'transaction_set_control_number_upper_bound': {'key': 'transactionSetControlNumberUpperBound', 'type': 'int'}, - 'rollover_transaction_set_control_number': {'key': 'rolloverTransactionSetControlNumber', 'type': 'bool'}, - 'transaction_set_control_number_prefix': {'key': 'transactionSetControlNumberPrefix', 'type': 'str'}, - 'transaction_set_control_number_suffix': {'key': 'transactionSetControlNumberSuffix', 'type': 'str'}, - 'overwrite_existing_transaction_set_control_number': {'key': 'overwriteExistingTransactionSetControlNumber', 'type': 'bool'}, - 'group_header_date_format': {'key': 'groupHeaderDateFormat', 'type': 'str'}, - 'group_header_time_format': {'key': 'groupHeaderTimeFormat', 'type': 'str'}, - 'usage_indicator': {'key': 'usageIndicator', 'type': 'str'}, - } - - def __init__(self, *, control_standards_id: int, use_control_standards_id_as_repetition_character: bool, sender_application_id: str, receiver_application_id: str, control_version_number: str, interchange_control_number_lower_bound: int, interchange_control_number_upper_bound: int, rollover_interchange_control_number: bool, enable_default_group_headers: bool, group_control_number_lower_bound: int, group_control_number_upper_bound: int, rollover_group_control_number: bool, group_header_agency_code: str, group_header_version: str, transaction_set_control_number_lower_bound: int, transaction_set_control_number_upper_bound: int, rollover_transaction_set_control_number: bool, overwrite_existing_transaction_set_control_number: bool, group_header_date_format, group_header_time_format, usage_indicator, functional_group_id: str=None, transaction_set_control_number_prefix: str=None, transaction_set_control_number_suffix: str=None, **kwargs) -> None: - super(X12EnvelopeSettings, self).__init__(**kwargs) - self.control_standards_id = control_standards_id - self.use_control_standards_id_as_repetition_character = use_control_standards_id_as_repetition_character - self.sender_application_id = sender_application_id - self.receiver_application_id = receiver_application_id - self.control_version_number = control_version_number - self.interchange_control_number_lower_bound = interchange_control_number_lower_bound - self.interchange_control_number_upper_bound = interchange_control_number_upper_bound - self.rollover_interchange_control_number = rollover_interchange_control_number - self.enable_default_group_headers = enable_default_group_headers - self.functional_group_id = functional_group_id - self.group_control_number_lower_bound = group_control_number_lower_bound - self.group_control_number_upper_bound = group_control_number_upper_bound - self.rollover_group_control_number = rollover_group_control_number - self.group_header_agency_code = group_header_agency_code - self.group_header_version = group_header_version - self.transaction_set_control_number_lower_bound = transaction_set_control_number_lower_bound - self.transaction_set_control_number_upper_bound = transaction_set_control_number_upper_bound - self.rollover_transaction_set_control_number = rollover_transaction_set_control_number - self.transaction_set_control_number_prefix = transaction_set_control_number_prefix - self.transaction_set_control_number_suffix = transaction_set_control_number_suffix - self.overwrite_existing_transaction_set_control_number = overwrite_existing_transaction_set_control_number - self.group_header_date_format = group_header_date_format - self.group_header_time_format = group_header_time_format - self.usage_indicator = usage_indicator diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_framing_settings.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_framing_settings.py deleted file mode 100644 index c28e541459b2..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_framing_settings.py +++ /dev/null @@ -1,68 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class X12FramingSettings(Model): - """The X12 agreement framing settings. - - All required parameters must be populated in order to send to Azure. - - :param data_element_separator: Required. The data element separator. - :type data_element_separator: int - :param component_separator: Required. The component separator. - :type component_separator: int - :param replace_separators_in_payload: Required. The value indicating - whether to replace separators in payload. - :type replace_separators_in_payload: bool - :param replace_character: Required. The replacement character. - :type replace_character: int - :param segment_terminator: Required. The segment terminator. - :type segment_terminator: int - :param character_set: Required. The X12 character set. Possible values - include: 'NotSpecified', 'Basic', 'Extended', 'UTF8' - :type character_set: str or ~azure.mgmt.logic.models.X12CharacterSet - :param segment_terminator_suffix: Required. The segment terminator suffix. - Possible values include: 'NotSpecified', 'None', 'CR', 'LF', 'CRLF' - :type segment_terminator_suffix: str or - ~azure.mgmt.logic.models.SegmentTerminatorSuffix - """ - - _validation = { - 'data_element_separator': {'required': True}, - 'component_separator': {'required': True}, - 'replace_separators_in_payload': {'required': True}, - 'replace_character': {'required': True}, - 'segment_terminator': {'required': True}, - 'character_set': {'required': True}, - 'segment_terminator_suffix': {'required': True}, - } - - _attribute_map = { - 'data_element_separator': {'key': 'dataElementSeparator', 'type': 'int'}, - 'component_separator': {'key': 'componentSeparator', 'type': 'int'}, - 'replace_separators_in_payload': {'key': 'replaceSeparatorsInPayload', 'type': 'bool'}, - 'replace_character': {'key': 'replaceCharacter', 'type': 'int'}, - 'segment_terminator': {'key': 'segmentTerminator', 'type': 'int'}, - 'character_set': {'key': 'characterSet', 'type': 'str'}, - 'segment_terminator_suffix': {'key': 'segmentTerminatorSuffix', 'type': 'SegmentTerminatorSuffix'}, - } - - def __init__(self, **kwargs): - super(X12FramingSettings, self).__init__(**kwargs) - self.data_element_separator = kwargs.get('data_element_separator', None) - self.component_separator = kwargs.get('component_separator', None) - self.replace_separators_in_payload = kwargs.get('replace_separators_in_payload', None) - self.replace_character = kwargs.get('replace_character', None) - self.segment_terminator = kwargs.get('segment_terminator', None) - self.character_set = kwargs.get('character_set', None) - self.segment_terminator_suffix = kwargs.get('segment_terminator_suffix', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_framing_settings_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_framing_settings_py3.py deleted file mode 100644 index ffd8f09a407d..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_framing_settings_py3.py +++ /dev/null @@ -1,68 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class X12FramingSettings(Model): - """The X12 agreement framing settings. - - All required parameters must be populated in order to send to Azure. - - :param data_element_separator: Required. The data element separator. - :type data_element_separator: int - :param component_separator: Required. The component separator. - :type component_separator: int - :param replace_separators_in_payload: Required. The value indicating - whether to replace separators in payload. - :type replace_separators_in_payload: bool - :param replace_character: Required. The replacement character. - :type replace_character: int - :param segment_terminator: Required. The segment terminator. - :type segment_terminator: int - :param character_set: Required. The X12 character set. Possible values - include: 'NotSpecified', 'Basic', 'Extended', 'UTF8' - :type character_set: str or ~azure.mgmt.logic.models.X12CharacterSet - :param segment_terminator_suffix: Required. The segment terminator suffix. - Possible values include: 'NotSpecified', 'None', 'CR', 'LF', 'CRLF' - :type segment_terminator_suffix: str or - ~azure.mgmt.logic.models.SegmentTerminatorSuffix - """ - - _validation = { - 'data_element_separator': {'required': True}, - 'component_separator': {'required': True}, - 'replace_separators_in_payload': {'required': True}, - 'replace_character': {'required': True}, - 'segment_terminator': {'required': True}, - 'character_set': {'required': True}, - 'segment_terminator_suffix': {'required': True}, - } - - _attribute_map = { - 'data_element_separator': {'key': 'dataElementSeparator', 'type': 'int'}, - 'component_separator': {'key': 'componentSeparator', 'type': 'int'}, - 'replace_separators_in_payload': {'key': 'replaceSeparatorsInPayload', 'type': 'bool'}, - 'replace_character': {'key': 'replaceCharacter', 'type': 'int'}, - 'segment_terminator': {'key': 'segmentTerminator', 'type': 'int'}, - 'character_set': {'key': 'characterSet', 'type': 'str'}, - 'segment_terminator_suffix': {'key': 'segmentTerminatorSuffix', 'type': 'SegmentTerminatorSuffix'}, - } - - def __init__(self, *, data_element_separator: int, component_separator: int, replace_separators_in_payload: bool, replace_character: int, segment_terminator: int, character_set, segment_terminator_suffix, **kwargs) -> None: - super(X12FramingSettings, self).__init__(**kwargs) - self.data_element_separator = data_element_separator - self.component_separator = component_separator - self.replace_separators_in_payload = replace_separators_in_payload - self.replace_character = replace_character - self.segment_terminator = segment_terminator - self.character_set = character_set - self.segment_terminator_suffix = segment_terminator_suffix diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_message_filter.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_message_filter.py deleted file mode 100644 index cfcbb4579685..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_message_filter.py +++ /dev/null @@ -1,36 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class X12MessageFilter(Model): - """The X12 message filter for odata query. - - All required parameters must be populated in order to send to Azure. - - :param message_filter_type: Required. The message filter type. Possible - values include: 'NotSpecified', 'Include', 'Exclude' - :type message_filter_type: str or - ~azure.mgmt.logic.models.MessageFilterType - """ - - _validation = { - 'message_filter_type': {'required': True}, - } - - _attribute_map = { - 'message_filter_type': {'key': 'messageFilterType', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(X12MessageFilter, self).__init__(**kwargs) - self.message_filter_type = kwargs.get('message_filter_type', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_message_filter_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_message_filter_py3.py deleted file mode 100644 index 052e4feeb2d3..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_message_filter_py3.py +++ /dev/null @@ -1,36 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class X12MessageFilter(Model): - """The X12 message filter for odata query. - - All required parameters must be populated in order to send to Azure. - - :param message_filter_type: Required. The message filter type. Possible - values include: 'NotSpecified', 'Include', 'Exclude' - :type message_filter_type: str or - ~azure.mgmt.logic.models.MessageFilterType - """ - - _validation = { - 'message_filter_type': {'required': True}, - } - - _attribute_map = { - 'message_filter_type': {'key': 'messageFilterType', 'type': 'str'}, - } - - def __init__(self, *, message_filter_type, **kwargs) -> None: - super(X12MessageFilter, self).__init__(**kwargs) - self.message_filter_type = message_filter_type diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_message_identifier.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_message_identifier.py deleted file mode 100644 index 97cd0c89c7c3..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_message_identifier.py +++ /dev/null @@ -1,34 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class X12MessageIdentifier(Model): - """The X12 message identifier. - - All required parameters must be populated in order to send to Azure. - - :param message_id: Required. The message id. - :type message_id: str - """ - - _validation = { - 'message_id': {'required': True}, - } - - _attribute_map = { - 'message_id': {'key': 'messageId', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(X12MessageIdentifier, self).__init__(**kwargs) - self.message_id = kwargs.get('message_id', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_message_identifier_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_message_identifier_py3.py deleted file mode 100644 index 1d7fcee46c94..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_message_identifier_py3.py +++ /dev/null @@ -1,34 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class X12MessageIdentifier(Model): - """The X12 message identifier. - - All required parameters must be populated in order to send to Azure. - - :param message_id: Required. The message id. - :type message_id: str - """ - - _validation = { - 'message_id': {'required': True}, - } - - _attribute_map = { - 'message_id': {'key': 'messageId', 'type': 'str'}, - } - - def __init__(self, *, message_id: str, **kwargs) -> None: - super(X12MessageIdentifier, self).__init__(**kwargs) - self.message_id = message_id diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_one_way_agreement.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_one_way_agreement.py deleted file mode 100644 index 7d5038dceef5..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_one_way_agreement.py +++ /dev/null @@ -1,46 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class X12OneWayAgreement(Model): - """The X12 one-way agreement. - - All required parameters must be populated in order to send to Azure. - - :param sender_business_identity: Required. The sender business identity - :type sender_business_identity: ~azure.mgmt.logic.models.BusinessIdentity - :param receiver_business_identity: Required. The receiver business - identity - :type receiver_business_identity: - ~azure.mgmt.logic.models.BusinessIdentity - :param protocol_settings: Required. The X12 protocol settings. - :type protocol_settings: ~azure.mgmt.logic.models.X12ProtocolSettings - """ - - _validation = { - 'sender_business_identity': {'required': True}, - 'receiver_business_identity': {'required': True}, - 'protocol_settings': {'required': True}, - } - - _attribute_map = { - 'sender_business_identity': {'key': 'senderBusinessIdentity', 'type': 'BusinessIdentity'}, - 'receiver_business_identity': {'key': 'receiverBusinessIdentity', 'type': 'BusinessIdentity'}, - 'protocol_settings': {'key': 'protocolSettings', 'type': 'X12ProtocolSettings'}, - } - - def __init__(self, **kwargs): - super(X12OneWayAgreement, self).__init__(**kwargs) - self.sender_business_identity = kwargs.get('sender_business_identity', None) - self.receiver_business_identity = kwargs.get('receiver_business_identity', None) - self.protocol_settings = kwargs.get('protocol_settings', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_one_way_agreement_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_one_way_agreement_py3.py deleted file mode 100644 index 3caddb04ea2c..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_one_way_agreement_py3.py +++ /dev/null @@ -1,46 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class X12OneWayAgreement(Model): - """The X12 one-way agreement. - - All required parameters must be populated in order to send to Azure. - - :param sender_business_identity: Required. The sender business identity - :type sender_business_identity: ~azure.mgmt.logic.models.BusinessIdentity - :param receiver_business_identity: Required. The receiver business - identity - :type receiver_business_identity: - ~azure.mgmt.logic.models.BusinessIdentity - :param protocol_settings: Required. The X12 protocol settings. - :type protocol_settings: ~azure.mgmt.logic.models.X12ProtocolSettings - """ - - _validation = { - 'sender_business_identity': {'required': True}, - 'receiver_business_identity': {'required': True}, - 'protocol_settings': {'required': True}, - } - - _attribute_map = { - 'sender_business_identity': {'key': 'senderBusinessIdentity', 'type': 'BusinessIdentity'}, - 'receiver_business_identity': {'key': 'receiverBusinessIdentity', 'type': 'BusinessIdentity'}, - 'protocol_settings': {'key': 'protocolSettings', 'type': 'X12ProtocolSettings'}, - } - - def __init__(self, *, sender_business_identity, receiver_business_identity, protocol_settings, **kwargs) -> None: - super(X12OneWayAgreement, self).__init__(**kwargs) - self.sender_business_identity = sender_business_identity - self.receiver_business_identity = receiver_business_identity - self.protocol_settings = protocol_settings diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_processing_settings.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_processing_settings.py deleted file mode 100644 index cf116affd990..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_processing_settings.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class X12ProcessingSettings(Model): - """The X12 processing settings. - - All required parameters must be populated in order to send to Azure. - - :param mask_security_info: Required. The value indicating whether to mask - security information. - :type mask_security_info: bool - :param convert_implied_decimal: Required. The value indicating whether to - convert numerical type to implied decimal. - :type convert_implied_decimal: bool - :param preserve_interchange: Required. The value indicating whether to - preserve interchange. - :type preserve_interchange: bool - :param suspend_interchange_on_error: Required. The value indicating - whether to suspend interchange on error. - :type suspend_interchange_on_error: bool - :param create_empty_xml_tags_for_trailing_separators: Required. The value - indicating whether to create empty xml tags for trailing separators. - :type create_empty_xml_tags_for_trailing_separators: bool - :param use_dot_as_decimal_separator: Required. The value indicating - whether to use dot as decimal separator. - :type use_dot_as_decimal_separator: bool - """ - - _validation = { - 'mask_security_info': {'required': True}, - 'convert_implied_decimal': {'required': True}, - 'preserve_interchange': {'required': True}, - 'suspend_interchange_on_error': {'required': True}, - 'create_empty_xml_tags_for_trailing_separators': {'required': True}, - 'use_dot_as_decimal_separator': {'required': True}, - } - - _attribute_map = { - 'mask_security_info': {'key': 'maskSecurityInfo', 'type': 'bool'}, - 'convert_implied_decimal': {'key': 'convertImpliedDecimal', 'type': 'bool'}, - 'preserve_interchange': {'key': 'preserveInterchange', 'type': 'bool'}, - 'suspend_interchange_on_error': {'key': 'suspendInterchangeOnError', 'type': 'bool'}, - 'create_empty_xml_tags_for_trailing_separators': {'key': 'createEmptyXmlTagsForTrailingSeparators', 'type': 'bool'}, - 'use_dot_as_decimal_separator': {'key': 'useDotAsDecimalSeparator', 'type': 'bool'}, - } - - def __init__(self, **kwargs): - super(X12ProcessingSettings, self).__init__(**kwargs) - self.mask_security_info = kwargs.get('mask_security_info', None) - self.convert_implied_decimal = kwargs.get('convert_implied_decimal', None) - self.preserve_interchange = kwargs.get('preserve_interchange', None) - self.suspend_interchange_on_error = kwargs.get('suspend_interchange_on_error', None) - self.create_empty_xml_tags_for_trailing_separators = kwargs.get('create_empty_xml_tags_for_trailing_separators', None) - self.use_dot_as_decimal_separator = kwargs.get('use_dot_as_decimal_separator', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_processing_settings_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_processing_settings_py3.py deleted file mode 100644 index 915cf16ee01c..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_processing_settings_py3.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class X12ProcessingSettings(Model): - """The X12 processing settings. - - All required parameters must be populated in order to send to Azure. - - :param mask_security_info: Required. The value indicating whether to mask - security information. - :type mask_security_info: bool - :param convert_implied_decimal: Required. The value indicating whether to - convert numerical type to implied decimal. - :type convert_implied_decimal: bool - :param preserve_interchange: Required. The value indicating whether to - preserve interchange. - :type preserve_interchange: bool - :param suspend_interchange_on_error: Required. The value indicating - whether to suspend interchange on error. - :type suspend_interchange_on_error: bool - :param create_empty_xml_tags_for_trailing_separators: Required. The value - indicating whether to create empty xml tags for trailing separators. - :type create_empty_xml_tags_for_trailing_separators: bool - :param use_dot_as_decimal_separator: Required. The value indicating - whether to use dot as decimal separator. - :type use_dot_as_decimal_separator: bool - """ - - _validation = { - 'mask_security_info': {'required': True}, - 'convert_implied_decimal': {'required': True}, - 'preserve_interchange': {'required': True}, - 'suspend_interchange_on_error': {'required': True}, - 'create_empty_xml_tags_for_trailing_separators': {'required': True}, - 'use_dot_as_decimal_separator': {'required': True}, - } - - _attribute_map = { - 'mask_security_info': {'key': 'maskSecurityInfo', 'type': 'bool'}, - 'convert_implied_decimal': {'key': 'convertImpliedDecimal', 'type': 'bool'}, - 'preserve_interchange': {'key': 'preserveInterchange', 'type': 'bool'}, - 'suspend_interchange_on_error': {'key': 'suspendInterchangeOnError', 'type': 'bool'}, - 'create_empty_xml_tags_for_trailing_separators': {'key': 'createEmptyXmlTagsForTrailingSeparators', 'type': 'bool'}, - 'use_dot_as_decimal_separator': {'key': 'useDotAsDecimalSeparator', 'type': 'bool'}, - } - - def __init__(self, *, mask_security_info: bool, convert_implied_decimal: bool, preserve_interchange: bool, suspend_interchange_on_error: bool, create_empty_xml_tags_for_trailing_separators: bool, use_dot_as_decimal_separator: bool, **kwargs) -> None: - super(X12ProcessingSettings, self).__init__(**kwargs) - self.mask_security_info = mask_security_info - self.convert_implied_decimal = convert_implied_decimal - self.preserve_interchange = preserve_interchange - self.suspend_interchange_on_error = suspend_interchange_on_error - self.create_empty_xml_tags_for_trailing_separators = create_empty_xml_tags_for_trailing_separators - self.use_dot_as_decimal_separator = use_dot_as_decimal_separator diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_protocol_settings.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_protocol_settings.py deleted file mode 100644 index ab1d7ac4d471..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_protocol_settings.py +++ /dev/null @@ -1,91 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class X12ProtocolSettings(Model): - """The X12 agreement protocol settings. - - All required parameters must be populated in order to send to Azure. - - :param validation_settings: Required. The X12 validation settings. - :type validation_settings: ~azure.mgmt.logic.models.X12ValidationSettings - :param framing_settings: Required. The X12 framing settings. - :type framing_settings: ~azure.mgmt.logic.models.X12FramingSettings - :param envelope_settings: Required. The X12 envelope settings. - :type envelope_settings: ~azure.mgmt.logic.models.X12EnvelopeSettings - :param acknowledgement_settings: Required. The X12 acknowledgment - settings. - :type acknowledgement_settings: - ~azure.mgmt.logic.models.X12AcknowledgementSettings - :param message_filter: Required. The X12 message filter. - :type message_filter: ~azure.mgmt.logic.models.X12MessageFilter - :param security_settings: Required. The X12 security settings. - :type security_settings: ~azure.mgmt.logic.models.X12SecuritySettings - :param processing_settings: Required. The X12 processing settings. - :type processing_settings: ~azure.mgmt.logic.models.X12ProcessingSettings - :param envelope_overrides: The X12 envelope override settings. - :type envelope_overrides: - list[~azure.mgmt.logic.models.X12EnvelopeOverride] - :param validation_overrides: The X12 validation override settings. - :type validation_overrides: - list[~azure.mgmt.logic.models.X12ValidationOverride] - :param message_filter_list: The X12 message filter list. - :type message_filter_list: - list[~azure.mgmt.logic.models.X12MessageIdentifier] - :param schema_references: Required. The X12 schema references. - :type schema_references: list[~azure.mgmt.logic.models.X12SchemaReference] - :param x12_delimiter_overrides: The X12 delimiter override settings. - :type x12_delimiter_overrides: - list[~azure.mgmt.logic.models.X12DelimiterOverrides] - """ - - _validation = { - 'validation_settings': {'required': True}, - 'framing_settings': {'required': True}, - 'envelope_settings': {'required': True}, - 'acknowledgement_settings': {'required': True}, - 'message_filter': {'required': True}, - 'security_settings': {'required': True}, - 'processing_settings': {'required': True}, - 'schema_references': {'required': True}, - } - - _attribute_map = { - 'validation_settings': {'key': 'validationSettings', 'type': 'X12ValidationSettings'}, - 'framing_settings': {'key': 'framingSettings', 'type': 'X12FramingSettings'}, - 'envelope_settings': {'key': 'envelopeSettings', 'type': 'X12EnvelopeSettings'}, - 'acknowledgement_settings': {'key': 'acknowledgementSettings', 'type': 'X12AcknowledgementSettings'}, - 'message_filter': {'key': 'messageFilter', 'type': 'X12MessageFilter'}, - 'security_settings': {'key': 'securitySettings', 'type': 'X12SecuritySettings'}, - 'processing_settings': {'key': 'processingSettings', 'type': 'X12ProcessingSettings'}, - 'envelope_overrides': {'key': 'envelopeOverrides', 'type': '[X12EnvelopeOverride]'}, - 'validation_overrides': {'key': 'validationOverrides', 'type': '[X12ValidationOverride]'}, - 'message_filter_list': {'key': 'messageFilterList', 'type': '[X12MessageIdentifier]'}, - 'schema_references': {'key': 'schemaReferences', 'type': '[X12SchemaReference]'}, - 'x12_delimiter_overrides': {'key': 'x12DelimiterOverrides', 'type': '[X12DelimiterOverrides]'}, - } - - def __init__(self, **kwargs): - super(X12ProtocolSettings, self).__init__(**kwargs) - self.validation_settings = kwargs.get('validation_settings', None) - self.framing_settings = kwargs.get('framing_settings', None) - self.envelope_settings = kwargs.get('envelope_settings', None) - self.acknowledgement_settings = kwargs.get('acknowledgement_settings', None) - self.message_filter = kwargs.get('message_filter', None) - self.security_settings = kwargs.get('security_settings', None) - self.processing_settings = kwargs.get('processing_settings', None) - self.envelope_overrides = kwargs.get('envelope_overrides', None) - self.validation_overrides = kwargs.get('validation_overrides', None) - self.message_filter_list = kwargs.get('message_filter_list', None) - self.schema_references = kwargs.get('schema_references', None) - self.x12_delimiter_overrides = kwargs.get('x12_delimiter_overrides', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_protocol_settings_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_protocol_settings_py3.py deleted file mode 100644 index 3f328db1133e..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_protocol_settings_py3.py +++ /dev/null @@ -1,91 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class X12ProtocolSettings(Model): - """The X12 agreement protocol settings. - - All required parameters must be populated in order to send to Azure. - - :param validation_settings: Required. The X12 validation settings. - :type validation_settings: ~azure.mgmt.logic.models.X12ValidationSettings - :param framing_settings: Required. The X12 framing settings. - :type framing_settings: ~azure.mgmt.logic.models.X12FramingSettings - :param envelope_settings: Required. The X12 envelope settings. - :type envelope_settings: ~azure.mgmt.logic.models.X12EnvelopeSettings - :param acknowledgement_settings: Required. The X12 acknowledgment - settings. - :type acknowledgement_settings: - ~azure.mgmt.logic.models.X12AcknowledgementSettings - :param message_filter: Required. The X12 message filter. - :type message_filter: ~azure.mgmt.logic.models.X12MessageFilter - :param security_settings: Required. The X12 security settings. - :type security_settings: ~azure.mgmt.logic.models.X12SecuritySettings - :param processing_settings: Required. The X12 processing settings. - :type processing_settings: ~azure.mgmt.logic.models.X12ProcessingSettings - :param envelope_overrides: The X12 envelope override settings. - :type envelope_overrides: - list[~azure.mgmt.logic.models.X12EnvelopeOverride] - :param validation_overrides: The X12 validation override settings. - :type validation_overrides: - list[~azure.mgmt.logic.models.X12ValidationOverride] - :param message_filter_list: The X12 message filter list. - :type message_filter_list: - list[~azure.mgmt.logic.models.X12MessageIdentifier] - :param schema_references: Required. The X12 schema references. - :type schema_references: list[~azure.mgmt.logic.models.X12SchemaReference] - :param x12_delimiter_overrides: The X12 delimiter override settings. - :type x12_delimiter_overrides: - list[~azure.mgmt.logic.models.X12DelimiterOverrides] - """ - - _validation = { - 'validation_settings': {'required': True}, - 'framing_settings': {'required': True}, - 'envelope_settings': {'required': True}, - 'acknowledgement_settings': {'required': True}, - 'message_filter': {'required': True}, - 'security_settings': {'required': True}, - 'processing_settings': {'required': True}, - 'schema_references': {'required': True}, - } - - _attribute_map = { - 'validation_settings': {'key': 'validationSettings', 'type': 'X12ValidationSettings'}, - 'framing_settings': {'key': 'framingSettings', 'type': 'X12FramingSettings'}, - 'envelope_settings': {'key': 'envelopeSettings', 'type': 'X12EnvelopeSettings'}, - 'acknowledgement_settings': {'key': 'acknowledgementSettings', 'type': 'X12AcknowledgementSettings'}, - 'message_filter': {'key': 'messageFilter', 'type': 'X12MessageFilter'}, - 'security_settings': {'key': 'securitySettings', 'type': 'X12SecuritySettings'}, - 'processing_settings': {'key': 'processingSettings', 'type': 'X12ProcessingSettings'}, - 'envelope_overrides': {'key': 'envelopeOverrides', 'type': '[X12EnvelopeOverride]'}, - 'validation_overrides': {'key': 'validationOverrides', 'type': '[X12ValidationOverride]'}, - 'message_filter_list': {'key': 'messageFilterList', 'type': '[X12MessageIdentifier]'}, - 'schema_references': {'key': 'schemaReferences', 'type': '[X12SchemaReference]'}, - 'x12_delimiter_overrides': {'key': 'x12DelimiterOverrides', 'type': '[X12DelimiterOverrides]'}, - } - - def __init__(self, *, validation_settings, framing_settings, envelope_settings, acknowledgement_settings, message_filter, security_settings, processing_settings, schema_references, envelope_overrides=None, validation_overrides=None, message_filter_list=None, x12_delimiter_overrides=None, **kwargs) -> None: - super(X12ProtocolSettings, self).__init__(**kwargs) - self.validation_settings = validation_settings - self.framing_settings = framing_settings - self.envelope_settings = envelope_settings - self.acknowledgement_settings = acknowledgement_settings - self.message_filter = message_filter - self.security_settings = security_settings - self.processing_settings = processing_settings - self.envelope_overrides = envelope_overrides - self.validation_overrides = validation_overrides - self.message_filter_list = message_filter_list - self.schema_references = schema_references - self.x12_delimiter_overrides = x12_delimiter_overrides diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_schema_reference.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_schema_reference.py deleted file mode 100644 index dc8519933d95..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_schema_reference.py +++ /dev/null @@ -1,48 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class X12SchemaReference(Model): - """The X12 schema reference. - - All required parameters must be populated in order to send to Azure. - - :param message_id: Required. The message id. - :type message_id: str - :param sender_application_id: The sender application id. - :type sender_application_id: str - :param schema_version: Required. The schema version. - :type schema_version: str - :param schema_name: Required. The schema name. - :type schema_name: str - """ - - _validation = { - 'message_id': {'required': True}, - 'schema_version': {'required': True}, - 'schema_name': {'required': True}, - } - - _attribute_map = { - 'message_id': {'key': 'messageId', 'type': 'str'}, - 'sender_application_id': {'key': 'senderApplicationId', 'type': 'str'}, - 'schema_version': {'key': 'schemaVersion', 'type': 'str'}, - 'schema_name': {'key': 'schemaName', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(X12SchemaReference, self).__init__(**kwargs) - self.message_id = kwargs.get('message_id', None) - self.sender_application_id = kwargs.get('sender_application_id', None) - self.schema_version = kwargs.get('schema_version', None) - self.schema_name = kwargs.get('schema_name', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_schema_reference_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_schema_reference_py3.py deleted file mode 100644 index e57f4d8806d4..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_schema_reference_py3.py +++ /dev/null @@ -1,48 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class X12SchemaReference(Model): - """The X12 schema reference. - - All required parameters must be populated in order to send to Azure. - - :param message_id: Required. The message id. - :type message_id: str - :param sender_application_id: The sender application id. - :type sender_application_id: str - :param schema_version: Required. The schema version. - :type schema_version: str - :param schema_name: Required. The schema name. - :type schema_name: str - """ - - _validation = { - 'message_id': {'required': True}, - 'schema_version': {'required': True}, - 'schema_name': {'required': True}, - } - - _attribute_map = { - 'message_id': {'key': 'messageId', 'type': 'str'}, - 'sender_application_id': {'key': 'senderApplicationId', 'type': 'str'}, - 'schema_version': {'key': 'schemaVersion', 'type': 'str'}, - 'schema_name': {'key': 'schemaName', 'type': 'str'}, - } - - def __init__(self, *, message_id: str, schema_version: str, schema_name: str, sender_application_id: str=None, **kwargs) -> None: - super(X12SchemaReference, self).__init__(**kwargs) - self.message_id = message_id - self.sender_application_id = sender_application_id - self.schema_version = schema_version - self.schema_name = schema_name diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_security_settings.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_security_settings.py deleted file mode 100644 index 96f57189b72e..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_security_settings.py +++ /dev/null @@ -1,47 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class X12SecuritySettings(Model): - """The X12 agreement security settings. - - All required parameters must be populated in order to send to Azure. - - :param authorization_qualifier: Required. The authorization qualifier. - :type authorization_qualifier: str - :param authorization_value: The authorization value. - :type authorization_value: str - :param security_qualifier: Required. The security qualifier. - :type security_qualifier: str - :param password_value: The password value. - :type password_value: str - """ - - _validation = { - 'authorization_qualifier': {'required': True}, - 'security_qualifier': {'required': True}, - } - - _attribute_map = { - 'authorization_qualifier': {'key': 'authorizationQualifier', 'type': 'str'}, - 'authorization_value': {'key': 'authorizationValue', 'type': 'str'}, - 'security_qualifier': {'key': 'securityQualifier', 'type': 'str'}, - 'password_value': {'key': 'passwordValue', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(X12SecuritySettings, self).__init__(**kwargs) - self.authorization_qualifier = kwargs.get('authorization_qualifier', None) - self.authorization_value = kwargs.get('authorization_value', None) - self.security_qualifier = kwargs.get('security_qualifier', None) - self.password_value = kwargs.get('password_value', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_security_settings_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_security_settings_py3.py deleted file mode 100644 index fd3591dffd2a..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_security_settings_py3.py +++ /dev/null @@ -1,47 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class X12SecuritySettings(Model): - """The X12 agreement security settings. - - All required parameters must be populated in order to send to Azure. - - :param authorization_qualifier: Required. The authorization qualifier. - :type authorization_qualifier: str - :param authorization_value: The authorization value. - :type authorization_value: str - :param security_qualifier: Required. The security qualifier. - :type security_qualifier: str - :param password_value: The password value. - :type password_value: str - """ - - _validation = { - 'authorization_qualifier': {'required': True}, - 'security_qualifier': {'required': True}, - } - - _attribute_map = { - 'authorization_qualifier': {'key': 'authorizationQualifier', 'type': 'str'}, - 'authorization_value': {'key': 'authorizationValue', 'type': 'str'}, - 'security_qualifier': {'key': 'securityQualifier', 'type': 'str'}, - 'password_value': {'key': 'passwordValue', 'type': 'str'}, - } - - def __init__(self, *, authorization_qualifier: str, security_qualifier: str, authorization_value: str=None, password_value: str=None, **kwargs) -> None: - super(X12SecuritySettings, self).__init__(**kwargs) - self.authorization_qualifier = authorization_qualifier - self.authorization_value = authorization_value - self.security_qualifier = security_qualifier - self.password_value = password_value diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_validation_override.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_validation_override.py deleted file mode 100644 index 35beb6787a74..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_validation_override.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class X12ValidationOverride(Model): - """The X12 validation override settings. - - All required parameters must be populated in order to send to Azure. - - :param message_id: Required. The message id on which the validation - settings has to be applied. - :type message_id: str - :param validate_edi_types: Required. The value indicating whether to - validate EDI types. - :type validate_edi_types: bool - :param validate_xsd_types: Required. The value indicating whether to - validate XSD types. - :type validate_xsd_types: bool - :param allow_leading_and_trailing_spaces_and_zeroes: Required. The value - indicating whether to allow leading and trailing spaces and zeroes. - :type allow_leading_and_trailing_spaces_and_zeroes: bool - :param validate_character_set: Required. The value indicating whether to - validate character Set. - :type validate_character_set: bool - :param trim_leading_and_trailing_spaces_and_zeroes: Required. The value - indicating whether to trim leading and trailing spaces and zeroes. - :type trim_leading_and_trailing_spaces_and_zeroes: bool - :param trailing_separator_policy: Required. The trailing separator policy. - Possible values include: 'NotSpecified', 'NotAllowed', 'Optional', - 'Mandatory' - :type trailing_separator_policy: str or - ~azure.mgmt.logic.models.TrailingSeparatorPolicy - """ - - _validation = { - 'message_id': {'required': True}, - 'validate_edi_types': {'required': True}, - 'validate_xsd_types': {'required': True}, - 'allow_leading_and_trailing_spaces_and_zeroes': {'required': True}, - 'validate_character_set': {'required': True}, - 'trim_leading_and_trailing_spaces_and_zeroes': {'required': True}, - 'trailing_separator_policy': {'required': True}, - } - - _attribute_map = { - 'message_id': {'key': 'messageId', 'type': 'str'}, - 'validate_edi_types': {'key': 'validateEDITypes', 'type': 'bool'}, - 'validate_xsd_types': {'key': 'validateXSDTypes', 'type': 'bool'}, - 'allow_leading_and_trailing_spaces_and_zeroes': {'key': 'allowLeadingAndTrailingSpacesAndZeroes', 'type': 'bool'}, - 'validate_character_set': {'key': 'validateCharacterSet', 'type': 'bool'}, - 'trim_leading_and_trailing_spaces_and_zeroes': {'key': 'trimLeadingAndTrailingSpacesAndZeroes', 'type': 'bool'}, - 'trailing_separator_policy': {'key': 'trailingSeparatorPolicy', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(X12ValidationOverride, self).__init__(**kwargs) - self.message_id = kwargs.get('message_id', None) - self.validate_edi_types = kwargs.get('validate_edi_types', None) - self.validate_xsd_types = kwargs.get('validate_xsd_types', None) - self.allow_leading_and_trailing_spaces_and_zeroes = kwargs.get('allow_leading_and_trailing_spaces_and_zeroes', None) - self.validate_character_set = kwargs.get('validate_character_set', None) - self.trim_leading_and_trailing_spaces_and_zeroes = kwargs.get('trim_leading_and_trailing_spaces_and_zeroes', None) - self.trailing_separator_policy = kwargs.get('trailing_separator_policy', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_validation_override_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_validation_override_py3.py deleted file mode 100644 index 4b27fb024434..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_validation_override_py3.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class X12ValidationOverride(Model): - """The X12 validation override settings. - - All required parameters must be populated in order to send to Azure. - - :param message_id: Required. The message id on which the validation - settings has to be applied. - :type message_id: str - :param validate_edi_types: Required. The value indicating whether to - validate EDI types. - :type validate_edi_types: bool - :param validate_xsd_types: Required. The value indicating whether to - validate XSD types. - :type validate_xsd_types: bool - :param allow_leading_and_trailing_spaces_and_zeroes: Required. The value - indicating whether to allow leading and trailing spaces and zeroes. - :type allow_leading_and_trailing_spaces_and_zeroes: bool - :param validate_character_set: Required. The value indicating whether to - validate character Set. - :type validate_character_set: bool - :param trim_leading_and_trailing_spaces_and_zeroes: Required. The value - indicating whether to trim leading and trailing spaces and zeroes. - :type trim_leading_and_trailing_spaces_and_zeroes: bool - :param trailing_separator_policy: Required. The trailing separator policy. - Possible values include: 'NotSpecified', 'NotAllowed', 'Optional', - 'Mandatory' - :type trailing_separator_policy: str or - ~azure.mgmt.logic.models.TrailingSeparatorPolicy - """ - - _validation = { - 'message_id': {'required': True}, - 'validate_edi_types': {'required': True}, - 'validate_xsd_types': {'required': True}, - 'allow_leading_and_trailing_spaces_and_zeroes': {'required': True}, - 'validate_character_set': {'required': True}, - 'trim_leading_and_trailing_spaces_and_zeroes': {'required': True}, - 'trailing_separator_policy': {'required': True}, - } - - _attribute_map = { - 'message_id': {'key': 'messageId', 'type': 'str'}, - 'validate_edi_types': {'key': 'validateEDITypes', 'type': 'bool'}, - 'validate_xsd_types': {'key': 'validateXSDTypes', 'type': 'bool'}, - 'allow_leading_and_trailing_spaces_and_zeroes': {'key': 'allowLeadingAndTrailingSpacesAndZeroes', 'type': 'bool'}, - 'validate_character_set': {'key': 'validateCharacterSet', 'type': 'bool'}, - 'trim_leading_and_trailing_spaces_and_zeroes': {'key': 'trimLeadingAndTrailingSpacesAndZeroes', 'type': 'bool'}, - 'trailing_separator_policy': {'key': 'trailingSeparatorPolicy', 'type': 'str'}, - } - - def __init__(self, *, message_id: str, validate_edi_types: bool, validate_xsd_types: bool, allow_leading_and_trailing_spaces_and_zeroes: bool, validate_character_set: bool, trim_leading_and_trailing_spaces_and_zeroes: bool, trailing_separator_policy, **kwargs) -> None: - super(X12ValidationOverride, self).__init__(**kwargs) - self.message_id = message_id - self.validate_edi_types = validate_edi_types - self.validate_xsd_types = validate_xsd_types - self.allow_leading_and_trailing_spaces_and_zeroes = allow_leading_and_trailing_spaces_and_zeroes - self.validate_character_set = validate_character_set - self.trim_leading_and_trailing_spaces_and_zeroes = trim_leading_and_trailing_spaces_and_zeroes - self.trailing_separator_policy = trailing_separator_policy diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_validation_settings.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_validation_settings.py deleted file mode 100644 index 3fcbee7a88a4..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_validation_settings.py +++ /dev/null @@ -1,91 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class X12ValidationSettings(Model): - """The X12 agreement validation settings. - - All required parameters must be populated in order to send to Azure. - - :param validate_character_set: Required. The value indicating whether to - validate character set in the message. - :type validate_character_set: bool - :param check_duplicate_interchange_control_number: Required. The value - indicating whether to check for duplicate interchange control number. - :type check_duplicate_interchange_control_number: bool - :param interchange_control_number_validity_days: Required. The validity - period of interchange control number. - :type interchange_control_number_validity_days: int - :param check_duplicate_group_control_number: Required. The value - indicating whether to check for duplicate group control number. - :type check_duplicate_group_control_number: bool - :param check_duplicate_transaction_set_control_number: Required. The value - indicating whether to check for duplicate transaction set control number. - :type check_duplicate_transaction_set_control_number: bool - :param validate_edi_types: Required. The value indicating whether to - Whether to validate EDI types. - :type validate_edi_types: bool - :param validate_xsd_types: Required. The value indicating whether to - Whether to validate XSD types. - :type validate_xsd_types: bool - :param allow_leading_and_trailing_spaces_and_zeroes: Required. The value - indicating whether to allow leading and trailing spaces and zeroes. - :type allow_leading_and_trailing_spaces_and_zeroes: bool - :param trim_leading_and_trailing_spaces_and_zeroes: Required. The value - indicating whether to trim leading and trailing spaces and zeroes. - :type trim_leading_and_trailing_spaces_and_zeroes: bool - :param trailing_separator_policy: Required. The trailing separator policy. - Possible values include: 'NotSpecified', 'NotAllowed', 'Optional', - 'Mandatory' - :type trailing_separator_policy: str or - ~azure.mgmt.logic.models.TrailingSeparatorPolicy - """ - - _validation = { - 'validate_character_set': {'required': True}, - 'check_duplicate_interchange_control_number': {'required': True}, - 'interchange_control_number_validity_days': {'required': True}, - 'check_duplicate_group_control_number': {'required': True}, - 'check_duplicate_transaction_set_control_number': {'required': True}, - 'validate_edi_types': {'required': True}, - 'validate_xsd_types': {'required': True}, - 'allow_leading_and_trailing_spaces_and_zeroes': {'required': True}, - 'trim_leading_and_trailing_spaces_and_zeroes': {'required': True}, - 'trailing_separator_policy': {'required': True}, - } - - _attribute_map = { - 'validate_character_set': {'key': 'validateCharacterSet', 'type': 'bool'}, - 'check_duplicate_interchange_control_number': {'key': 'checkDuplicateInterchangeControlNumber', 'type': 'bool'}, - 'interchange_control_number_validity_days': {'key': 'interchangeControlNumberValidityDays', 'type': 'int'}, - 'check_duplicate_group_control_number': {'key': 'checkDuplicateGroupControlNumber', 'type': 'bool'}, - 'check_duplicate_transaction_set_control_number': {'key': 'checkDuplicateTransactionSetControlNumber', 'type': 'bool'}, - 'validate_edi_types': {'key': 'validateEDITypes', 'type': 'bool'}, - 'validate_xsd_types': {'key': 'validateXSDTypes', 'type': 'bool'}, - 'allow_leading_and_trailing_spaces_and_zeroes': {'key': 'allowLeadingAndTrailingSpacesAndZeroes', 'type': 'bool'}, - 'trim_leading_and_trailing_spaces_and_zeroes': {'key': 'trimLeadingAndTrailingSpacesAndZeroes', 'type': 'bool'}, - 'trailing_separator_policy': {'key': 'trailingSeparatorPolicy', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(X12ValidationSettings, self).__init__(**kwargs) - self.validate_character_set = kwargs.get('validate_character_set', None) - self.check_duplicate_interchange_control_number = kwargs.get('check_duplicate_interchange_control_number', None) - self.interchange_control_number_validity_days = kwargs.get('interchange_control_number_validity_days', None) - self.check_duplicate_group_control_number = kwargs.get('check_duplicate_group_control_number', None) - self.check_duplicate_transaction_set_control_number = kwargs.get('check_duplicate_transaction_set_control_number', None) - self.validate_edi_types = kwargs.get('validate_edi_types', None) - self.validate_xsd_types = kwargs.get('validate_xsd_types', None) - self.allow_leading_and_trailing_spaces_and_zeroes = kwargs.get('allow_leading_and_trailing_spaces_and_zeroes', None) - self.trim_leading_and_trailing_spaces_and_zeroes = kwargs.get('trim_leading_and_trailing_spaces_and_zeroes', None) - self.trailing_separator_policy = kwargs.get('trailing_separator_policy', None) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_validation_settings_py3.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_validation_settings_py3.py deleted file mode 100644 index 176e112201f9..000000000000 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/models/x12_validation_settings_py3.py +++ /dev/null @@ -1,91 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class X12ValidationSettings(Model): - """The X12 agreement validation settings. - - All required parameters must be populated in order to send to Azure. - - :param validate_character_set: Required. The value indicating whether to - validate character set in the message. - :type validate_character_set: bool - :param check_duplicate_interchange_control_number: Required. The value - indicating whether to check for duplicate interchange control number. - :type check_duplicate_interchange_control_number: bool - :param interchange_control_number_validity_days: Required. The validity - period of interchange control number. - :type interchange_control_number_validity_days: int - :param check_duplicate_group_control_number: Required. The value - indicating whether to check for duplicate group control number. - :type check_duplicate_group_control_number: bool - :param check_duplicate_transaction_set_control_number: Required. The value - indicating whether to check for duplicate transaction set control number. - :type check_duplicate_transaction_set_control_number: bool - :param validate_edi_types: Required. The value indicating whether to - Whether to validate EDI types. - :type validate_edi_types: bool - :param validate_xsd_types: Required. The value indicating whether to - Whether to validate XSD types. - :type validate_xsd_types: bool - :param allow_leading_and_trailing_spaces_and_zeroes: Required. The value - indicating whether to allow leading and trailing spaces and zeroes. - :type allow_leading_and_trailing_spaces_and_zeroes: bool - :param trim_leading_and_trailing_spaces_and_zeroes: Required. The value - indicating whether to trim leading and trailing spaces and zeroes. - :type trim_leading_and_trailing_spaces_and_zeroes: bool - :param trailing_separator_policy: Required. The trailing separator policy. - Possible values include: 'NotSpecified', 'NotAllowed', 'Optional', - 'Mandatory' - :type trailing_separator_policy: str or - ~azure.mgmt.logic.models.TrailingSeparatorPolicy - """ - - _validation = { - 'validate_character_set': {'required': True}, - 'check_duplicate_interchange_control_number': {'required': True}, - 'interchange_control_number_validity_days': {'required': True}, - 'check_duplicate_group_control_number': {'required': True}, - 'check_duplicate_transaction_set_control_number': {'required': True}, - 'validate_edi_types': {'required': True}, - 'validate_xsd_types': {'required': True}, - 'allow_leading_and_trailing_spaces_and_zeroes': {'required': True}, - 'trim_leading_and_trailing_spaces_and_zeroes': {'required': True}, - 'trailing_separator_policy': {'required': True}, - } - - _attribute_map = { - 'validate_character_set': {'key': 'validateCharacterSet', 'type': 'bool'}, - 'check_duplicate_interchange_control_number': {'key': 'checkDuplicateInterchangeControlNumber', 'type': 'bool'}, - 'interchange_control_number_validity_days': {'key': 'interchangeControlNumberValidityDays', 'type': 'int'}, - 'check_duplicate_group_control_number': {'key': 'checkDuplicateGroupControlNumber', 'type': 'bool'}, - 'check_duplicate_transaction_set_control_number': {'key': 'checkDuplicateTransactionSetControlNumber', 'type': 'bool'}, - 'validate_edi_types': {'key': 'validateEDITypes', 'type': 'bool'}, - 'validate_xsd_types': {'key': 'validateXSDTypes', 'type': 'bool'}, - 'allow_leading_and_trailing_spaces_and_zeroes': {'key': 'allowLeadingAndTrailingSpacesAndZeroes', 'type': 'bool'}, - 'trim_leading_and_trailing_spaces_and_zeroes': {'key': 'trimLeadingAndTrailingSpacesAndZeroes', 'type': 'bool'}, - 'trailing_separator_policy': {'key': 'trailingSeparatorPolicy', 'type': 'str'}, - } - - def __init__(self, *, validate_character_set: bool, check_duplicate_interchange_control_number: bool, interchange_control_number_validity_days: int, check_duplicate_group_control_number: bool, check_duplicate_transaction_set_control_number: bool, validate_edi_types: bool, validate_xsd_types: bool, allow_leading_and_trailing_spaces_and_zeroes: bool, trim_leading_and_trailing_spaces_and_zeroes: bool, trailing_separator_policy, **kwargs) -> None: - super(X12ValidationSettings, self).__init__(**kwargs) - self.validate_character_set = validate_character_set - self.check_duplicate_interchange_control_number = check_duplicate_interchange_control_number - self.interchange_control_number_validity_days = interchange_control_number_validity_days - self.check_duplicate_group_control_number = check_duplicate_group_control_number - self.check_duplicate_transaction_set_control_number = check_duplicate_transaction_set_control_number - self.validate_edi_types = validate_edi_types - self.validate_xsd_types = validate_xsd_types - self.allow_leading_and_trailing_spaces_and_zeroes = allow_leading_and_trailing_spaces_and_zeroes - self.trim_leading_and_trailing_spaces_and_zeroes = trim_leading_and_trailing_spaces_and_zeroes - self.trailing_separator_policy = trailing_separator_policy diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/__init__.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/__init__.py index 71ca7f9ddd5e..aeb2a5fd1601 100644 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/__init__.py +++ b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/__init__.py @@ -9,28 +9,33 @@ # regenerated. # -------------------------------------------------------------------------- -from .workflows_operations import WorkflowsOperations -from .workflow_versions_operations import WorkflowVersionsOperations -from .workflow_triggers_operations import WorkflowTriggersOperations -from .workflow_version_triggers_operations import WorkflowVersionTriggersOperations -from .workflow_trigger_histories_operations import WorkflowTriggerHistoriesOperations -from .workflow_runs_operations import WorkflowRunsOperations -from .workflow_run_actions_operations import WorkflowRunActionsOperations -from .workflow_run_action_repetitions_operations import WorkflowRunActionRepetitionsOperations -from .workflow_run_action_repetitions_request_histories_operations import WorkflowRunActionRepetitionsRequestHistoriesOperations -from .workflow_run_action_request_histories_operations import WorkflowRunActionRequestHistoriesOperations -from .workflow_run_action_scope_repetitions_operations import WorkflowRunActionScopeRepetitionsOperations -from .workflow_run_operations import WorkflowRunOperations -from .integration_accounts_operations import IntegrationAccountsOperations -from .integration_account_assemblies_operations import IntegrationAccountAssembliesOperations -from .integration_account_batch_configurations_operations import IntegrationAccountBatchConfigurationsOperations -from .integration_account_schemas_operations import IntegrationAccountSchemasOperations -from .integration_account_maps_operations import IntegrationAccountMapsOperations -from .integration_account_partners_operations import IntegrationAccountPartnersOperations -from .integration_account_agreements_operations import IntegrationAccountAgreementsOperations -from .integration_account_certificates_operations import IntegrationAccountCertificatesOperations -from .integration_account_sessions_operations import IntegrationAccountSessionsOperations -from .operations import Operations +from ._workflows_operations import WorkflowsOperations +from ._workflow_versions_operations import WorkflowVersionsOperations +from ._workflow_triggers_operations import WorkflowTriggersOperations +from ._workflow_version_triggers_operations import WorkflowVersionTriggersOperations +from ._workflow_trigger_histories_operations import WorkflowTriggerHistoriesOperations +from ._workflow_runs_operations import WorkflowRunsOperations +from ._workflow_run_actions_operations import WorkflowRunActionsOperations +from ._workflow_run_action_repetitions_operations import WorkflowRunActionRepetitionsOperations +from ._workflow_run_action_repetitions_request_histories_operations import WorkflowRunActionRepetitionsRequestHistoriesOperations +from ._workflow_run_action_request_histories_operations import WorkflowRunActionRequestHistoriesOperations +from ._workflow_run_action_scope_repetitions_operations import WorkflowRunActionScopeRepetitionsOperations +from ._workflow_run_operations import WorkflowRunOperations +from ._integration_accounts_operations import IntegrationAccountsOperations +from ._integration_account_assemblies_operations import IntegrationAccountAssembliesOperations +from ._integration_account_batch_configurations_operations import IntegrationAccountBatchConfigurationsOperations +from ._integration_account_schemas_operations import IntegrationAccountSchemasOperations +from ._integration_account_maps_operations import IntegrationAccountMapsOperations +from ._integration_account_partners_operations import IntegrationAccountPartnersOperations +from ._integration_account_agreements_operations import IntegrationAccountAgreementsOperations +from ._integration_account_certificates_operations import IntegrationAccountCertificatesOperations +from ._integration_account_sessions_operations import IntegrationAccountSessionsOperations +from ._integration_service_environments_operations import IntegrationServiceEnvironmentsOperations +from ._integration_service_environment_skus_operations import IntegrationServiceEnvironmentSkusOperations +from ._integration_service_environment_network_health_operations import IntegrationServiceEnvironmentNetworkHealthOperations +from ._integration_service_environment_managed_apis_operations import IntegrationServiceEnvironmentManagedApisOperations +from ._integration_service_environment_managed_api_operations import IntegrationServiceEnvironmentManagedApiOperations +from ._operations import Operations __all__ = [ 'WorkflowsOperations', @@ -54,5 +59,10 @@ 'IntegrationAccountAgreementsOperations', 'IntegrationAccountCertificatesOperations', 'IntegrationAccountSessionsOperations', + 'IntegrationServiceEnvironmentsOperations', + 'IntegrationServiceEnvironmentSkusOperations', + 'IntegrationServiceEnvironmentNetworkHealthOperations', + 'IntegrationServiceEnvironmentManagedApisOperations', + 'IntegrationServiceEnvironmentManagedApiOperations', 'Operations', ] diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/integration_account_agreements_operations.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_integration_account_agreements_operations.py similarity index 92% rename from sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/integration_account_agreements_operations.py rename to sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_integration_account_agreements_operations.py index 89b061117b82..e33b0e0980eb 100644 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/integration_account_agreements_operations.py +++ b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_integration_account_agreements_operations.py @@ -11,7 +11,6 @@ import uuid from msrest.pipeline import ClientRawResponse -from msrestazure.azure_exceptions import CloudError from .. import models @@ -19,11 +18,13 @@ class IntegrationAccountAgreementsOperations(object): """IntegrationAccountAgreementsOperations operations. + You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute. + :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version. Constant value: "2018-07-01-preview". + :ivar api_version: The API version. Constant value: "2019-05-01". """ models = models @@ -33,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2018-07-01-preview" + self.api_version = "2019-05-01" self.config = config @@ -58,10 +59,10 @@ def list( :return: An iterator like instance of IntegrationAccountAgreement :rtype: ~azure.mgmt.logic.models.IntegrationAccountAgreementPaged[~azure.mgmt.logic.models.IntegrationAccountAgreement] - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ - def internal_paging(next_link=None, raw=False): - + def prepare_request(next_link=None): if not next_link: # Construct URL url = self.list.metadata['url'] @@ -96,22 +97,23 @@ def internal_paging(next_link=None, raw=False): # Construct and send request request = self._client.get(url, query_parameters, header_parameters) + return request + + def internal_paging(next_link=None): + request = prepare_request(next_link) + response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) return response # Deserialize response - deserialized = models.IntegrationAccountAgreementPaged(internal_paging, self._deserialize.dependencies) - + header_dict = None if raw: header_dict = {} - client_raw_response = models.IntegrationAccountAgreementPaged(internal_paging, self._deserialize.dependencies, header_dict) - return client_raw_response + deserialized = models.IntegrationAccountAgreementPaged(internal_paging, self._deserialize.dependencies, header_dict) return deserialized list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/agreements'} @@ -134,7 +136,8 @@ def get( :return: IntegrationAccountAgreement or ClientRawResponse if raw=true :rtype: ~azure.mgmt.logic.models.IntegrationAccountAgreement or ~msrest.pipeline.ClientRawResponse - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ # Construct URL url = self.get.metadata['url'] @@ -165,12 +168,9 @@ def get( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) deserialized = None - if response.status_code == 200: deserialized = self._deserialize('IntegrationAccountAgreement', response) @@ -201,7 +201,8 @@ def create_or_update( :return: IntegrationAccountAgreement or ClientRawResponse if raw=true :rtype: ~azure.mgmt.logic.models.IntegrationAccountAgreement or ~msrest.pipeline.ClientRawResponse - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ # Construct URL url = self.create_or_update.metadata['url'] @@ -236,12 +237,9 @@ def create_or_update( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200, 201]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) deserialized = None - if response.status_code == 200: deserialized = self._deserialize('IntegrationAccountAgreement', response) if response.status_code == 201: @@ -271,7 +269,8 @@ def delete( overrides`. :return: None or ClientRawResponse if raw=true :rtype: None or ~msrest.pipeline.ClientRawResponse - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ # Construct URL url = self.delete.metadata['url'] @@ -301,9 +300,7 @@ def delete( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200, 204]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) if raw: client_raw_response = ClientRawResponse(None, response) @@ -333,7 +330,8 @@ def list_content_callback_url( :return: WorkflowTriggerCallbackUrl or ClientRawResponse if raw=true :rtype: ~azure.mgmt.logic.models.WorkflowTriggerCallbackUrl or ~msrest.pipeline.ClientRawResponse - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ list_content_callback_url1 = models.GetCallbackUrlParameters(not_after=not_after, key_type=key_type) @@ -370,12 +368,9 @@ def list_content_callback_url( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) deserialized = None - if response.status_code == 200: deserialized = self._deserialize('WorkflowTriggerCallbackUrl', response) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/integration_account_assemblies_operations.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_integration_account_assemblies_operations.py similarity index 91% rename from sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/integration_account_assemblies_operations.py rename to sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_integration_account_assemblies_operations.py index b939a935148a..ba6feb756fb7 100644 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/integration_account_assemblies_operations.py +++ b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_integration_account_assemblies_operations.py @@ -11,7 +11,6 @@ import uuid from msrest.pipeline import ClientRawResponse -from msrestazure.azure_exceptions import CloudError from .. import models @@ -19,11 +18,13 @@ class IntegrationAccountAssembliesOperations(object): """IntegrationAccountAssembliesOperations operations. + You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute. + :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version. Constant value: "2018-07-01-preview". + :ivar api_version: The API version. Constant value: "2019-05-01". """ models = models @@ -33,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2018-07-01-preview" + self.api_version = "2019-05-01" self.config = config @@ -53,10 +54,10 @@ def list( :return: An iterator like instance of AssemblyDefinition :rtype: ~azure.mgmt.logic.models.AssemblyDefinitionPaged[~azure.mgmt.logic.models.AssemblyDefinition] - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ - def internal_paging(next_link=None, raw=False): - + def prepare_request(next_link=None): if not next_link: # Construct URL url = self.list.metadata['url'] @@ -87,22 +88,23 @@ def internal_paging(next_link=None, raw=False): # Construct and send request request = self._client.get(url, query_parameters, header_parameters) + return request + + def internal_paging(next_link=None): + request = prepare_request(next_link) + response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) return response # Deserialize response - deserialized = models.AssemblyDefinitionPaged(internal_paging, self._deserialize.dependencies) - + header_dict = None if raw: header_dict = {} - client_raw_response = models.AssemblyDefinitionPaged(internal_paging, self._deserialize.dependencies, header_dict) - return client_raw_response + deserialized = models.AssemblyDefinitionPaged(internal_paging, self._deserialize.dependencies, header_dict) return deserialized list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/assemblies'} @@ -125,7 +127,8 @@ def get( :return: AssemblyDefinition or ClientRawResponse if raw=true :rtype: ~azure.mgmt.logic.models.AssemblyDefinition or ~msrest.pipeline.ClientRawResponse - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ # Construct URL url = self.get.metadata['url'] @@ -156,12 +159,9 @@ def get( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) deserialized = None - if response.status_code == 200: deserialized = self._deserialize('AssemblyDefinition', response) @@ -192,7 +192,8 @@ def create_or_update( :return: AssemblyDefinition or ClientRawResponse if raw=true :rtype: ~azure.mgmt.logic.models.AssemblyDefinition or ~msrest.pipeline.ClientRawResponse - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ # Construct URL url = self.create_or_update.metadata['url'] @@ -227,12 +228,9 @@ def create_or_update( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200, 201]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) deserialized = None - if response.status_code == 200: deserialized = self._deserialize('AssemblyDefinition', response) if response.status_code == 201: @@ -262,7 +260,8 @@ def delete( overrides`. :return: None or ClientRawResponse if raw=true :rtype: None or ~msrest.pipeline.ClientRawResponse - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ # Construct URL url = self.delete.metadata['url'] @@ -292,9 +291,7 @@ def delete( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200, 204]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) if raw: client_raw_response = ClientRawResponse(None, response) @@ -319,7 +316,8 @@ def list_content_callback_url( :return: WorkflowTriggerCallbackUrl or ClientRawResponse if raw=true :rtype: ~azure.mgmt.logic.models.WorkflowTriggerCallbackUrl or ~msrest.pipeline.ClientRawResponse - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ # Construct URL url = self.list_content_callback_url.metadata['url'] @@ -350,12 +348,9 @@ def list_content_callback_url( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) deserialized = None - if response.status_code == 200: deserialized = self._deserialize('WorkflowTriggerCallbackUrl', response) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/integration_account_batch_configurations_operations.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_integration_account_batch_configurations_operations.py similarity index 91% rename from sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/integration_account_batch_configurations_operations.py rename to sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_integration_account_batch_configurations_operations.py index 5784a64384d4..4fb79cef08a4 100644 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/integration_account_batch_configurations_operations.py +++ b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_integration_account_batch_configurations_operations.py @@ -11,7 +11,6 @@ import uuid from msrest.pipeline import ClientRawResponse -from msrestazure.azure_exceptions import CloudError from .. import models @@ -19,11 +18,13 @@ class IntegrationAccountBatchConfigurationsOperations(object): """IntegrationAccountBatchConfigurationsOperations operations. + You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute. + :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version. Constant value: "2018-07-01-preview". + :ivar api_version: The API version. Constant value: "2019-05-01". """ models = models @@ -33,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2018-07-01-preview" + self.api_version = "2019-05-01" self.config = config @@ -53,10 +54,10 @@ def list( :return: An iterator like instance of BatchConfiguration :rtype: ~azure.mgmt.logic.models.BatchConfigurationPaged[~azure.mgmt.logic.models.BatchConfiguration] - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ - def internal_paging(next_link=None, raw=False): - + def prepare_request(next_link=None): if not next_link: # Construct URL url = self.list.metadata['url'] @@ -87,22 +88,23 @@ def internal_paging(next_link=None, raw=False): # Construct and send request request = self._client.get(url, query_parameters, header_parameters) + return request + + def internal_paging(next_link=None): + request = prepare_request(next_link) + response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) return response # Deserialize response - deserialized = models.BatchConfigurationPaged(internal_paging, self._deserialize.dependencies) - + header_dict = None if raw: header_dict = {} - client_raw_response = models.BatchConfigurationPaged(internal_paging, self._deserialize.dependencies, header_dict) - return client_raw_response + deserialized = models.BatchConfigurationPaged(internal_paging, self._deserialize.dependencies, header_dict) return deserialized list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/batchConfigurations'} @@ -125,7 +127,8 @@ def get( :return: BatchConfiguration or ClientRawResponse if raw=true :rtype: ~azure.mgmt.logic.models.BatchConfiguration or ~msrest.pipeline.ClientRawResponse - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ # Construct URL url = self.get.metadata['url'] @@ -156,12 +159,9 @@ def get( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) deserialized = None - if response.status_code == 200: deserialized = self._deserialize('BatchConfiguration', response) @@ -192,7 +192,8 @@ def create_or_update( :return: BatchConfiguration or ClientRawResponse if raw=true :rtype: ~azure.mgmt.logic.models.BatchConfiguration or ~msrest.pipeline.ClientRawResponse - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ # Construct URL url = self.create_or_update.metadata['url'] @@ -227,12 +228,9 @@ def create_or_update( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200, 201]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) deserialized = None - if response.status_code == 200: deserialized = self._deserialize('BatchConfiguration', response) if response.status_code == 201: @@ -262,7 +260,8 @@ def delete( overrides`. :return: None or ClientRawResponse if raw=true :rtype: None or ~msrest.pipeline.ClientRawResponse - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ # Construct URL url = self.delete.metadata['url'] @@ -292,9 +291,7 @@ def delete( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200, 204]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) if raw: client_raw_response = ClientRawResponse(None, response) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/integration_account_certificates_operations.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_integration_account_certificates_operations.py similarity index 91% rename from sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/integration_account_certificates_operations.py rename to sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_integration_account_certificates_operations.py index f8662c321efb..6beea9c86760 100644 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/integration_account_certificates_operations.py +++ b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_integration_account_certificates_operations.py @@ -11,7 +11,6 @@ import uuid from msrest.pipeline import ClientRawResponse -from msrestazure.azure_exceptions import CloudError from .. import models @@ -19,11 +18,13 @@ class IntegrationAccountCertificatesOperations(object): """IntegrationAccountCertificatesOperations operations. + You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute. + :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version. Constant value: "2018-07-01-preview". + :ivar api_version: The API version. Constant value: "2019-05-01". """ models = models @@ -33,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2018-07-01-preview" + self.api_version = "2019-05-01" self.config = config @@ -55,10 +56,10 @@ def list( :return: An iterator like instance of IntegrationAccountCertificate :rtype: ~azure.mgmt.logic.models.IntegrationAccountCertificatePaged[~azure.mgmt.logic.models.IntegrationAccountCertificate] - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ - def internal_paging(next_link=None, raw=False): - + def prepare_request(next_link=None): if not next_link: # Construct URL url = self.list.metadata['url'] @@ -91,22 +92,23 @@ def internal_paging(next_link=None, raw=False): # Construct and send request request = self._client.get(url, query_parameters, header_parameters) + return request + + def internal_paging(next_link=None): + request = prepare_request(next_link) + response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) return response # Deserialize response - deserialized = models.IntegrationAccountCertificatePaged(internal_paging, self._deserialize.dependencies) - + header_dict = None if raw: header_dict = {} - client_raw_response = models.IntegrationAccountCertificatePaged(internal_paging, self._deserialize.dependencies, header_dict) - return client_raw_response + deserialized = models.IntegrationAccountCertificatePaged(internal_paging, self._deserialize.dependencies, header_dict) return deserialized list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/certificates'} @@ -130,7 +132,8 @@ def get( raw=true :rtype: ~azure.mgmt.logic.models.IntegrationAccountCertificate or ~msrest.pipeline.ClientRawResponse - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ # Construct URL url = self.get.metadata['url'] @@ -161,12 +164,9 @@ def get( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) deserialized = None - if response.status_code == 200: deserialized = self._deserialize('IntegrationAccountCertificate', response) @@ -199,7 +199,8 @@ def create_or_update( raw=true :rtype: ~azure.mgmt.logic.models.IntegrationAccountCertificate or ~msrest.pipeline.ClientRawResponse - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ # Construct URL url = self.create_or_update.metadata['url'] @@ -234,12 +235,9 @@ def create_or_update( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200, 201]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) deserialized = None - if response.status_code == 200: deserialized = self._deserialize('IntegrationAccountCertificate', response) if response.status_code == 201: @@ -269,7 +267,8 @@ def delete( overrides`. :return: None or ClientRawResponse if raw=true :rtype: None or ~msrest.pipeline.ClientRawResponse - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ # Construct URL url = self.delete.metadata['url'] @@ -299,9 +298,7 @@ def delete( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200, 204]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) if raw: client_raw_response = ClientRawResponse(None, response) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/integration_account_maps_operations.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_integration_account_maps_operations.py similarity index 92% rename from sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/integration_account_maps_operations.py rename to sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_integration_account_maps_operations.py index d48be0f43a1b..bfbd7e9f079d 100644 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/integration_account_maps_operations.py +++ b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_integration_account_maps_operations.py @@ -11,7 +11,6 @@ import uuid from msrest.pipeline import ClientRawResponse -from msrestazure.azure_exceptions import CloudError from .. import models @@ -19,11 +18,13 @@ class IntegrationAccountMapsOperations(object): """IntegrationAccountMapsOperations operations. + You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute. + :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version. Constant value: "2018-07-01-preview". + :ivar api_version: The API version. Constant value: "2019-05-01". """ models = models @@ -33,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2018-07-01-preview" + self.api_version = "2019-05-01" self.config = config @@ -58,10 +59,10 @@ def list( :return: An iterator like instance of IntegrationAccountMap :rtype: ~azure.mgmt.logic.models.IntegrationAccountMapPaged[~azure.mgmt.logic.models.IntegrationAccountMap] - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ - def internal_paging(next_link=None, raw=False): - + def prepare_request(next_link=None): if not next_link: # Construct URL url = self.list.metadata['url'] @@ -96,22 +97,23 @@ def internal_paging(next_link=None, raw=False): # Construct and send request request = self._client.get(url, query_parameters, header_parameters) + return request + + def internal_paging(next_link=None): + request = prepare_request(next_link) + response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) return response # Deserialize response - deserialized = models.IntegrationAccountMapPaged(internal_paging, self._deserialize.dependencies) - + header_dict = None if raw: header_dict = {} - client_raw_response = models.IntegrationAccountMapPaged(internal_paging, self._deserialize.dependencies, header_dict) - return client_raw_response + deserialized = models.IntegrationAccountMapPaged(internal_paging, self._deserialize.dependencies, header_dict) return deserialized list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/maps'} @@ -134,7 +136,8 @@ def get( :return: IntegrationAccountMap or ClientRawResponse if raw=true :rtype: ~azure.mgmt.logic.models.IntegrationAccountMap or ~msrest.pipeline.ClientRawResponse - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ # Construct URL url = self.get.metadata['url'] @@ -165,12 +168,9 @@ def get( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) deserialized = None - if response.status_code == 200: deserialized = self._deserialize('IntegrationAccountMap', response) @@ -201,7 +201,8 @@ def create_or_update( :return: IntegrationAccountMap or ClientRawResponse if raw=true :rtype: ~azure.mgmt.logic.models.IntegrationAccountMap or ~msrest.pipeline.ClientRawResponse - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ # Construct URL url = self.create_or_update.metadata['url'] @@ -236,12 +237,9 @@ def create_or_update( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200, 201]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) deserialized = None - if response.status_code == 200: deserialized = self._deserialize('IntegrationAccountMap', response) if response.status_code == 201: @@ -271,7 +269,8 @@ def delete( overrides`. :return: None or ClientRawResponse if raw=true :rtype: None or ~msrest.pipeline.ClientRawResponse - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ # Construct URL url = self.delete.metadata['url'] @@ -301,9 +300,7 @@ def delete( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200, 204]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) if raw: client_raw_response = ClientRawResponse(None, response) @@ -333,7 +330,8 @@ def list_content_callback_url( :return: WorkflowTriggerCallbackUrl or ClientRawResponse if raw=true :rtype: ~azure.mgmt.logic.models.WorkflowTriggerCallbackUrl or ~msrest.pipeline.ClientRawResponse - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ list_content_callback_url1 = models.GetCallbackUrlParameters(not_after=not_after, key_type=key_type) @@ -370,12 +368,9 @@ def list_content_callback_url( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) deserialized = None - if response.status_code == 200: deserialized = self._deserialize('WorkflowTriggerCallbackUrl', response) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/integration_account_partners_operations.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_integration_account_partners_operations.py similarity index 92% rename from sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/integration_account_partners_operations.py rename to sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_integration_account_partners_operations.py index b77b6b9f72b8..6d0744e26fe2 100644 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/integration_account_partners_operations.py +++ b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_integration_account_partners_operations.py @@ -11,7 +11,6 @@ import uuid from msrest.pipeline import ClientRawResponse -from msrestazure.azure_exceptions import CloudError from .. import models @@ -19,11 +18,13 @@ class IntegrationAccountPartnersOperations(object): """IntegrationAccountPartnersOperations operations. + You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute. + :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version. Constant value: "2018-07-01-preview". + :ivar api_version: The API version. Constant value: "2019-05-01". """ models = models @@ -33,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2018-07-01-preview" + self.api_version = "2019-05-01" self.config = config @@ -58,10 +59,10 @@ def list( :return: An iterator like instance of IntegrationAccountPartner :rtype: ~azure.mgmt.logic.models.IntegrationAccountPartnerPaged[~azure.mgmt.logic.models.IntegrationAccountPartner] - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ - def internal_paging(next_link=None, raw=False): - + def prepare_request(next_link=None): if not next_link: # Construct URL url = self.list.metadata['url'] @@ -96,22 +97,23 @@ def internal_paging(next_link=None, raw=False): # Construct and send request request = self._client.get(url, query_parameters, header_parameters) + return request + + def internal_paging(next_link=None): + request = prepare_request(next_link) + response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) return response # Deserialize response - deserialized = models.IntegrationAccountPartnerPaged(internal_paging, self._deserialize.dependencies) - + header_dict = None if raw: header_dict = {} - client_raw_response = models.IntegrationAccountPartnerPaged(internal_paging, self._deserialize.dependencies, header_dict) - return client_raw_response + deserialized = models.IntegrationAccountPartnerPaged(internal_paging, self._deserialize.dependencies, header_dict) return deserialized list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/partners'} @@ -134,7 +136,8 @@ def get( :return: IntegrationAccountPartner or ClientRawResponse if raw=true :rtype: ~azure.mgmt.logic.models.IntegrationAccountPartner or ~msrest.pipeline.ClientRawResponse - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ # Construct URL url = self.get.metadata['url'] @@ -165,12 +168,9 @@ def get( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) deserialized = None - if response.status_code == 200: deserialized = self._deserialize('IntegrationAccountPartner', response) @@ -201,7 +201,8 @@ def create_or_update( :return: IntegrationAccountPartner or ClientRawResponse if raw=true :rtype: ~azure.mgmt.logic.models.IntegrationAccountPartner or ~msrest.pipeline.ClientRawResponse - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ # Construct URL url = self.create_or_update.metadata['url'] @@ -236,12 +237,9 @@ def create_or_update( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200, 201]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) deserialized = None - if response.status_code == 200: deserialized = self._deserialize('IntegrationAccountPartner', response) if response.status_code == 201: @@ -271,7 +269,8 @@ def delete( overrides`. :return: None or ClientRawResponse if raw=true :rtype: None or ~msrest.pipeline.ClientRawResponse - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ # Construct URL url = self.delete.metadata['url'] @@ -301,9 +300,7 @@ def delete( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200, 204]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) if raw: client_raw_response = ClientRawResponse(None, response) @@ -333,7 +330,8 @@ def list_content_callback_url( :return: WorkflowTriggerCallbackUrl or ClientRawResponse if raw=true :rtype: ~azure.mgmt.logic.models.WorkflowTriggerCallbackUrl or ~msrest.pipeline.ClientRawResponse - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ list_content_callback_url1 = models.GetCallbackUrlParameters(not_after=not_after, key_type=key_type) @@ -370,12 +368,9 @@ def list_content_callback_url( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) deserialized = None - if response.status_code == 200: deserialized = self._deserialize('WorkflowTriggerCallbackUrl', response) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/integration_account_schemas_operations.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_integration_account_schemas_operations.py similarity index 92% rename from sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/integration_account_schemas_operations.py rename to sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_integration_account_schemas_operations.py index 321e154853d7..6f6b04e0220d 100644 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/integration_account_schemas_operations.py +++ b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_integration_account_schemas_operations.py @@ -11,7 +11,6 @@ import uuid from msrest.pipeline import ClientRawResponse -from msrestazure.azure_exceptions import CloudError from .. import models @@ -19,11 +18,13 @@ class IntegrationAccountSchemasOperations(object): """IntegrationAccountSchemasOperations operations. + You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute. + :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version. Constant value: "2018-07-01-preview". + :ivar api_version: The API version. Constant value: "2019-05-01". """ models = models @@ -33,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2018-07-01-preview" + self.api_version = "2019-05-01" self.config = config @@ -58,10 +59,10 @@ def list( :return: An iterator like instance of IntegrationAccountSchema :rtype: ~azure.mgmt.logic.models.IntegrationAccountSchemaPaged[~azure.mgmt.logic.models.IntegrationAccountSchema] - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ - def internal_paging(next_link=None, raw=False): - + def prepare_request(next_link=None): if not next_link: # Construct URL url = self.list.metadata['url'] @@ -96,22 +97,23 @@ def internal_paging(next_link=None, raw=False): # Construct and send request request = self._client.get(url, query_parameters, header_parameters) + return request + + def internal_paging(next_link=None): + request = prepare_request(next_link) + response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) return response # Deserialize response - deserialized = models.IntegrationAccountSchemaPaged(internal_paging, self._deserialize.dependencies) - + header_dict = None if raw: header_dict = {} - client_raw_response = models.IntegrationAccountSchemaPaged(internal_paging, self._deserialize.dependencies, header_dict) - return client_raw_response + deserialized = models.IntegrationAccountSchemaPaged(internal_paging, self._deserialize.dependencies, header_dict) return deserialized list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/schemas'} @@ -134,7 +136,8 @@ def get( :return: IntegrationAccountSchema or ClientRawResponse if raw=true :rtype: ~azure.mgmt.logic.models.IntegrationAccountSchema or ~msrest.pipeline.ClientRawResponse - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ # Construct URL url = self.get.metadata['url'] @@ -165,12 +168,9 @@ def get( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) deserialized = None - if response.status_code == 200: deserialized = self._deserialize('IntegrationAccountSchema', response) @@ -201,7 +201,8 @@ def create_or_update( :return: IntegrationAccountSchema or ClientRawResponse if raw=true :rtype: ~azure.mgmt.logic.models.IntegrationAccountSchema or ~msrest.pipeline.ClientRawResponse - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ # Construct URL url = self.create_or_update.metadata['url'] @@ -236,12 +237,9 @@ def create_or_update( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200, 201]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) deserialized = None - if response.status_code == 200: deserialized = self._deserialize('IntegrationAccountSchema', response) if response.status_code == 201: @@ -271,7 +269,8 @@ def delete( overrides`. :return: None or ClientRawResponse if raw=true :rtype: None or ~msrest.pipeline.ClientRawResponse - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ # Construct URL url = self.delete.metadata['url'] @@ -301,9 +300,7 @@ def delete( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200, 204]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) if raw: client_raw_response = ClientRawResponse(None, response) @@ -333,7 +330,8 @@ def list_content_callback_url( :return: WorkflowTriggerCallbackUrl or ClientRawResponse if raw=true :rtype: ~azure.mgmt.logic.models.WorkflowTriggerCallbackUrl or ~msrest.pipeline.ClientRawResponse - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ list_content_callback_url1 = models.GetCallbackUrlParameters(not_after=not_after, key_type=key_type) @@ -370,12 +368,9 @@ def list_content_callback_url( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) deserialized = None - if response.status_code == 200: deserialized = self._deserialize('WorkflowTriggerCallbackUrl', response) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/integration_account_sessions_operations.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_integration_account_sessions_operations.py similarity index 91% rename from sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/integration_account_sessions_operations.py rename to sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_integration_account_sessions_operations.py index 1d3ac1334b33..211f6d1f90c9 100644 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/integration_account_sessions_operations.py +++ b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_integration_account_sessions_operations.py @@ -11,7 +11,6 @@ import uuid from msrest.pipeline import ClientRawResponse -from msrestazure.azure_exceptions import CloudError from .. import models @@ -19,11 +18,13 @@ class IntegrationAccountSessionsOperations(object): """IntegrationAccountSessionsOperations operations. + You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute. + :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version. Constant value: "2018-07-01-preview". + :ivar api_version: The API version. Constant value: "2019-05-01". """ models = models @@ -33,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2018-07-01-preview" + self.api_version = "2019-05-01" self.config = config @@ -58,10 +59,10 @@ def list( :return: An iterator like instance of IntegrationAccountSession :rtype: ~azure.mgmt.logic.models.IntegrationAccountSessionPaged[~azure.mgmt.logic.models.IntegrationAccountSession] - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ - def internal_paging(next_link=None, raw=False): - + def prepare_request(next_link=None): if not next_link: # Construct URL url = self.list.metadata['url'] @@ -96,22 +97,23 @@ def internal_paging(next_link=None, raw=False): # Construct and send request request = self._client.get(url, query_parameters, header_parameters) + return request + + def internal_paging(next_link=None): + request = prepare_request(next_link) + response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) return response # Deserialize response - deserialized = models.IntegrationAccountSessionPaged(internal_paging, self._deserialize.dependencies) - + header_dict = None if raw: header_dict = {} - client_raw_response = models.IntegrationAccountSessionPaged(internal_paging, self._deserialize.dependencies, header_dict) - return client_raw_response + deserialized = models.IntegrationAccountSessionPaged(internal_paging, self._deserialize.dependencies, header_dict) return deserialized list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/sessions'} @@ -134,7 +136,8 @@ def get( :return: IntegrationAccountSession or ClientRawResponse if raw=true :rtype: ~azure.mgmt.logic.models.IntegrationAccountSession or ~msrest.pipeline.ClientRawResponse - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ # Construct URL url = self.get.metadata['url'] @@ -165,12 +168,9 @@ def get( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) deserialized = None - if response.status_code == 200: deserialized = self._deserialize('IntegrationAccountSession', response) @@ -201,7 +201,8 @@ def create_or_update( :return: IntegrationAccountSession or ClientRawResponse if raw=true :rtype: ~azure.mgmt.logic.models.IntegrationAccountSession or ~msrest.pipeline.ClientRawResponse - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ # Construct URL url = self.create_or_update.metadata['url'] @@ -236,12 +237,9 @@ def create_or_update( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200, 201]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) deserialized = None - if response.status_code == 200: deserialized = self._deserialize('IntegrationAccountSession', response) if response.status_code == 201: @@ -271,7 +269,8 @@ def delete( overrides`. :return: None or ClientRawResponse if raw=true :rtype: None or ~msrest.pipeline.ClientRawResponse - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ # Construct URL url = self.delete.metadata['url'] @@ -301,9 +300,7 @@ def delete( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200, 204]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) if raw: client_raw_response = ClientRawResponse(None, response) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/integration_accounts_operations.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_integration_accounts_operations.py similarity index 91% rename from sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/integration_accounts_operations.py rename to sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_integration_accounts_operations.py index 324850d2661f..6ce5cbe26349 100644 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/integration_accounts_operations.py +++ b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_integration_accounts_operations.py @@ -11,7 +11,6 @@ import uuid from msrest.pipeline import ClientRawResponse -from msrestazure.azure_exceptions import CloudError from .. import models @@ -19,11 +18,13 @@ class IntegrationAccountsOperations(object): """IntegrationAccountsOperations operations. + You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute. + :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version. Constant value: "2018-07-01-preview". + :ivar api_version: The API version. Constant value: "2019-05-01". """ models = models @@ -33,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2018-07-01-preview" + self.api_version = "2019-05-01" self.config = config @@ -51,10 +52,10 @@ def list_by_subscription( :return: An iterator like instance of IntegrationAccount :rtype: ~azure.mgmt.logic.models.IntegrationAccountPaged[~azure.mgmt.logic.models.IntegrationAccount] - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ - def internal_paging(next_link=None, raw=False): - + def prepare_request(next_link=None): if not next_link: # Construct URL url = self.list_by_subscription.metadata['url'] @@ -85,22 +86,23 @@ def internal_paging(next_link=None, raw=False): # Construct and send request request = self._client.get(url, query_parameters, header_parameters) + return request + + def internal_paging(next_link=None): + request = prepare_request(next_link) + response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) return response # Deserialize response - deserialized = models.IntegrationAccountPaged(internal_paging, self._deserialize.dependencies) - + header_dict = None if raw: header_dict = {} - client_raw_response = models.IntegrationAccountPaged(internal_paging, self._deserialize.dependencies, header_dict) - return client_raw_response + deserialized = models.IntegrationAccountPaged(internal_paging, self._deserialize.dependencies, header_dict) return deserialized list_by_subscription.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Logic/integrationAccounts'} @@ -121,10 +123,10 @@ def list_by_resource_group( :return: An iterator like instance of IntegrationAccount :rtype: ~azure.mgmt.logic.models.IntegrationAccountPaged[~azure.mgmt.logic.models.IntegrationAccount] - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ - def internal_paging(next_link=None, raw=False): - + def prepare_request(next_link=None): if not next_link: # Construct URL url = self.list_by_resource_group.metadata['url'] @@ -156,22 +158,23 @@ def internal_paging(next_link=None, raw=False): # Construct and send request request = self._client.get(url, query_parameters, header_parameters) + return request + + def internal_paging(next_link=None): + request = prepare_request(next_link) + response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) return response # Deserialize response - deserialized = models.IntegrationAccountPaged(internal_paging, self._deserialize.dependencies) - + header_dict = None if raw: header_dict = {} - client_raw_response = models.IntegrationAccountPaged(internal_paging, self._deserialize.dependencies, header_dict) - return client_raw_response + deserialized = models.IntegrationAccountPaged(internal_paging, self._deserialize.dependencies, header_dict) return deserialized list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts'} @@ -192,7 +195,8 @@ def get( :return: IntegrationAccount or ClientRawResponse if raw=true :rtype: ~azure.mgmt.logic.models.IntegrationAccount or ~msrest.pipeline.ClientRawResponse - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ # Construct URL url = self.get.metadata['url'] @@ -222,12 +226,9 @@ def get( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) deserialized = None - if response.status_code == 200: deserialized = self._deserialize('IntegrationAccount', response) @@ -256,7 +257,8 @@ def create_or_update( :return: IntegrationAccount or ClientRawResponse if raw=true :rtype: ~azure.mgmt.logic.models.IntegrationAccount or ~msrest.pipeline.ClientRawResponse - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ # Construct URL url = self.create_or_update.metadata['url'] @@ -290,12 +292,9 @@ def create_or_update( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200, 201]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) deserialized = None - if response.status_code == 200: deserialized = self._deserialize('IntegrationAccount', response) if response.status_code == 201: @@ -326,7 +325,8 @@ def update( :return: IntegrationAccount or ClientRawResponse if raw=true :rtype: ~azure.mgmt.logic.models.IntegrationAccount or ~msrest.pipeline.ClientRawResponse - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ # Construct URL url = self.update.metadata['url'] @@ -360,12 +360,9 @@ def update( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) deserialized = None - if response.status_code == 200: deserialized = self._deserialize('IntegrationAccount', response) @@ -391,7 +388,8 @@ def delete( overrides`. :return: None or ClientRawResponse if raw=true :rtype: None or ~msrest.pipeline.ClientRawResponse - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ # Construct URL url = self.delete.metadata['url'] @@ -420,9 +418,7 @@ def delete( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200, 204]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) if raw: client_raw_response = ClientRawResponse(None, response) @@ -450,7 +446,8 @@ def list_callback_url( :return: CallbackUrl or ClientRawResponse if raw=true :rtype: ~azure.mgmt.logic.models.CallbackUrl or ~msrest.pipeline.ClientRawResponse - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ parameters = models.GetCallbackUrlParameters(not_after=not_after, key_type=key_type) @@ -486,12 +483,9 @@ def list_callback_url( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) deserialized = None - if response.status_code == 200: deserialized = self._deserialize('CallbackUrl', response) @@ -522,12 +516,12 @@ def list_key_vault_keys( :return: An iterator like instance of KeyVaultKey :rtype: ~azure.mgmt.logic.models.KeyVaultKeyPaged[~azure.mgmt.logic.models.KeyVaultKey] - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ list_key_vault_keys1 = models.ListKeyVaultKeysDefinition(key_vault=key_vault, skip_token=skip_token) - def internal_paging(next_link=None, raw=False): - + def prepare_request(next_link=None): if not next_link: # Construct URL url = self.list_key_vault_keys.metadata['url'] @@ -562,22 +556,23 @@ def internal_paging(next_link=None, raw=False): # Construct and send request request = self._client.post(url, query_parameters, header_parameters, body_content) + return request + + def internal_paging(next_link=None): + request = prepare_request(next_link) + response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) return response # Deserialize response - deserialized = models.KeyVaultKeyPaged(internal_paging, self._deserialize.dependencies) - + header_dict = None if raw: header_dict = {} - client_raw_response = models.KeyVaultKeyPaged(internal_paging, self._deserialize.dependencies, header_dict) - return client_raw_response + deserialized = models.KeyVaultKeyPaged(internal_paging, self._deserialize.dependencies, header_dict) return deserialized list_key_vault_keys.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/listKeyVaultKeys'} @@ -600,7 +595,8 @@ def log_tracking_events( overrides`. :return: None or ClientRawResponse if raw=true :rtype: None or ~msrest.pipeline.ClientRawResponse - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ # Construct URL url = self.log_tracking_events.metadata['url'] @@ -633,9 +629,7 @@ def log_tracking_events( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) if raw: client_raw_response = ClientRawResponse(None, response) @@ -661,7 +655,8 @@ def regenerate_access_key( :return: IntegrationAccount or ClientRawResponse if raw=true :rtype: ~azure.mgmt.logic.models.IntegrationAccount or ~msrest.pipeline.ClientRawResponse - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ regenerate_access_key1 = models.RegenerateActionParameter(key_type=key_type) @@ -697,12 +692,9 @@ def regenerate_access_key( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) deserialized = None - if response.status_code == 200: deserialized = self._deserialize('IntegrationAccount', response) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_integration_service_environment_managed_api_operations.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_integration_service_environment_managed_api_operations.py new file mode 100644 index 000000000000..424cf9a4290c --- /dev/null +++ b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_integration_service_environment_managed_api_operations.py @@ -0,0 +1,114 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse + +from .. import models + + +class IntegrationServiceEnvironmentManagedApiOperations(object): + """IntegrationServiceEnvironmentManagedApiOperations operations. + + You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + :ivar api_version: The API version. Constant value: "2019-05-01". + """ + + models = models + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2019-05-01" + + self.config = config + + def list( + self, resource_group, integration_service_environment_name, api_name, custom_headers=None, raw=False, **operation_config): + """Gets the managed Api operations. + + :param resource_group: The resource group. + :type resource_group: str + :param integration_service_environment_name: The integration service + environment name. + :type integration_service_environment_name: str + :param api_name: The api name. + :type api_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: An iterator like instance of ApiOperation + :rtype: + ~azure.mgmt.logic.models.ApiOperationPaged[~azure.mgmt.logic.models.ApiOperation] + :raises: + :class:`ErrorResponseException` + """ + def prepare_request(next_link=None): + if not next_link: + # Construct URL + url = self.list.metadata['url'] + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'integrationServiceEnvironmentName': self._serialize.url("integration_service_environment_name", integration_service_environment_name, 'str'), + 'apiName': self._serialize.url("api_name", api_name, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + return request + + def internal_paging(next_link=None): + request = prepare_request(next_link) + + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + raise models.ErrorResponseException(self._deserialize, response) + + return response + + # Deserialize response + header_dict = None + if raw: + header_dict = {} + deserialized = models.ApiOperationPaged(internal_paging, self._deserialize.dependencies, header_dict) + + return deserialized + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Logic/integrationServiceEnvironments/{integrationServiceEnvironmentName}/managedApis/{apiName}/apiOperations'} diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_integration_service_environment_managed_apis_operations.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_integration_service_environment_managed_apis_operations.py new file mode 100644 index 000000000000..0c4e4d007a7f --- /dev/null +++ b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_integration_service_environment_managed_apis_operations.py @@ -0,0 +1,359 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse +from msrest.polling import LROPoller, NoPolling +from msrestazure.polling.arm_polling import ARMPolling + +from .. import models + + +class IntegrationServiceEnvironmentManagedApisOperations(object): + """IntegrationServiceEnvironmentManagedApisOperations operations. + + You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + :ivar api_version: The API version. Constant value: "2019-05-01". + """ + + models = models + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2019-05-01" + + self.config = config + + def list( + self, resource_group, integration_service_environment_name, custom_headers=None, raw=False, **operation_config): + """Gets the integration service environment managed Apis. + + :param resource_group: The resource group. + :type resource_group: str + :param integration_service_environment_name: The integration service + environment name. + :type integration_service_environment_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: An iterator like instance of ManagedApi + :rtype: + ~azure.mgmt.logic.models.ManagedApiPaged[~azure.mgmt.logic.models.ManagedApi] + :raises: + :class:`ErrorResponseException` + """ + def prepare_request(next_link=None): + if not next_link: + # Construct URL + url = self.list.metadata['url'] + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'integrationServiceEnvironmentName': self._serialize.url("integration_service_environment_name", integration_service_environment_name, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + return request + + def internal_paging(next_link=None): + request = prepare_request(next_link) + + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + raise models.ErrorResponseException(self._deserialize, response) + + return response + + # Deserialize response + header_dict = None + if raw: + header_dict = {} + deserialized = models.ManagedApiPaged(internal_paging, self._deserialize.dependencies, header_dict) + + return deserialized + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Logic/integrationServiceEnvironments/{integrationServiceEnvironmentName}/managedApis'} + + def get( + self, resource_group, integration_service_environment_name, api_name, custom_headers=None, raw=False, **operation_config): + """Gets the integration service environment managed Api. + + :param resource_group: The resource group name. + :type resource_group: str + :param integration_service_environment_name: The integration service + environment name. + :type integration_service_environment_name: str + :param api_name: The api name. + :type api_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: ManagedApi or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.logic.models.ManagedApi or + ~msrest.pipeline.ClientRawResponse + :raises: + :class:`ErrorResponseException` + """ + # Construct URL + url = self.get.metadata['url'] + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'integrationServiceEnvironmentName': self._serialize.url("integration_service_environment_name", integration_service_environment_name, 'str'), + 'apiName': self._serialize.url("api_name", api_name, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + raise models.ErrorResponseException(self._deserialize, response) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('ManagedApi', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Logic/integrationServiceEnvironments/{integrationServiceEnvironmentName}/managedApis/{apiName}'} + + + def _put_initial( + self, resource_group, integration_service_environment_name, api_name, custom_headers=None, raw=False, **operation_config): + # Construct URL + url = self.put.metadata['url'] + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'integrationServiceEnvironmentName': self._serialize.url("integration_service_environment_name", integration_service_environment_name, 'str'), + 'apiName': self._serialize.url("api_name", api_name, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.put(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200, 201]: + raise models.ErrorResponseException(self._deserialize, response) + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('ManagedApi', response) + if response.status_code == 201: + deserialized = self._deserialize('ManagedApi', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + def put( + self, resource_group, integration_service_environment_name, api_name, custom_headers=None, raw=False, polling=True, **operation_config): + """Puts the integration service environment managed Api. + + :param resource_group: The resource group name. + :type resource_group: str + :param integration_service_environment_name: The integration service + environment name. + :type integration_service_environment_name: str + :param api_name: The api name. + :type api_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: The poller return type is ClientRawResponse, the + direct response alongside the deserialized response + :param polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :return: An instance of LROPoller that returns ManagedApi or + ClientRawResponse if raw==True + :rtype: + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.logic.models.ManagedApi] + or + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.logic.models.ManagedApi]] + :raises: + :class:`ErrorResponseException` + """ + raw_result = self._put_initial( + resource_group=resource_group, + integration_service_environment_name=integration_service_environment_name, + api_name=api_name, + custom_headers=custom_headers, + raw=True, + **operation_config + ) + + def get_long_running_output(response): + deserialized = self._deserialize('ManagedApi', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + lro_delay = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + put.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Logic/integrationServiceEnvironments/{integrationServiceEnvironmentName}/managedApis/{apiName}'} + + + def _delete_initial( + self, resource_group, integration_service_environment_name, api_name, custom_headers=None, raw=False, **operation_config): + # Construct URL + url = self.delete.metadata['url'] + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'integrationServiceEnvironmentName': self._serialize.url("integration_service_environment_name", integration_service_environment_name, 'str'), + 'apiName': self._serialize.url("api_name", api_name, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.delete(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [202, 204]: + raise models.ErrorResponseException(self._deserialize, response) + + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + def delete( + self, resource_group, integration_service_environment_name, api_name, custom_headers=None, raw=False, polling=True, **operation_config): + """Deletes the integration service environment managed Api. + + :param resource_group: The resource group. + :type resource_group: str + :param integration_service_environment_name: The integration service + environment name. + :type integration_service_environment_name: str + :param api_name: The api name. + :type api_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: The poller return type is ClientRawResponse, the + direct response alongside the deserialized response + :param polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :return: An instance of LROPoller that returns None or + ClientRawResponse if raw==True + :rtype: ~msrestazure.azure_operation.AzureOperationPoller[None] or + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[None]] + :raises: + :class:`ErrorResponseException` + """ + raw_result = self._delete_initial( + resource_group=resource_group, + integration_service_environment_name=integration_service_environment_name, + api_name=api_name, + custom_headers=custom_headers, + raw=True, + **operation_config + ) + + def get_long_running_output(response): + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + lro_delay = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Logic/integrationServiceEnvironments/{integrationServiceEnvironmentName}/managedApis/{apiName}'} diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_integration_service_environment_network_health_operations.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_integration_service_environment_network_health_operations.py new file mode 100644 index 000000000000..93af19ed07e7 --- /dev/null +++ b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_integration_service_environment_network_health_operations.py @@ -0,0 +1,101 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse + +from .. import models + + +class IntegrationServiceEnvironmentNetworkHealthOperations(object): + """IntegrationServiceEnvironmentNetworkHealthOperations operations. + + You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + :ivar api_version: The API version. Constant value: "2019-05-01". + """ + + models = models + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2019-05-01" + + self.config = config + + def get( + self, resource_group, integration_service_environment_name, custom_headers=None, raw=False, **operation_config): + """Gets the integration service environment network health. + + :param resource_group: The resource group. + :type resource_group: str + :param integration_service_environment_name: The integration service + environment name. + :type integration_service_environment_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: dict or ClientRawResponse if raw=true + :rtype: dict[str, + ~azure.mgmt.logic.models.IntegrationServiceEnvironmentSubnetNetworkHealth] + or ~msrest.pipeline.ClientRawResponse + :raises: + :class:`ErrorResponseException` + """ + # Construct URL + url = self.get.metadata['url'] + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'integrationServiceEnvironmentName': self._serialize.url("integration_service_environment_name", integration_service_environment_name, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + raise models.ErrorResponseException(self._deserialize, response) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('{IntegrationServiceEnvironmentSubnetNetworkHealth}', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Logic/integrationServiceEnvironments/{integrationServiceEnvironmentName}/health/network'} diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_integration_service_environment_skus_operations.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_integration_service_environment_skus_operations.py new file mode 100644 index 000000000000..ce372e31a4d9 --- /dev/null +++ b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_integration_service_environment_skus_operations.py @@ -0,0 +1,112 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse + +from .. import models + + +class IntegrationServiceEnvironmentSkusOperations(object): + """IntegrationServiceEnvironmentSkusOperations operations. + + You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + :ivar api_version: The API version. Constant value: "2019-05-01". + """ + + models = models + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2019-05-01" + + self.config = config + + def list( + self, resource_group, integration_service_environment_name, custom_headers=None, raw=False, **operation_config): + """Gets a list of integration service environment Skus. + + :param resource_group: The resource group. + :type resource_group: str + :param integration_service_environment_name: The integration service + environment name. + :type integration_service_environment_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: An iterator like instance of + IntegrationServiceEnvironmentSkuDefinition + :rtype: + ~azure.mgmt.logic.models.IntegrationServiceEnvironmentSkuDefinitionPaged[~azure.mgmt.logic.models.IntegrationServiceEnvironmentSkuDefinition] + :raises: + :class:`ErrorResponseException` + """ + def prepare_request(next_link=None): + if not next_link: + # Construct URL + url = self.list.metadata['url'] + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'integrationServiceEnvironmentName': self._serialize.url("integration_service_environment_name", integration_service_environment_name, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + return request + + def internal_paging(next_link=None): + request = prepare_request(next_link) + + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + raise models.ErrorResponseException(self._deserialize, response) + + return response + + # Deserialize response + header_dict = None + if raw: + header_dict = {} + deserialized = models.IntegrationServiceEnvironmentSkuDefinitionPaged(internal_paging, self._deserialize.dependencies, header_dict) + + return deserialized + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Logic/integrationServiceEnvironments/{integrationServiceEnvironmentName}/skus'} diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_integration_service_environments_operations.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_integration_service_environments_operations.py new file mode 100644 index 000000000000..9b79ee1292a7 --- /dev/null +++ b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_integration_service_environments_operations.py @@ -0,0 +1,558 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse +from msrest.polling import LROPoller, NoPolling +from msrestazure.polling.arm_polling import ARMPolling + +from .. import models + + +class IntegrationServiceEnvironmentsOperations(object): + """IntegrationServiceEnvironmentsOperations operations. + + You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + :ivar api_version: The API version. Constant value: "2019-05-01". + """ + + models = models + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2019-05-01" + + self.config = config + + def list_by_subscription( + self, top=None, custom_headers=None, raw=False, **operation_config): + """Gets a list of integration service environments by subscription. + + :param top: The number of items to be included in the result. + :type top: int + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: An iterator like instance of IntegrationServiceEnvironment + :rtype: + ~azure.mgmt.logic.models.IntegrationServiceEnvironmentPaged[~azure.mgmt.logic.models.IntegrationServiceEnvironment] + :raises: + :class:`ErrorResponseException` + """ + def prepare_request(next_link=None): + if not next_link: + # Construct URL + url = self.list_by_subscription.metadata['url'] + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + if top is not None: + query_parameters['$top'] = self._serialize.query("top", top, 'int') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + return request + + def internal_paging(next_link=None): + request = prepare_request(next_link) + + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + raise models.ErrorResponseException(self._deserialize, response) + + return response + + # Deserialize response + header_dict = None + if raw: + header_dict = {} + deserialized = models.IntegrationServiceEnvironmentPaged(internal_paging, self._deserialize.dependencies, header_dict) + + return deserialized + list_by_subscription.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Logic/integrationServiceEnvironments'} + + def list_by_resource_group( + self, resource_group, top=None, custom_headers=None, raw=False, **operation_config): + """Gets a list of integration service environments by resource group. + + :param resource_group: The resource group. + :type resource_group: str + :param top: The number of items to be included in the result. + :type top: int + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: An iterator like instance of IntegrationServiceEnvironment + :rtype: + ~azure.mgmt.logic.models.IntegrationServiceEnvironmentPaged[~azure.mgmt.logic.models.IntegrationServiceEnvironment] + :raises: + :class:`ErrorResponseException` + """ + def prepare_request(next_link=None): + if not next_link: + # Construct URL + url = self.list_by_resource_group.metadata['url'] + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + if top is not None: + query_parameters['$top'] = self._serialize.query("top", top, 'int') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + return request + + def internal_paging(next_link=None): + request = prepare_request(next_link) + + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + raise models.ErrorResponseException(self._deserialize, response) + + return response + + # Deserialize response + header_dict = None + if raw: + header_dict = {} + deserialized = models.IntegrationServiceEnvironmentPaged(internal_paging, self._deserialize.dependencies, header_dict) + + return deserialized + list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Logic/integrationServiceEnvironments'} + + def get( + self, resource_group, integration_service_environment_name, custom_headers=None, raw=False, **operation_config): + """Gets an integration service environment. + + :param resource_group: The resource group. + :type resource_group: str + :param integration_service_environment_name: The integration service + environment name. + :type integration_service_environment_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: IntegrationServiceEnvironment or ClientRawResponse if + raw=true + :rtype: ~azure.mgmt.logic.models.IntegrationServiceEnvironment or + ~msrest.pipeline.ClientRawResponse + :raises: + :class:`ErrorResponseException` + """ + # Construct URL + url = self.get.metadata['url'] + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'integrationServiceEnvironmentName': self._serialize.url("integration_service_environment_name", integration_service_environment_name, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + raise models.ErrorResponseException(self._deserialize, response) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('IntegrationServiceEnvironment', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Logic/integrationServiceEnvironments/{integrationServiceEnvironmentName}'} + + + def _create_or_update_initial( + self, resource_group, integration_service_environment_name, integration_service_environment, custom_headers=None, raw=False, **operation_config): + # Construct URL + url = self.create_or_update.metadata['url'] + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'integrationServiceEnvironmentName': self._serialize.url("integration_service_environment_name", integration_service_environment_name, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(integration_service_environment, 'IntegrationServiceEnvironment') + + # Construct and send request + request = self._client.put(url, query_parameters, header_parameters, body_content) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200, 201]: + raise models.ErrorResponseException(self._deserialize, response) + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('IntegrationServiceEnvironment', response) + if response.status_code == 201: + deserialized = self._deserialize('IntegrationServiceEnvironment', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + def create_or_update( + self, resource_group, integration_service_environment_name, integration_service_environment, custom_headers=None, raw=False, polling=True, **operation_config): + """Creates or updates an integration service environment. + + :param resource_group: The resource group. + :type resource_group: str + :param integration_service_environment_name: The integration service + environment name. + :type integration_service_environment_name: str + :param integration_service_environment: The integration service + environment. + :type integration_service_environment: + ~azure.mgmt.logic.models.IntegrationServiceEnvironment + :param dict custom_headers: headers that will be added to the request + :param bool raw: The poller return type is ClientRawResponse, the + direct response alongside the deserialized response + :param polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :return: An instance of LROPoller that returns + IntegrationServiceEnvironment or + ClientRawResponse if raw==True + :rtype: + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.logic.models.IntegrationServiceEnvironment] + or + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.logic.models.IntegrationServiceEnvironment]] + :raises: + :class:`ErrorResponseException` + """ + raw_result = self._create_or_update_initial( + resource_group=resource_group, + integration_service_environment_name=integration_service_environment_name, + integration_service_environment=integration_service_environment, + custom_headers=custom_headers, + raw=True, + **operation_config + ) + + def get_long_running_output(response): + deserialized = self._deserialize('IntegrationServiceEnvironment', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + lro_delay = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Logic/integrationServiceEnvironments/{integrationServiceEnvironmentName}'} + + + def _update_initial( + self, resource_group, integration_service_environment_name, integration_service_environment, custom_headers=None, raw=False, **operation_config): + # Construct URL + url = self.update.metadata['url'] + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'integrationServiceEnvironmentName': self._serialize.url("integration_service_environment_name", integration_service_environment_name, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(integration_service_environment, 'IntegrationServiceEnvironment') + + # Construct and send request + request = self._client.patch(url, query_parameters, header_parameters, body_content) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + raise models.ErrorResponseException(self._deserialize, response) + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('IntegrationServiceEnvironment', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + def update( + self, resource_group, integration_service_environment_name, integration_service_environment, custom_headers=None, raw=False, polling=True, **operation_config): + """Updates an integration service environment. + + :param resource_group: The resource group. + :type resource_group: str + :param integration_service_environment_name: The integration service + environment name. + :type integration_service_environment_name: str + :param integration_service_environment: The integration service + environment. + :type integration_service_environment: + ~azure.mgmt.logic.models.IntegrationServiceEnvironment + :param dict custom_headers: headers that will be added to the request + :param bool raw: The poller return type is ClientRawResponse, the + direct response alongside the deserialized response + :param polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :return: An instance of LROPoller that returns + IntegrationServiceEnvironment or + ClientRawResponse if raw==True + :rtype: + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.logic.models.IntegrationServiceEnvironment] + or + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.logic.models.IntegrationServiceEnvironment]] + :raises: + :class:`ErrorResponseException` + """ + raw_result = self._update_initial( + resource_group=resource_group, + integration_service_environment_name=integration_service_environment_name, + integration_service_environment=integration_service_environment, + custom_headers=custom_headers, + raw=True, + **operation_config + ) + + def get_long_running_output(response): + deserialized = self._deserialize('IntegrationServiceEnvironment', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + lro_delay = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Logic/integrationServiceEnvironments/{integrationServiceEnvironmentName}'} + + def delete( + self, resource_group, integration_service_environment_name, custom_headers=None, raw=False, **operation_config): + """Deletes an integration service environment. + + :param resource_group: The resource group. + :type resource_group: str + :param integration_service_environment_name: The integration service + environment name. + :type integration_service_environment_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: None or ClientRawResponse if raw=true + :rtype: None or ~msrest.pipeline.ClientRawResponse + :raises: + :class:`ErrorResponseException` + """ + # Construct URL + url = self.delete.metadata['url'] + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'integrationServiceEnvironmentName': self._serialize.url("integration_service_environment_name", integration_service_environment_name, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.delete(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200, 204]: + raise models.ErrorResponseException(self._deserialize, response) + + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Logic/integrationServiceEnvironments/{integrationServiceEnvironmentName}'} + + def restart( + self, resource_group, integration_service_environment_name, custom_headers=None, raw=False, **operation_config): + """Restarts an integration service environment. + + :param resource_group: The resource group. + :type resource_group: str + :param integration_service_environment_name: The integration service + environment name. + :type integration_service_environment_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: None or ClientRawResponse if raw=true + :rtype: None or ~msrest.pipeline.ClientRawResponse + :raises: + :class:`ErrorResponseException` + """ + # Construct URL + url = self.restart.metadata['url'] + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'integrationServiceEnvironmentName': self._serialize.url("integration_service_environment_name", integration_service_environment_name, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.post(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + raise models.ErrorResponseException(self._deserialize, response) + + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + restart.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Logic/integrationServiceEnvironments/{integrationServiceEnvironmentName}/restart'} diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/operations.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_operations.py similarity index 87% rename from sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/operations.py rename to sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_operations.py index 28249a6929d3..e2f0fcd2e61c 100644 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/operations.py +++ b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_operations.py @@ -18,11 +18,13 @@ class Operations(object): """Operations operations. + You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute. + :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version. Constant value: "2018-07-01-preview". + :ivar api_version: The API version. Constant value: "2019-05-01". """ models = models @@ -32,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2018-07-01-preview" + self.api_version = "2019-05-01" self.config = config @@ -51,8 +53,7 @@ def list( :raises: :class:`ErrorResponseException` """ - def internal_paging(next_link=None, raw=False): - + def prepare_request(next_link=None): if not next_link: # Construct URL url = self.list.metadata['url'] @@ -77,6 +78,11 @@ def internal_paging(next_link=None, raw=False): # Construct and send request request = self._client.get(url, query_parameters, header_parameters) + return request + + def internal_paging(next_link=None): + request = prepare_request(next_link) + response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: @@ -85,12 +91,10 @@ def internal_paging(next_link=None, raw=False): return response # Deserialize response - deserialized = models.OperationPaged(internal_paging, self._deserialize.dependencies) - + header_dict = None if raw: header_dict = {} - client_raw_response = models.OperationPaged(internal_paging, self._deserialize.dependencies, header_dict) - return client_raw_response + deserialized = models.OperationPaged(internal_paging, self._deserialize.dependencies, header_dict) return deserialized list.metadata = {'url': '/providers/Microsoft.Logic/operations'} diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/workflow_run_action_repetitions_operations.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_workflow_run_action_repetitions_operations.py similarity index 89% rename from sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/workflow_run_action_repetitions_operations.py rename to sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_workflow_run_action_repetitions_operations.py index 6af8ea488463..f55b937888e6 100644 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/workflow_run_action_repetitions_operations.py +++ b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_workflow_run_action_repetitions_operations.py @@ -11,7 +11,6 @@ import uuid from msrest.pipeline import ClientRawResponse -from msrestazure.azure_exceptions import CloudError from .. import models @@ -19,11 +18,13 @@ class WorkflowRunActionRepetitionsOperations(object): """WorkflowRunActionRepetitionsOperations operations. + You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute. + :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version. Constant value: "2018-07-01-preview". + :ivar api_version: The API version. Constant value: "2019-05-01". """ models = models @@ -33,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2018-07-01-preview" + self.api_version = "2019-05-01" self.config = config @@ -58,10 +59,10 @@ def list( WorkflowRunActionRepetitionDefinition :rtype: ~azure.mgmt.logic.models.WorkflowRunActionRepetitionDefinitionPaged[~azure.mgmt.logic.models.WorkflowRunActionRepetitionDefinition] - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ - def internal_paging(next_link=None, raw=False): - + def prepare_request(next_link=None): if not next_link: # Construct URL url = self.list.metadata['url'] @@ -94,22 +95,23 @@ def internal_paging(next_link=None, raw=False): # Construct and send request request = self._client.get(url, query_parameters, header_parameters) + return request + + def internal_paging(next_link=None): + request = prepare_request(next_link) + response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) return response # Deserialize response - deserialized = models.WorkflowRunActionRepetitionDefinitionPaged(internal_paging, self._deserialize.dependencies) - + header_dict = None if raw: header_dict = {} - client_raw_response = models.WorkflowRunActionRepetitionDefinitionPaged(internal_paging, self._deserialize.dependencies, header_dict) - return client_raw_response + deserialized = models.WorkflowRunActionRepetitionDefinitionPaged(internal_paging, self._deserialize.dependencies, header_dict) return deserialized list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/runs/{runName}/actions/{actionName}/repetitions'} @@ -137,7 +139,8 @@ def get( raw=true :rtype: ~azure.mgmt.logic.models.WorkflowRunActionRepetitionDefinition or ~msrest.pipeline.ClientRawResponse - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ # Construct URL url = self.get.metadata['url'] @@ -170,12 +173,9 @@ def get( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) deserialized = None - if response.status_code == 200: deserialized = self._deserialize('WorkflowRunActionRepetitionDefinition', response) @@ -208,10 +208,10 @@ def list_expression_traces( :return: An iterator like instance of ExpressionRoot :rtype: ~azure.mgmt.logic.models.ExpressionRootPaged[~azure.mgmt.logic.models.ExpressionRoot] - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ - def internal_paging(next_link=None, raw=False): - + def prepare_request(next_link=None): if not next_link: # Construct URL url = self.list_expression_traces.metadata['url'] @@ -245,22 +245,23 @@ def internal_paging(next_link=None, raw=False): # Construct and send request request = self._client.post(url, query_parameters, header_parameters) + return request + + def internal_paging(next_link=None): + request = prepare_request(next_link) + response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) return response # Deserialize response - deserialized = models.ExpressionRootPaged(internal_paging, self._deserialize.dependencies) - + header_dict = None if raw: header_dict = {} - client_raw_response = models.ExpressionRootPaged(internal_paging, self._deserialize.dependencies, header_dict) - return client_raw_response + deserialized = models.ExpressionRootPaged(internal_paging, self._deserialize.dependencies, header_dict) return deserialized list_expression_traces.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/runs/{runName}/actions/{actionName}/repetitions/{repetitionName}/listExpressionTraces'} diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/workflow_run_action_repetitions_request_histories_operations.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_workflow_run_action_repetitions_request_histories_operations.py similarity index 94% rename from sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/workflow_run_action_repetitions_request_histories_operations.py rename to sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_workflow_run_action_repetitions_request_histories_operations.py index d39359102427..e68c1bfcbde3 100644 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/workflow_run_action_repetitions_request_histories_operations.py +++ b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_workflow_run_action_repetitions_request_histories_operations.py @@ -18,11 +18,13 @@ class WorkflowRunActionRepetitionsRequestHistoriesOperations(object): """WorkflowRunActionRepetitionsRequestHistoriesOperations operations. + You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute. + :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version. Constant value: "2018-07-01-preview". + :ivar api_version: The API version. Constant value: "2019-05-01". """ models = models @@ -32,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2018-07-01-preview" + self.api_version = "2019-05-01" self.config = config @@ -61,8 +63,7 @@ def list( :raises: :class:`ErrorResponseException` """ - def internal_paging(next_link=None, raw=False): - + def prepare_request(next_link=None): if not next_link: # Construct URL url = self.list.metadata['url'] @@ -96,6 +97,11 @@ def internal_paging(next_link=None, raw=False): # Construct and send request request = self._client.get(url, query_parameters, header_parameters) + return request + + def internal_paging(next_link=None): + request = prepare_request(next_link) + response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: @@ -104,12 +110,10 @@ def internal_paging(next_link=None, raw=False): return response # Deserialize response - deserialized = models.RequestHistoryPaged(internal_paging, self._deserialize.dependencies) - + header_dict = None if raw: header_dict = {} - client_raw_response = models.RequestHistoryPaged(internal_paging, self._deserialize.dependencies, header_dict) - return client_raw_response + deserialized = models.RequestHistoryPaged(internal_paging, self._deserialize.dependencies, header_dict) return deserialized list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/runs/{runName}/actions/{actionName}/repetitions/{repetitionName}/requestHistories'} @@ -176,7 +180,6 @@ def get( raise models.ErrorResponseException(self._deserialize, response) deserialized = None - if response.status_code == 200: deserialized = self._deserialize('RequestHistory', response) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/workflow_run_action_request_histories_operations.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_workflow_run_action_request_histories_operations.py similarity index 94% rename from sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/workflow_run_action_request_histories_operations.py rename to sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_workflow_run_action_request_histories_operations.py index d6801a082c65..81507c6ffa1b 100644 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/workflow_run_action_request_histories_operations.py +++ b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_workflow_run_action_request_histories_operations.py @@ -18,11 +18,13 @@ class WorkflowRunActionRequestHistoriesOperations(object): """WorkflowRunActionRequestHistoriesOperations operations. + You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute. + :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version. Constant value: "2018-07-01-preview". + :ivar api_version: The API version. Constant value: "2019-05-01". """ models = models @@ -32,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2018-07-01-preview" + self.api_version = "2019-05-01" self.config = config @@ -59,8 +61,7 @@ def list( :raises: :class:`ErrorResponseException` """ - def internal_paging(next_link=None, raw=False): - + def prepare_request(next_link=None): if not next_link: # Construct URL url = self.list.metadata['url'] @@ -93,6 +94,11 @@ def internal_paging(next_link=None, raw=False): # Construct and send request request = self._client.get(url, query_parameters, header_parameters) + return request + + def internal_paging(next_link=None): + request = prepare_request(next_link) + response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: @@ -101,12 +107,10 @@ def internal_paging(next_link=None, raw=False): return response # Deserialize response - deserialized = models.RequestHistoryPaged(internal_paging, self._deserialize.dependencies) - + header_dict = None if raw: header_dict = {} - client_raw_response = models.RequestHistoryPaged(internal_paging, self._deserialize.dependencies, header_dict) - return client_raw_response + deserialized = models.RequestHistoryPaged(internal_paging, self._deserialize.dependencies, header_dict) return deserialized list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/runs/{runName}/actions/{actionName}/requestHistories'} @@ -170,7 +174,6 @@ def get( raise models.ErrorResponseException(self._deserialize, response) deserialized = None - if response.status_code == 200: deserialized = self._deserialize('RequestHistory', response) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/workflow_run_action_scope_repetitions_operations.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_workflow_run_action_scope_repetitions_operations.py similarity index 65% rename from sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/workflow_run_action_scope_repetitions_operations.py rename to sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_workflow_run_action_scope_repetitions_operations.py index 327074bbd910..7da83ee1c309 100644 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/workflow_run_action_scope_repetitions_operations.py +++ b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_workflow_run_action_scope_repetitions_operations.py @@ -11,7 +11,6 @@ import uuid from msrest.pipeline import ClientRawResponse -from msrestazure.azure_exceptions import CloudError from .. import models @@ -19,11 +18,13 @@ class WorkflowRunActionScopeRepetitionsOperations(object): """WorkflowRunActionScopeRepetitionsOperations operations. + You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute. + :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version. Constant value: "2018-07-01-preview". + :ivar api_version: The API version. Constant value: "2019-05-01". """ models = models @@ -33,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2018-07-01-preview" + self.api_version = "2019-05-01" self.config = config @@ -54,55 +55,63 @@ def list( deserialized response :param operation_config: :ref:`Operation configuration overrides`. - :return: WorkflowRunActionRepetitionDefinitionCollection or - ClientRawResponse if raw=true + :return: An iterator like instance of + WorkflowRunActionRepetitionDefinition :rtype: - ~azure.mgmt.logic.models.WorkflowRunActionRepetitionDefinitionCollection - or ~msrest.pipeline.ClientRawResponse - :raises: :class:`CloudError` + ~azure.mgmt.logic.models.WorkflowRunActionRepetitionDefinitionPaged[~azure.mgmt.logic.models.WorkflowRunActionRepetitionDefinition] + :raises: + :class:`ErrorResponseException` """ - # Construct URL - url = self.list.metadata['url'] - path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), - 'workflowName': self._serialize.url("workflow_name", workflow_name, 'str'), - 'runName': self._serialize.url("run_name", run_name, 'str'), - 'actionName': self._serialize.url("action_name", action_name, 'str') - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') - - # Construct headers - header_parameters = {} - header_parameters['Accept'] = 'application/json' - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) - response = self._client.send(request, stream=False, **operation_config) - - if response.status_code not in [200]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp - - deserialized = None - - if response.status_code == 200: - deserialized = self._deserialize('WorkflowRunActionRepetitionDefinitionCollection', response) - + def prepare_request(next_link=None): + if not next_link: + # Construct URL + url = self.list.metadata['url'] + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'workflowName': self._serialize.url("workflow_name", workflow_name, 'str'), + 'runName': self._serialize.url("run_name", run_name, 'str'), + 'actionName': self._serialize.url("action_name", action_name, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + return request + + def internal_paging(next_link=None): + request = prepare_request(next_link) + + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + raise models.ErrorResponseException(self._deserialize, response) + + return response + + # Deserialize response + header_dict = None if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response + header_dict = {} + deserialized = models.WorkflowRunActionRepetitionDefinitionPaged(internal_paging, self._deserialize.dependencies, header_dict) return deserialized list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/runs/{runName}/actions/{actionName}/scopeRepetitions'} @@ -130,7 +139,8 @@ def get( raw=true :rtype: ~azure.mgmt.logic.models.WorkflowRunActionRepetitionDefinition or ~msrest.pipeline.ClientRawResponse - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ # Construct URL url = self.get.metadata['url'] @@ -163,12 +173,9 @@ def get( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) deserialized = None - if response.status_code == 200: deserialized = self._deserialize('WorkflowRunActionRepetitionDefinition', response) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/workflow_run_actions_operations.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_workflow_run_actions_operations.py similarity index 89% rename from sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/workflow_run_actions_operations.py rename to sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_workflow_run_actions_operations.py index 01709a977e74..0ffa77137561 100644 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/workflow_run_actions_operations.py +++ b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_workflow_run_actions_operations.py @@ -11,7 +11,6 @@ import uuid from msrest.pipeline import ClientRawResponse -from msrestazure.azure_exceptions import CloudError from .. import models @@ -19,11 +18,13 @@ class WorkflowRunActionsOperations(object): """WorkflowRunActionsOperations operations. + You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute. + :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version. Constant value: "2018-07-01-preview". + :ivar api_version: The API version. Constant value: "2019-05-01". """ models = models @@ -33,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2018-07-01-preview" + self.api_version = "2019-05-01" self.config = config @@ -60,10 +61,10 @@ def list( :return: An iterator like instance of WorkflowRunAction :rtype: ~azure.mgmt.logic.models.WorkflowRunActionPaged[~azure.mgmt.logic.models.WorkflowRunAction] - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ - def internal_paging(next_link=None, raw=False): - + def prepare_request(next_link=None): if not next_link: # Construct URL url = self.list.metadata['url'] @@ -99,22 +100,23 @@ def internal_paging(next_link=None, raw=False): # Construct and send request request = self._client.get(url, query_parameters, header_parameters) + return request + + def internal_paging(next_link=None): + request = prepare_request(next_link) + response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) return response # Deserialize response - deserialized = models.WorkflowRunActionPaged(internal_paging, self._deserialize.dependencies) - + header_dict = None if raw: header_dict = {} - client_raw_response = models.WorkflowRunActionPaged(internal_paging, self._deserialize.dependencies, header_dict) - return client_raw_response + deserialized = models.WorkflowRunActionPaged(internal_paging, self._deserialize.dependencies, header_dict) return deserialized list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/runs/{runName}/actions'} @@ -139,7 +141,8 @@ def get( :return: WorkflowRunAction or ClientRawResponse if raw=true :rtype: ~azure.mgmt.logic.models.WorkflowRunAction or ~msrest.pipeline.ClientRawResponse - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ # Construct URL url = self.get.metadata['url'] @@ -171,12 +174,9 @@ def get( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) deserialized = None - if response.status_code == 200: deserialized = self._deserialize('WorkflowRunAction', response) @@ -207,10 +207,10 @@ def list_expression_traces( :return: An iterator like instance of ExpressionRoot :rtype: ~azure.mgmt.logic.models.ExpressionRootPaged[~azure.mgmt.logic.models.ExpressionRoot] - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ - def internal_paging(next_link=None, raw=False): - + def prepare_request(next_link=None): if not next_link: # Construct URL url = self.list_expression_traces.metadata['url'] @@ -243,22 +243,23 @@ def internal_paging(next_link=None, raw=False): # Construct and send request request = self._client.post(url, query_parameters, header_parameters) + return request + + def internal_paging(next_link=None): + request = prepare_request(next_link) + response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) return response # Deserialize response - deserialized = models.ExpressionRootPaged(internal_paging, self._deserialize.dependencies) - + header_dict = None if raw: header_dict = {} - client_raw_response = models.ExpressionRootPaged(internal_paging, self._deserialize.dependencies, header_dict) - return client_raw_response + deserialized = models.ExpressionRootPaged(internal_paging, self._deserialize.dependencies, header_dict) return deserialized list_expression_traces.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/runs/{runName}/actions/{actionName}/listExpressionTraces'} diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/workflow_run_operations.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_workflow_run_operations.py similarity index 90% rename from sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/workflow_run_operations.py rename to sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_workflow_run_operations.py index c128f429d4b1..8200c5f7fc84 100644 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/workflow_run_operations.py +++ b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_workflow_run_operations.py @@ -11,7 +11,6 @@ import uuid from msrest.pipeline import ClientRawResponse -from msrestazure.azure_exceptions import CloudError from .. import models @@ -19,11 +18,13 @@ class WorkflowRunOperations(object): """WorkflowRunOperations operations. + You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute. + :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version. Constant value: "2018-07-01-preview". + :ivar api_version: The API version. Constant value: "2019-05-01". """ models = models @@ -33,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2018-07-01-preview" + self.api_version = "2019-05-01" self.config = config @@ -57,7 +58,8 @@ def get( :return: WorkflowRun or ClientRawResponse if raw=true :rtype: ~azure.mgmt.logic.models.WorkflowRun or ~msrest.pipeline.ClientRawResponse - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ # Construct URL url = self.get.metadata['url'] @@ -89,12 +91,9 @@ def get( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) deserialized = None - if response.status_code == 200: deserialized = self._deserialize('WorkflowRun', response) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/workflow_runs_operations.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_workflow_runs_operations.py similarity index 90% rename from sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/workflow_runs_operations.py rename to sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_workflow_runs_operations.py index fe28c04d10df..cc549dd6d16b 100644 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/workflow_runs_operations.py +++ b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_workflow_runs_operations.py @@ -11,7 +11,6 @@ import uuid from msrest.pipeline import ClientRawResponse -from msrestazure.azure_exceptions import CloudError from .. import models @@ -19,11 +18,13 @@ class WorkflowRunsOperations(object): """WorkflowRunsOperations operations. + You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute. + :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version. Constant value: "2018-07-01-preview". + :ivar api_version: The API version. Constant value: "2019-05-01". """ models = models @@ -33,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2018-07-01-preview" + self.api_version = "2019-05-01" self.config = config @@ -58,10 +59,10 @@ def list( :return: An iterator like instance of WorkflowRun :rtype: ~azure.mgmt.logic.models.WorkflowRunPaged[~azure.mgmt.logic.models.WorkflowRun] - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ - def internal_paging(next_link=None, raw=False): - + def prepare_request(next_link=None): if not next_link: # Construct URL url = self.list.metadata['url'] @@ -96,22 +97,23 @@ def internal_paging(next_link=None, raw=False): # Construct and send request request = self._client.get(url, query_parameters, header_parameters) + return request + + def internal_paging(next_link=None): + request = prepare_request(next_link) + response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) return response # Deserialize response - deserialized = models.WorkflowRunPaged(internal_paging, self._deserialize.dependencies) - + header_dict = None if raw: header_dict = {} - client_raw_response = models.WorkflowRunPaged(internal_paging, self._deserialize.dependencies, header_dict) - return client_raw_response + deserialized = models.WorkflowRunPaged(internal_paging, self._deserialize.dependencies, header_dict) return deserialized list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/runs'} @@ -134,7 +136,8 @@ def get( :return: WorkflowRun or ClientRawResponse if raw=true :rtype: ~azure.mgmt.logic.models.WorkflowRun or ~msrest.pipeline.ClientRawResponse - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ # Construct URL url = self.get.metadata['url'] @@ -165,12 +168,9 @@ def get( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) deserialized = None - if response.status_code == 200: deserialized = self._deserialize('WorkflowRun', response) @@ -198,7 +198,8 @@ def cancel( overrides`. :return: None or ClientRawResponse if raw=true :rtype: None or ~msrest.pipeline.ClientRawResponse - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ # Construct URL url = self.cancel.metadata['url'] @@ -228,9 +229,7 @@ def cancel( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) if raw: client_raw_response = ClientRawResponse(None, response) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/workflow_trigger_histories_operations.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_workflow_trigger_histories_operations.py similarity index 90% rename from sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/workflow_trigger_histories_operations.py rename to sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_workflow_trigger_histories_operations.py index cf4a5de23438..444a4f17aa14 100644 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/workflow_trigger_histories_operations.py +++ b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_workflow_trigger_histories_operations.py @@ -11,7 +11,6 @@ import uuid from msrest.pipeline import ClientRawResponse -from msrestazure.azure_exceptions import CloudError from .. import models @@ -19,11 +18,13 @@ class WorkflowTriggerHistoriesOperations(object): """WorkflowTriggerHistoriesOperations operations. + You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute. + :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version. Constant value: "2018-07-01-preview". + :ivar api_version: The API version. Constant value: "2019-05-01". """ models = models @@ -33,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2018-07-01-preview" + self.api_version = "2019-05-01" self.config = config @@ -60,10 +61,10 @@ def list( :return: An iterator like instance of WorkflowTriggerHistory :rtype: ~azure.mgmt.logic.models.WorkflowTriggerHistoryPaged[~azure.mgmt.logic.models.WorkflowTriggerHistory] - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ - def internal_paging(next_link=None, raw=False): - + def prepare_request(next_link=None): if not next_link: # Construct URL url = self.list.metadata['url'] @@ -99,22 +100,23 @@ def internal_paging(next_link=None, raw=False): # Construct and send request request = self._client.get(url, query_parameters, header_parameters) + return request + + def internal_paging(next_link=None): + request = prepare_request(next_link) + response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) return response # Deserialize response - deserialized = models.WorkflowTriggerHistoryPaged(internal_paging, self._deserialize.dependencies) - + header_dict = None if raw: header_dict = {} - client_raw_response = models.WorkflowTriggerHistoryPaged(internal_paging, self._deserialize.dependencies, header_dict) - return client_raw_response + deserialized = models.WorkflowTriggerHistoryPaged(internal_paging, self._deserialize.dependencies, header_dict) return deserialized list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/triggers/{triggerName}/histories'} @@ -140,7 +142,8 @@ def get( :return: WorkflowTriggerHistory or ClientRawResponse if raw=true :rtype: ~azure.mgmt.logic.models.WorkflowTriggerHistory or ~msrest.pipeline.ClientRawResponse - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ # Construct URL url = self.get.metadata['url'] @@ -172,12 +175,9 @@ def get( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) deserialized = None - if response.status_code == 200: deserialized = self._deserialize('WorkflowTriggerHistory', response) @@ -208,7 +208,8 @@ def resubmit( overrides`. :return: None or ClientRawResponse if raw=true :rtype: None or ~msrest.pipeline.ClientRawResponse - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ # Construct URL url = self.resubmit.metadata['url'] @@ -239,9 +240,7 @@ def resubmit( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [202]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) if raw: client_raw_response = ClientRawResponse(None, response) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/workflow_triggers_operations.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_workflow_triggers_operations.py similarity index 90% rename from sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/workflow_triggers_operations.py rename to sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_workflow_triggers_operations.py index af6cc9132dcd..ec098ee181db 100644 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/workflow_triggers_operations.py +++ b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_workflow_triggers_operations.py @@ -11,7 +11,6 @@ import uuid from msrest.pipeline import ClientRawResponse -from msrestazure.azure_exceptions import CloudError from .. import models @@ -19,11 +18,13 @@ class WorkflowTriggersOperations(object): """WorkflowTriggersOperations operations. + You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute. + :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version. Constant value: "2018-07-01-preview". + :ivar api_version: The API version. Constant value: "2019-05-01". """ models = models @@ -33,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2018-07-01-preview" + self.api_version = "2019-05-01" self.config = config @@ -57,10 +58,10 @@ def list( :return: An iterator like instance of WorkflowTrigger :rtype: ~azure.mgmt.logic.models.WorkflowTriggerPaged[~azure.mgmt.logic.models.WorkflowTrigger] - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ - def internal_paging(next_link=None, raw=False): - + def prepare_request(next_link=None): if not next_link: # Construct URL url = self.list.metadata['url'] @@ -95,22 +96,23 @@ def internal_paging(next_link=None, raw=False): # Construct and send request request = self._client.get(url, query_parameters, header_parameters) + return request + + def internal_paging(next_link=None): + request = prepare_request(next_link) + response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) return response # Deserialize response - deserialized = models.WorkflowTriggerPaged(internal_paging, self._deserialize.dependencies) - + header_dict = None if raw: header_dict = {} - client_raw_response = models.WorkflowTriggerPaged(internal_paging, self._deserialize.dependencies, header_dict) - return client_raw_response + deserialized = models.WorkflowTriggerPaged(internal_paging, self._deserialize.dependencies, header_dict) return deserialized list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/triggers'} @@ -133,7 +135,8 @@ def get( :return: WorkflowTrigger or ClientRawResponse if raw=true :rtype: ~azure.mgmt.logic.models.WorkflowTrigger or ~msrest.pipeline.ClientRawResponse - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ # Construct URL url = self.get.metadata['url'] @@ -164,12 +167,9 @@ def get( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) deserialized = None - if response.status_code == 200: deserialized = self._deserialize('WorkflowTrigger', response) @@ -197,7 +197,8 @@ def reset( overrides`. :return: None or ClientRawResponse if raw=true :rtype: None or ~msrest.pipeline.ClientRawResponse - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ # Construct URL url = self.reset.metadata['url'] @@ -227,9 +228,7 @@ def reset( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) if raw: client_raw_response = ClientRawResponse(None, response) @@ -251,10 +250,10 @@ def run( deserialized response :param operation_config: :ref:`Operation configuration overrides`. - :return: object or ClientRawResponse if raw=true - :rtype: object or ~msrest.pipeline.ClientRawResponse + :return: None or ClientRawResponse if raw=true + :rtype: None or ~msrest.pipeline.ClientRawResponse :raises: - :class:`HttpOperationError` + :class:`ErrorResponseException` """ # Construct URL url = self.run.metadata['url'] @@ -283,8 +282,8 @@ def run( request = self._client.post(url, query_parameters, header_parameters) response = self._client.send(request, stream=False, **operation_config) - if response.status_code < 200 or response.status_code >= 300: - raise HttpOperationError(self._deserialize, response, 'object') + if response.status_code not in [200, 202]: + raise models.ErrorResponseException(self._deserialize, response) if raw: client_raw_response = ClientRawResponse(None, response) @@ -309,7 +308,8 @@ def get_schema_json( :return: JsonSchema or ClientRawResponse if raw=true :rtype: ~azure.mgmt.logic.models.JsonSchema or ~msrest.pipeline.ClientRawResponse - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ # Construct URL url = self.get_schema_json.metadata['url'] @@ -340,12 +340,9 @@ def get_schema_json( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) deserialized = None - if response.status_code == 200: deserialized = self._deserialize('JsonSchema', response) @@ -366,8 +363,8 @@ def set_state( :type workflow_name: str :param trigger_name: The workflow trigger name. :type trigger_name: str - :param source: - :type source: ~azure.mgmt.logic.models.WorkflowTrigger + :param source: The source. + :type source: ~azure.mgmt.logic.models.WorkflowTriggerReference :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response @@ -375,7 +372,8 @@ def set_state( overrides`. :return: None or ClientRawResponse if raw=true :rtype: None or ~msrest.pipeline.ClientRawResponse - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ set_state1 = models.SetTriggerStateActionDefinition(source=source) @@ -411,9 +409,7 @@ def set_state( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) if raw: client_raw_response = ClientRawResponse(None, response) @@ -438,7 +434,8 @@ def list_callback_url( :return: WorkflowTriggerCallbackUrl or ClientRawResponse if raw=true :rtype: ~azure.mgmt.logic.models.WorkflowTriggerCallbackUrl or ~msrest.pipeline.ClientRawResponse - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ # Construct URL url = self.list_callback_url.metadata['url'] @@ -469,12 +466,9 @@ def list_callback_url( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) deserialized = None - if response.status_code == 200: deserialized = self._deserialize('WorkflowTriggerCallbackUrl', response) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/workflow_version_triggers_operations.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_workflow_version_triggers_operations.py similarity index 92% rename from sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/workflow_version_triggers_operations.py rename to sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_workflow_version_triggers_operations.py index 0d7c07542b20..fcee1233820a 100644 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/workflow_version_triggers_operations.py +++ b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_workflow_version_triggers_operations.py @@ -11,7 +11,6 @@ import uuid from msrest.pipeline import ClientRawResponse -from msrestazure.azure_exceptions import CloudError from .. import models @@ -19,11 +18,13 @@ class WorkflowVersionTriggersOperations(object): """WorkflowVersionTriggersOperations operations. + You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute. + :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version. Constant value: "2018-07-01-preview". + :ivar api_version: The API version. Constant value: "2019-05-01". """ models = models @@ -33,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2018-07-01-preview" + self.api_version = "2019-05-01" self.config = config @@ -62,7 +63,8 @@ def list_callback_url( :return: WorkflowTriggerCallbackUrl or ClientRawResponse if raw=true :rtype: ~azure.mgmt.logic.models.WorkflowTriggerCallbackUrl or ~msrest.pipeline.ClientRawResponse - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ parameters = None if not_after is not None or key_type is not None: @@ -105,12 +107,9 @@ def list_callback_url( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) deserialized = None - if response.status_code == 200: deserialized = self._deserialize('WorkflowTriggerCallbackUrl', response) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/workflow_versions_operations.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_workflow_versions_operations.py similarity index 89% rename from sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/workflow_versions_operations.py rename to sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_workflow_versions_operations.py index b2559032df76..4d981eab623d 100644 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/workflow_versions_operations.py +++ b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_workflow_versions_operations.py @@ -11,7 +11,6 @@ import uuid from msrest.pipeline import ClientRawResponse -from msrestazure.azure_exceptions import CloudError from .. import models @@ -19,11 +18,13 @@ class WorkflowVersionsOperations(object): """WorkflowVersionsOperations operations. + You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute. + :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version. Constant value: "2018-07-01-preview". + :ivar api_version: The API version. Constant value: "2019-05-01". """ models = models @@ -33,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2018-07-01-preview" + self.api_version = "2019-05-01" self.config = config @@ -55,10 +56,10 @@ def list( :return: An iterator like instance of WorkflowVersion :rtype: ~azure.mgmt.logic.models.WorkflowVersionPaged[~azure.mgmt.logic.models.WorkflowVersion] - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ - def internal_paging(next_link=None, raw=False): - + def prepare_request(next_link=None): if not next_link: # Construct URL url = self.list.metadata['url'] @@ -91,22 +92,23 @@ def internal_paging(next_link=None, raw=False): # Construct and send request request = self._client.get(url, query_parameters, header_parameters) + return request + + def internal_paging(next_link=None): + request = prepare_request(next_link) + response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) return response # Deserialize response - deserialized = models.WorkflowVersionPaged(internal_paging, self._deserialize.dependencies) - + header_dict = None if raw: header_dict = {} - client_raw_response = models.WorkflowVersionPaged(internal_paging, self._deserialize.dependencies, header_dict) - return client_raw_response + deserialized = models.WorkflowVersionPaged(internal_paging, self._deserialize.dependencies, header_dict) return deserialized list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/versions'} @@ -129,7 +131,8 @@ def get( :return: WorkflowVersion or ClientRawResponse if raw=true :rtype: ~azure.mgmt.logic.models.WorkflowVersion or ~msrest.pipeline.ClientRawResponse - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ # Construct URL url = self.get.metadata['url'] @@ -160,12 +163,9 @@ def get( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) deserialized = None - if response.status_code == 200: deserialized = self._deserialize('WorkflowVersion', response) diff --git a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/workflows_operations.py b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_workflows_operations.py similarity index 88% rename from sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/workflows_operations.py rename to sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_workflows_operations.py index 76b9133b8263..152ab44bd2ef 100644 --- a/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/workflows_operations.py +++ b/sdk/logic/azure-mgmt-logic/azure/mgmt/logic/operations/_workflows_operations.py @@ -11,7 +11,8 @@ import uuid from msrest.pipeline import ClientRawResponse -from msrestazure.azure_exceptions import CloudError +from msrest.polling import LROPoller, NoPolling +from msrestazure.polling.arm_polling import ARMPolling from .. import models @@ -19,11 +20,13 @@ class WorkflowsOperations(object): """WorkflowsOperations operations. + You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute. + :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version. Constant value: "2018-07-01-preview". + :ivar api_version: The API version. Constant value: "2019-05-01". """ models = models @@ -33,7 +36,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2018-07-01-preview" + self.api_version = "2019-05-01" self.config = config @@ -54,10 +57,10 @@ def list_by_subscription( :return: An iterator like instance of Workflow :rtype: ~azure.mgmt.logic.models.WorkflowPaged[~azure.mgmt.logic.models.Workflow] - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ - def internal_paging(next_link=None, raw=False): - + def prepare_request(next_link=None): if not next_link: # Construct URL url = self.list_by_subscription.metadata['url'] @@ -90,22 +93,23 @@ def internal_paging(next_link=None, raw=False): # Construct and send request request = self._client.get(url, query_parameters, header_parameters) + return request + + def internal_paging(next_link=None): + request = prepare_request(next_link) + response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) return response # Deserialize response - deserialized = models.WorkflowPaged(internal_paging, self._deserialize.dependencies) - + header_dict = None if raw: header_dict = {} - client_raw_response = models.WorkflowPaged(internal_paging, self._deserialize.dependencies, header_dict) - return client_raw_response + deserialized = models.WorkflowPaged(internal_paging, self._deserialize.dependencies, header_dict) return deserialized list_by_subscription.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Logic/workflows'} @@ -129,10 +133,10 @@ def list_by_resource_group( :return: An iterator like instance of Workflow :rtype: ~azure.mgmt.logic.models.WorkflowPaged[~azure.mgmt.logic.models.Workflow] - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ - def internal_paging(next_link=None, raw=False): - + def prepare_request(next_link=None): if not next_link: # Construct URL url = self.list_by_resource_group.metadata['url'] @@ -166,22 +170,23 @@ def internal_paging(next_link=None, raw=False): # Construct and send request request = self._client.get(url, query_parameters, header_parameters) + return request + + def internal_paging(next_link=None): + request = prepare_request(next_link) + response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) return response # Deserialize response - deserialized = models.WorkflowPaged(internal_paging, self._deserialize.dependencies) - + header_dict = None if raw: header_dict = {} - client_raw_response = models.WorkflowPaged(internal_paging, self._deserialize.dependencies, header_dict) - return client_raw_response + deserialized = models.WorkflowPaged(internal_paging, self._deserialize.dependencies, header_dict) return deserialized list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows'} @@ -202,7 +207,8 @@ def get( :return: Workflow or ClientRawResponse if raw=true :rtype: ~azure.mgmt.logic.models.Workflow or ~msrest.pipeline.ClientRawResponse - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ # Construct URL url = self.get.metadata['url'] @@ -232,12 +238,9 @@ def get( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) deserialized = None - if response.status_code == 200: deserialized = self._deserialize('Workflow', response) @@ -266,7 +269,8 @@ def create_or_update( :return: Workflow or ClientRawResponse if raw=true :rtype: ~azure.mgmt.logic.models.Workflow or ~msrest.pipeline.ClientRawResponse - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ # Construct URL url = self.create_or_update.metadata['url'] @@ -300,12 +304,9 @@ def create_or_update( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200, 201]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) deserialized = None - if response.status_code == 200: deserialized = self._deserialize('Workflow', response) if response.status_code == 201: @@ -319,15 +320,13 @@ def create_or_update( create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}'} def update( - self, resource_group_name, workflow_name, workflow, custom_headers=None, raw=False, **operation_config): + self, resource_group_name, workflow_name, custom_headers=None, raw=False, **operation_config): """Updates a workflow. :param resource_group_name: The resource group name. :type resource_group_name: str :param workflow_name: The workflow name. :type workflow_name: str - :param workflow: The workflow. - :type workflow: ~azure.mgmt.logic.models.Workflow :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response @@ -336,7 +335,8 @@ def update( :return: Workflow or ClientRawResponse if raw=true :rtype: ~azure.mgmt.logic.models.Workflow or ~msrest.pipeline.ClientRawResponse - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ # Construct URL url = self.update.metadata['url'] @@ -354,7 +354,6 @@ def update( # Construct headers header_parameters = {} header_parameters['Accept'] = 'application/json' - header_parameters['Content-Type'] = 'application/json; charset=utf-8' if self.config.generate_client_request_id: header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) if custom_headers: @@ -362,20 +361,14 @@ def update( if self.config.accept_language is not None: header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - # Construct body - body_content = self._serialize.body(workflow, 'Workflow') - # Construct and send request - request = self._client.patch(url, query_parameters, header_parameters, body_content) + request = self._client.patch(url, query_parameters, header_parameters) response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) deserialized = None - if response.status_code == 200: deserialized = self._deserialize('Workflow', response) @@ -401,7 +394,8 @@ def delete( overrides`. :return: None or ClientRawResponse if raw=true :rtype: None or ~msrest.pipeline.ClientRawResponse - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ # Construct URL url = self.delete.metadata['url'] @@ -430,9 +424,7 @@ def delete( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200, 204]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) if raw: client_raw_response = ClientRawResponse(None, response) @@ -454,7 +446,8 @@ def disable( overrides`. :return: None or ClientRawResponse if raw=true :rtype: None or ~msrest.pipeline.ClientRawResponse - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ # Construct URL url = self.disable.metadata['url'] @@ -483,9 +476,7 @@ def disable( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) if raw: client_raw_response = ClientRawResponse(None, response) @@ -507,7 +498,8 @@ def enable( overrides`. :return: None or ClientRawResponse if raw=true :rtype: None or ~msrest.pipeline.ClientRawResponse - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ # Construct URL url = self.enable.metadata['url'] @@ -536,9 +528,7 @@ def enable( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) if raw: client_raw_response = ClientRawResponse(None, response) @@ -562,7 +552,8 @@ def generate_upgraded_definition( overrides`. :return: object or ClientRawResponse if raw=true :rtype: object or ~msrest.pipeline.ClientRawResponse - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ parameters = models.GenerateUpgradedDefinitionParameters(target_schema_version=target_schema_version) @@ -598,12 +589,9 @@ def generate_upgraded_definition( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) deserialized = None - if response.status_code == 200: deserialized = self._deserialize('object', response) @@ -635,7 +623,8 @@ def list_callback_url( :return: WorkflowTriggerCallbackUrl or ClientRawResponse if raw=true :rtype: ~azure.mgmt.logic.models.WorkflowTriggerCallbackUrl or ~msrest.pipeline.ClientRawResponse - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ list_callback_url1 = models.GetCallbackUrlParameters(not_after=not_after, key_type=key_type) @@ -671,12 +660,9 @@ def list_callback_url( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) deserialized = None - if response.status_code == 200: deserialized = self._deserialize('WorkflowTriggerCallbackUrl', response) @@ -702,7 +688,8 @@ def list_swagger( overrides`. :return: object or ClientRawResponse if raw=true :rtype: object or ~msrest.pipeline.ClientRawResponse - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ # Construct URL url = self.list_swagger.metadata['url'] @@ -732,12 +719,9 @@ def list_swagger( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) deserialized = None - if response.status_code == 200: deserialized = self._deserialize('object', response) @@ -748,25 +732,11 @@ def list_swagger( return deserialized list_swagger.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/listSwagger'} - def move( - self, resource_group_name, workflow_name, move, custom_headers=None, raw=False, **operation_config): - """Moves an existing workflow. - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param workflow_name: The workflow name. - :type workflow_name: str - :param move: The workflow to move. - :type move: ~azure.mgmt.logic.models.Workflow - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :param operation_config: :ref:`Operation configuration - overrides`. - :return: None or ClientRawResponse if raw=true - :rtype: None or ~msrest.pipeline.ClientRawResponse - :raises: :class:`CloudError` - """ + def _move_initial( + self, resource_group_name, workflow_name, id=None, custom_headers=None, raw=False, **operation_config): + move1 = models.WorkflowReference(id=id) + # Construct URL url = self.move.metadata['url'] path_format_arguments = { @@ -791,20 +761,62 @@ def move( header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') # Construct body - body_content = self._serialize.body(move, 'Workflow') + body_content = self._serialize.body(move1, 'WorkflowReference') # Construct and send request request = self._client.post(url, query_parameters, header_parameters, body_content) response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200, 202]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) if raw: client_raw_response = ClientRawResponse(None, response) return client_raw_response + + def move( + self, resource_group_name, workflow_name, id=None, custom_headers=None, raw=False, polling=True, **operation_config): + """Moves an existing workflow. + + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param workflow_name: The workflow name. + :type workflow_name: str + :param id: The resource id. + :type id: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: The poller return type is ClientRawResponse, the + direct response alongside the deserialized response + :param polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :return: An instance of LROPoller that returns None or + ClientRawResponse if raw==True + :rtype: ~msrestazure.azure_operation.AzureOperationPoller[None] or + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[None]] + :raises: + :class:`ErrorResponseException` + """ + raw_result = self._move_initial( + resource_group_name=resource_group_name, + workflow_name=workflow_name, + id=id, + custom_headers=custom_headers, + raw=True, + **operation_config + ) + + def get_long_running_output(response): + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + lro_delay = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) move.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/move'} def regenerate_access_key( @@ -825,7 +837,8 @@ def regenerate_access_key( overrides`. :return: None or ClientRawResponse if raw=true :rtype: None or ~msrest.pipeline.ClientRawResponse - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ key_type1 = models.RegenerateActionParameter(key_type=key_type) @@ -860,9 +873,7 @@ def regenerate_access_key( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) if raw: client_raw_response = ClientRawResponse(None, response) @@ -886,7 +897,8 @@ def validate_by_resource_group( overrides`. :return: None or ClientRawResponse if raw=true :rtype: None or ~msrest.pipeline.ClientRawResponse - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ # Construct URL url = self.validate_by_resource_group.metadata['url'] @@ -919,9 +931,7 @@ def validate_by_resource_group( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) if raw: client_raw_response = ClientRawResponse(None, response) @@ -929,7 +939,7 @@ def validate_by_resource_group( validate_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/validate'} def validate_by_location( - self, resource_group_name, location, workflow_name, workflow, custom_headers=None, raw=False, **operation_config): + self, resource_group_name, location, workflow_name, validate, custom_headers=None, raw=False, **operation_config): """Validates the workflow definition. :param resource_group_name: The resource group name. @@ -938,8 +948,8 @@ def validate_by_location( :type location: str :param workflow_name: The workflow name. :type workflow_name: str - :param workflow: The workflow definition. - :type workflow: ~azure.mgmt.logic.models.Workflow + :param validate: The workflow. + :type validate: ~azure.mgmt.logic.models.Workflow :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response @@ -947,7 +957,8 @@ def validate_by_location( overrides`. :return: None or ClientRawResponse if raw=true :rtype: None or ~msrest.pipeline.ClientRawResponse - :raises: :class:`CloudError` + :raises: + :class:`ErrorResponseException` """ # Construct URL url = self.validate_by_location.metadata['url'] @@ -974,16 +985,14 @@ def validate_by_location( header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') # Construct body - body_content = self._serialize.body(workflow, 'Workflow') + body_content = self._serialize.body(validate, 'Workflow') # Construct and send request request = self._client.post(url, query_parameters, header_parameters, body_content) response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp + raise models.ErrorResponseException(self._deserialize, response) if raw: client_raw_response = ClientRawResponse(None, response)