def begin_create_or_update(resource_group_name, service_endpoint_policy_name, service_endpoint_policy_definition_name, service_endpoint_policy_definitions, custom_headers:nil)
      response = begin_create_or_update_async(resource_group_name, service_endpoint_policy_name, service_endpoint_policy_definition_name, service_endpoint_policy_definitions, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def begin_create_or_update(resource_group_name, service_endpoint_policy_name, service_endpoint_policy_definition_name, service_endpoint_policy_definitions, custom_headers:nil)
      response = begin_create_or_update_async(resource_group_name, service_endpoint_policy_name, service_endpoint_policy_definition_name, service_endpoint_policy_definitions, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
Creates or updates a service endpoint policy definition in the specified
 service endpoint policy.

 @param resource_group_name [String] The name of the resource group.
 @param service_endpoint_policy_name [String] The name of the service endpoint
 policy.
 @param service_endpoint_policy_definition_name [String] The name of the
 service endpoint policy definition name.
 @param service_endpoint_policy_definitions [ServiceEndpointPolicyDefinition]
 Parameters supplied to the create or update service endpoint policy
 operation.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [ServiceEndpointPolicyDefinition] operation results.