Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -555,15 +555,12 @@ class ServicesProperties(Model):
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 provisioning_state: The provisioning state. Possible values include:
'Deleting', 'Succeeded', 'Creating', 'Accepted', 'Verifying', 'Updating',
'Failed', 'Canceled', 'Deprovisioned'
:vartype provisioning_state: str or
~azure.mgmt.healthcareapis.models.ProvisioningState
:param access_policies: Required. The access policies of the service
instance.
:param access_policies: The access policies of the service instance.
:type access_policies:
list[~azure.mgmt.healthcareapis.models.ServiceAccessPolicyEntry]
:param cosmos_db_configuration: The settings for the Cosmos DB database
Expand All @@ -586,7 +583,6 @@ class ServicesProperties(Model):

_validation = {
'provisioning_state': {'readonly': True},
'access_policies': {'required': True},
}

_attribute_map = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -555,15 +555,12 @@ class ServicesProperties(Model):
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 provisioning_state: The provisioning state. Possible values include:
'Deleting', 'Succeeded', 'Creating', 'Accepted', 'Verifying', 'Updating',
'Failed', 'Canceled', 'Deprovisioned'
:vartype provisioning_state: str or
~azure.mgmt.healthcareapis.models.ProvisioningState
:param access_policies: Required. The access policies of the service
instance.
:param access_policies: The access policies of the service instance.
:type access_policies:
list[~azure.mgmt.healthcareapis.models.ServiceAccessPolicyEntry]
:param cosmos_db_configuration: The settings for the Cosmos DB database
Expand All @@ -586,7 +583,6 @@ class ServicesProperties(Model):

_validation = {
'provisioning_state': {'readonly': True},
'access_policies': {'required': True},
}

_attribute_map = {
Expand All @@ -598,7 +594,7 @@ class ServicesProperties(Model):
'export_configuration': {'key': 'exportConfiguration', 'type': 'ServiceExportConfigurationInfo'},
}

def __init__(self, *, access_policies, cosmos_db_configuration=None, authentication_configuration=None, cors_configuration=None, export_configuration=None, **kwargs) -> None:
def __init__(self, *, access_policies=None, cosmos_db_configuration=None, authentication_configuration=None, cors_configuration=None, export_configuration=None, **kwargs) -> None:
super(ServicesProperties, self).__init__(**kwargs)
self.provisioning_state = None
self.access_policies = access_policies
Expand Down
1 change: 0 additions & 1 deletion sdk/healthcareapis/azure-mgmt-healthcareapis/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
except ImportError:
pass

# Version extraction inspired from 'requests'
# Version extraction inspired from 'requests'
with open(os.path.join(package_folder_path, 'version.py')
if os.path.exists(os.path.join(package_folder_path, 'version.py'))
Expand Down